tomcat7's behaviour differs when started via init.d script instead of service
Asked by
Julian Lemke
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
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu tomcat7 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
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.