Cant install in my computer for the last 5 days

Hi Guys,

I ahve been trying to install the axelor in my computer for the past 5 days and seems to be an issue. I have tried in windows using all-in-one but failed since am using 32-bit, tried the resources too in my window 10 and later tried to install war but again am failing in all this as explained in download links.

I opted to install a vps in Vultr and tried all these methods plus the docker method and I dont know what am doing wrong since am following every thing in docs and step by step as explained.

for the vps I tried in ubuntu 16.04 x64 , 18.04 and also tried in debian 8 and 9.
I also tried in Fedora and centos 6 and 7 and all thes failed.

Kindly any one help me to install in Ubuntu 16.04 or 18.04 VPS . What are the memory sizes required for three users,
which method is most preffered to install and is version 5.1.4 easy to install or are there any bug… for example I tried to build the gradle in vpses but I had to do it like twice for it to work… Kindly any help will be highly appreciated…

Sorry about the long message hoping I have explained and answered all question but if clarrification is required kind ask.

thank you.

just make it simple:

  1. download the last version of tomcat and uncompress it inside a folder
  2. clone the business-suite from the axelor github (follow the instruction using git cmd)
  3. make a “gradlew --no-daemon -x test build”
  4. copy the generate war file (abs/build/libs) inside the tomcat/webapps folder
  5. start tomcat (tomcat/bin/startup)

Do not forget to set your self application.properties to setup your app.

Thank you I will try this method…

Hi I tried to install via this method https://docs.axelor.com/abs/5.0/install/source/windows.html
and seems to work but I think tomcat is not connect to postgres …when I brows to localhost:8080 am getting this on the screen…
**

Server is up and running.

**
printed on the screen …how to set path for tomcat to postgres

thank you

did you correctly set the application.properties file ?

You can edit it and change db.default.x properties inside the WEB-INF/classes or just link an external file using the -Daxelor.config java args.

Just to be shure; did you put the war inside the webapps folder ? If yes the url is http://localhost:8080/war-file-name (without the .war). eg: if your have a folder named “axelor-abs-5.1.4” the url is http://localhost:8080/axelor-abs-5.1.4/

thank you,

Yes I edited the application.properties according to the instructions,
I also copied the war file from build> lib and named it ROOT.war and am trying to access via localhost:8080/root/

my concern is the path used by the tomcat to access JDK I accepted the default as selected during installation… could this be the issue?

If your folder is named “ROOT” the path is http://localhost;8080/

Check that the tomcat/webapps/ROOT/WEB-INF/classes/application.properties has the correct values and have a look inside the tomcat/logs files to check if an error occured during startup.

as I was buliding using I noted alot of results line like

Missing header in: modules\abs\axelor-tool\src\test\java\com\axelor\apps\tool\TestDateTool.java
Missing header in: modules\abs\axelor-tool\src\test\java\com\axelor\apps\tool\db\Group.java
Missing header in: modules\abs\axelor-tool\src\test\java\com\axelor\apps\tool\TestStringTool.java
:modules:axelor-tool:license
:modules:axelor-tool:check
:modules:axelor-tool:build

BUILD SUCCESSFUL in 32m 13s
174 actionable tasks: 165 executed, 9 up-to-date

missing header are so many … is this a matter of concern…?

The log you sent is about compilation not about Tomcat and this is only warning not error. If some error occured with the compilation the WAR file is not generated.

If the WAR is correctly created you have to check now why the app is not started correctly by tomcat. TO make it possible just have a look of /tomcaT/log/localhost… and catalina… logs file.

This is from catalina log… locahost stopped and I noticed other fails

3-May-2019 19:41:02.054 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]
23-May-2019 19:41:04.596 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 [2,542] ms
23-May-2019 19:41:04.596 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\examples]
23-May-2019 19:41:06.937 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\examples] has finished in [2,341] ms
23-May-2019 19:41:06.937 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]
23-May-2019 19:41:07.054 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 [117] ms
23-May-2019 19:41:07.054 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]
23-May-2019 19:41:07.101 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 [32] ms
23-May-2019 19:41:07.101 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\ROOT]
23-May-2019 19:41:07.117 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\ROOT] has finished in [16] ms
23-May-2019 19:41:07.132 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“ajp-nio-8009”]
23-May-2019 19:41:07.226 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 5220 ms
23-May-2019 19:46:34.307 INFO [Thread-5] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler [“http-nio-8080”]

From the localhost log I also noted some fails

[localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
23-May-2019 18:23:31.572 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
23-May-2019 18:23:31.584 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded(‘StockTicker’, ‘async.Stockticker@9bb2ac’)
23-May-2019 18:25:26.115 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed()
23-May-2019 18:25:26.115 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed()
23-May-2019 18:25:45.395 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
23-May-2019 18:25:45.395 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
23-May-2019 18:25:45.395 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded(‘StockTicker’, ‘async.Stockticker@bfc7d’)
23-May-2019 18:29:20.237 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed()
23-May-2019 18:29:20.237 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed()
23-May-2019 19:00:03.087 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
23-May-2019 19:00:03.087 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
23-May-2019 19:00:03.089 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded(‘StockTicker’, ‘async.Stockticker@c963df’)
23-May-2019 19:04:42.661 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed()
23-May-2019 19:04:42.661 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed()

What could be the issue here?

Now its connecting to the tomcat…

this is what I have after visiting localhost:8080

What could be the issue here now

it’s really strange, the ROOT.war seems to be deployed but nothing appends.

  1. stop tomcat
  2. remove all war and folders located in the webapps
  3. copy the ROOT.war from the axelor build
  4. start tomcat
  5. send a screen capture of the ROOT.war after the deployment.

Regards