# Set-up Tomcat 7 as a service in Bonitasoft

**URL:** <https://community.ofelia.com/t/set-up-tomcat-7-as-a-service-in-bonitasoft/9203>\
**Category:** Q&A\
**Created:** [30 July 2018 14:16 UTC](https://community.ofelia.com/t/set-up-tomcat-7-as-a-service-in-bonitasoft/9203 "2018-07-30T14:16:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michele.DuBose](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@Michele.DuBose](https://community.ofelia.com/u/Michele.DuBose)\
**Post date:** [30 July 2018 14:16 UTC](https://community.ofelia.com/t/set-up-tomcat-7-as-a-service-in-bonitasoft/9203/1 "2018-07-30T14:16:00Z")

</div>

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](http://localhost:8080/bonita), everything works as expected. When running tomcat 7 as a service, [http://localhost:8080](http://localhost:8080) comes up but [http://localhost:8080](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](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](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.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [30 July 2018 20:53 UTC](https://community.ofelia.com/t/set-up-tomcat-7-as-a-service-in-bonitasoft/9203/2 "2018-07-30T20:53:12Z")

</div>

Did you have a look at this documentation [page](https://documentation.bonitasoft.com/bonita/7.7/ubuntu-openjdk-tomcat-postgresql) 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.
