How to implement Axelor for Production

Can you paste the 3 or 4 lines related to db configuration?

this is the db config

db.default.dialect = org.hibernate.dialect.PostgreSQLDialect
db.default.driver = org.postgresql.Driver
db.default.ddl = update
db.default.url = jdbc:postgresql://localhost:5432/axelor-business-suite
db.default.user = serverdb
db.default.password = server

If psql -h localhost -d erp -U username -W then url should end with erp (jdbc:postgresql://localhost:5432/erp) and user should be username

yeah @beuss, it worked. thanks soo much.
any idea on how to get this threading issue solved?

Type Exception Report

Message Work already begun on this thread. Looks like you have called UnitOfWork.begin() twice without a balancing call to end() in between.

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

When does this occur?

when i run it in two concurrent instance.

Never hit that. You mean you’re deploying it twice on the same server?

ok, thanks. it wasn’t loading fully, but i loads all good.
any material to explain the modules, models, objects, permissions etc… and how i can fully configure them all?

User guide is planned to be delivered along with v5
You’ll find technical documentation here http://docs.axelor.com/adk/latest/welcome/index.html
Remainder is on the forum :slight_smile:

ok, thanks. you have been of great help to me.

Hello @myankey, I was planed to do also the installation on a tomcat server. Now I need to make a war file. But i get the same problem u had.

Steps:

Error:
FAILURE: Build failed with an exception.

  • Where:
    Script ‘/root/axelor/abs-webapp/gradle/adk.gradle’ line: 15
  • What went wrong:
    A problem occurred evaluating script.
    AXELOR_HOME is not set properly
  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    BUILD FAILED

Do you have an idea?
I also did:
export AXELOR_HOME=/root/axelor/abs-webapp
But it was still not working.

Hi
If using 4.1, AXELOR_HOME should be set to ADK path (see http://docs.axelor.com/adk/4.0/getting_started/install/windows.html).