Version 5.1 is officially released

Hello everyone,

The new 5.1 version is officially released, it is available on Github : https://github.com/axelor/axelor-business-suite

You will find details of the new features and improvements on the changelog : https://github.com/axelor/axelor-business-suite/blob/master/CHANGELOG.md

1 J'aime

Hi, I just reset my eclipse workspace with 5.1 and I have a lot of error, server can’t start, is that normal?

Did you launch gradlew generateCode ?

I tried to run generate code but I still have errors. I will try gradlew classes copyWebapp cleanEclipse eclipse

It’s finally working. I had to delete my working tree without deleting my disk local repository datas. Then, I ran gradlew classes copyWebapp cleanEclipse eclipse and then I re-imported the project in eclipse

Hi Admin,
hi admin, i also got the same problem.
I have succeeded in building a war file by following all the instructions on github and also moving the war file to tomcat (deployment), but the application cannot be started.

any advice?

Hi,

Can u please provide your catalina.out file with the generated error ?
Did you update (or specified) the application.properties file with your custom properties (see here https://docs.axelor.com/adk/5.0/tutorial/step6.html) before compiling the war ?

Hi femtonext,

i have updated the application.properties with my credentials. i followed this step https://docs.axelor.com/abs/5.0/install/source/windows.html

To make sure i have been follow all step, i rebuild the war but the application was not appear

this is the logs:

08-Jan-2019 17:53:19.773 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.37
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Dec 12 2018 12:07:02 UTC
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.37.0
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 7
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.1
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jre1.8.0_202
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_202-ea-b03
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 8.5
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 8.5
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.5
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 8.5
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 8.5\temp
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\logging.properties
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Daxelor.config=C:\Users\BIP\axelor-source\application.properties
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: abort
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.19] using APR version [1.6.5].
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
08-Jan-2019 17:53:19.992 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
08-Jan-2019 17:53:20.085 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1a 20 Nov 2018]
08-Jan-2019 17:53:22.492 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
08-Jan-2019 17:53:23.289 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
08-Jan-2019 17:53:23.539 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“ajp-nio-8009”]
08-Jan-2019 17:53:23.539 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
08-Jan-2019 17:53:23.554 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 7831 ms
08-Jan-2019 17:53:23.742 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
08-Jan-2019 17:53:23.742 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.37
08-Jan-2019 17:53:23.898 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\ROOT.war]
08-Jan-2019 17:53:25.773 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\ROOT.war] has finished in [1,859] ms
08-Jan-2019 17:53:25.773 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\docs]
08-Jan-2019 17:53:25.851 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\docs] has finished in [78] ms
08-Jan-2019 17:53:25.851 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\host-manager]
08-Jan-2019 17:53:26.085 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\host-manager] has finished in [234] ms
08-Jan-2019 17:53:26.085 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\manager]
08-Jan-2019 17:53:26.226 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\manager] has finished in [141] ms
08-Jan-2019 17:53:26.226 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
08-Jan-2019 17:53:26.273 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“ajp-nio-8009”]
08-Jan-2019 17:53:26.273 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 2722 ms

i have got same error when i install in ubuntu server 16.04.

Please advice to solve this error.

thanks

Hi,

It seems that Tomcat does not see your application. Did you put the war inside the [webapps] dir of tomcat (I’m thinking so for shure) and which name did you give to the Axelor war ?

Thks

Hi femtonext,
I put in the “webapps” directory on tomcat with the name “ROOT.war” like the guidlines.

The name of the war has to be axelor-erp-5.1.0.war, or you have to change application.properties file to put another name

My app uses the ROOT.war (to have / context) so normally the name of the war is not a problem.

To be shure:

  • stop tomcat
  • remove all folders located in the webapp dir (keep them if you want but outside of [webapps])
  • put the root.war (result from Axelor compile
  • start tomcat

Regards

Hi @Raphaelb,
Thanks for your feedback, but In the guidlines mentioned “as ROOT.war”

.

Hi @femtonext,
Why all folder must be removed?

Hi @femtonext,
i’ve remove all folder from webapps directory in tomcat, but i still get the same error

This is the catalina out:
09-Jan-2019 12:58:08.693 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler [“http-nio-8080”]
09-Jan-2019 12:58:08.741 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler [“ajp-nio-8009”]
09-Jan-2019 12:58:08.772 INFO [Thread-6] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
09-Jan-2019 12:58:08.773 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler [“http-nio-8080”]
09-Jan-2019 12:58:08.773 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler [“ajp-nio-8009”]
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.37
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Dec 12 2018 12:07:02 UTC
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.37.0
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 7
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.1
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jre1.8.0_202
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_202-ea-b03
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 8.5
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 8.5
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.5
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 8.5
09-Jan-2019 12:58:12.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 8.5\temp
09-Jan-2019 12:58:12.215 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
09-Jan-2019 12:58:12.215 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\logging.properties
09-Jan-2019 12:58:12.215 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Daxelor.config=C:\Users\BIP\axelor-source\application.properties
09-Jan-2019 12:58:12.215 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
09-Jan-2019 12:58:12.215 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: abort
09-Jan-2019 12:58:12.215 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
09-Jan-2019 12:58:12.215 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m
09-Jan-2019 12:58:12.215 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.19] using APR version [1.6.5].
09-Jan-2019 12:58:12.215 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
09-Jan-2019 12:58:12.215 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
09-Jan-2019 12:58:12.215 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1a 20 Nov 2018]
09-Jan-2019 12:58:12.778 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
09-Jan-2019 12:58:13.149 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
09-Jan-2019 12:58:13.164 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“ajp-nio-8009”]
09-Jan-2019 12:58:13.164 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
09-Jan-2019 12:58:13.164 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2055 ms
09-Jan-2019 12:58:13.196 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
09-Jan-2019 12:58:13.196 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.37
09-Jan-2019 12:58:13.356 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\ROOT.war]
09-Jan-2019 12:58:42.961 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
09-Jan-2019 13:00:09.968 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
09-Jan-2019 13:00:09.968 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
09-Jan-2019 13:00:10.009 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
09-Jan-2019 13:00:10.035 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\ROOT.war] has finished in [116,678] ms
09-Jan-2019 13:00:10.037 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
09-Jan-2019 13:00:10.049 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“ajp-nio-8009”]
09-Jan-2019 13:00:10.051 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 116877 ms

I use this installation guide and it works well:
https://docs.axelor.com/abs/5.0/install/war/linux.html

For windows: https://docs.axelor.com/abs/5.0/install/war/windows.html

Maybe the one that you used was not update for 5.1 and it’s obsolete

The address needs to be localhost:8080/NAME_OF_APP_FOLDER_IN_WEBAPPS/

Hi @Raphaelb,

I uses root.war and to be root folder. I have tried access using address http://localhost:8080/root, its automatically redirect to http://localhost:8080/

Oh, strange, can you share your conf of application.properties?