now I use the WIP branch…so I execute the next statement…
git checkout -b wip remotes/origin/wip
but in the previous install with master branch we needed to run
./gradlew installDist
installDist is not present in the WIP branch…
so I tried
./gradlew
Is that correct ? Resut was green, but I cannot find the directory I need to export to set AXELOR_HOME like in the previous version…
export AXELOR_HOME=/path/to/axelor-development-kit/build/install/axelor-development-kit
$ export PATH=$AXELOR_HOME/bin:$PATH
Do you have any idea ?
And for next step I need to compile ABS
Hi,
no need to clone adk, it’s fetched from dependencies in abs-webapp (moreover it seems that development is done in a closed fashion and regularly pushed to github so it would most probably fail if you used the git version).
git clone [abs-webapp]
cd abs-webapp
git checkout wip
[edit submodule to use https]
git submodule init
git submodule update
[edit application.properties]
./gradlew war
What went wrong:
A problem occurred evaluating project ‘:modules:axelor-account’.
Plugin with id ‘axelor-module’ not found.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
hi @censon yes it’s running…for my config on CentOS…but it’s difficult to help you, as I don’t know which system you use, which things you did to install, where you are now, what is blocking. But I think if you were able to generate the .war, then, you are really not far away !
Check your connection with postgres, check that the postgres user is able to connect to the database, check the pg_hba.conf file …sometimes it could be a little mismatch…in the password, url…and check the application.properties file…
check the .war is in your tomcat directory… for me /opt/tomcat/webapps…
check the postgresql.conf file for parameters listen_addresses and port…
you can use that php to check the connection with your postgres
sudo yum install -y php;
sudo yum install php-pgsql -y;
then create a test.php
<?php
// Connecting, selecting database
$dbconn = pg_connect(“host=here.your.host.ip dbname=yourDB user=yourUser password=yourPassword”)
or die('Could not connect: ’ . pg_last_error());
// Closing connection
pg_close($dbconn);
?>
then execute with php test.php
if it’s not running, then, your user has maybe a wrong password in postgres
Otherwise you need to provide some more details to get more precise tips…
@k26 thanks for that. I have the war generated and suspect that is must be the postgres connection. Will work on it over the weekend. Your advice is appreciated.
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: org.postgresql.jdbc3.Jdbc3Connection.isValid(I)Z
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:512)
at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:105)
at com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:71)
at org.hibernate.hikaricp.internal.HikariCPConnectionProvider.configure(HikariCPConnectionProvider.java:59)
… 37 common frames omitted
Caused by: java.lang.AbstractMethodError: org.postgresql.jdbc3.Jdbc3Connection.isValid(I)Z
at com.zaxxer.hikari.pool.PoolBase.checkDriverSupport(PoolBase.java:400)
at com.zaxxer.hikari.pool.PoolBase.setupConnection(PoolBase.java:375)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:346)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:506)
… 40 common frames omitted
2018-02-09 13:41:23.189 ERROR 10624 — [ost-startStop-1] o.apache.catalina.core.StandardContext : One or more Filters failed to start. Full details will be found in the appropriate container log file
2018-02-09 13:41:23.189 ERROR 10624 — [ost-startStop-1] o.apache.catalina.core.StandardContext : Context [/axelor-erp] startup failed due to previous errors