tomcat7's behaviour differs when started via init.d script instead of service

Asked by Julian Lemke on 2013-04-28

I have a tomcat7 installed via apt-get on Ubuntu Server 12.04.02. My webapp uses the java-based initialization without web.xml. When the server was started by service tomcat7 start or restart, the app is not loaded correctly because tomcat doesn't run/find the initializer classes. But when tomcat ist started by manually calling the init.d script e.g. /etc/init.d/tomcat7 restart, the app is deployed correctly. What can be the reason for that?

Question information

English Edit question
Ubuntu tomcat7 Edit question
No assignee Edit question
Last query:
Last reply:

Not sure, you could always add the command in /etc/rc.local to run the command which works, at boot.

Can you help with this problem?

Provide an answer of your own, or ask Julian Lemke for more information if necessary.

To post a message you must log in.