Set-up Tomcat 7 as a service in Bonitasoft

Hello,

I’ve recently migrated my Bonitasoft platform from version 6.3.2 to version 7.3.3. When I run the startup.bat and open http://localhost:8080/bonita, everything works as expected. When running tomcat 7 as a service, http://localhost:8080 comes up but http://localhost:8080\bonita does not. I get a 404 page. I’ve added the configurations in the tomcat7w file such as pointing to the jdk file, and added settings in the java options section. I noticed in the tomcat7w that it also has a java 9 options section with information in it. Is this needed? In the bonita log files, I’m getting warnings such as ‘Invalid bean definition with name…’. What does this mean? Could this be a cause to the reason http://localhost:8080\bonita does not work? The java options that I’ve added in the tomcat7w file are the same settings in the setenv.bat file. I believe when running the startup.bat, it’s referencing the setenv.bat file. In addition, I would like to open the site using my server name instead of localhost. So, something like this: http://servername/bonita. How can I accomplish this? I do not see much information in the bonita documentation that talks about setting up tomcat 7 as a service and/or using the server name as your web address.

Did you have a look at this documentation page that describes it for Bonita 7.7, Java 8 and Tomcat 8.5? I know it is not your current stack but it might help you to figure it out.