I am new with Ubuntu, so that might be my issue… I downloaded the 7.1 tomcat bundle to the /opt directory, configured all files to connect to the installed postgres db, and configured the setenv.sh to use postgres.
I tried running startup.sh as root from the directory, but got permission denied.
First of all I recommend not to use root user but a normal user. I will assume that you have a user named test and group of user named test (replacing test with your Ubuntu username should work).
First make sure that test is the owner of all files: sudo chown -R test:test /opt/BonitaBPM
Then make sure that the test user have the right to execute the shell script files (i.e. *.sh files): chmod u+x /opt/BonitaBPM/bin/*.sh
Now you should be able to run /opt/BonitaBPM/bin/startup.sh using test user account.
bonita@CIFE:/opt$ /opt/BonitaBPM/bin/startup.sh
Using CATALINA_BASE: /opt/BonitaBPM
Using CATALINA_HOME: /opt/BonitaBPM
Using CATALINA_TMPDIR: /opt/BonitaBPM/temp
Using JRE_HOME: /usr/lib/jvm/java-7-openjdk-amd64/jre
Using CLASSPATH: /opt/BonitaBPM/bin/bootstrap.jar:/opt/BonitaBPM/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/BonitaBPM/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.
but I don’t see a Tomcat service running, and if I try accessing the portal, I get no page found… http://server:8080/bonita
Try to run the following command to find out if Tomcat (the one located in /opt/BonitaBPM) is running (Tomcat run on top of Java Virtual Machine): ps -ef | grep java.
If Tomcat is not running, make sure that you didn’t installed the Ubuntu Tomcat package (or at least make sure it is not running). You can check if Tomcat Ubuntu package is installed by running: dpkg -l | grep tomcat
If Tomcat is not running I recommend to delete all files in /opt/BonitaBPM/logs folder and try to start it again. Then you can take a look at catalina.outand bonita*.loglogs files.
If Tomcat is running, get it’s PID (the first number in ps command output) and run the following command with it: ss -l -n -p | grep 1234(replace 1234 by the PID you get from ps command). Output of this command should list you the port on which Tomcat is listening.
If you cannot identify what cause the issue, please share the output of above command and logs files.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.