Question

can't we create multiple instances of tomcat7 in ubuntu?

Hi, I created duplicate instance of tomcat by creating a directory under /var/lib/tomcat7-a. Later i updated server.xml with new port i copied catalina.properties file and web.xml.

finally created init service for tomcat7-a and updated with defaults. I tried to start the program when i pose a command like, service tomcat7-a start it gives “tomcat7-a not installed” means, it stops at below script in init program, if [ ! -f “$CATALINA_HOME/bin/bootstrap.jar” ]; then log_failure_msg “$NAME is not installed… kjfkdj” exit 1 fi

what should i do now?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

i have same problem right now

Hi Jaccs

Were you able to fix the issue. I followed the same instructions but now facing following issue:

root@XXXXX:/etc/init.d# sudo service tomcat8-a start Failed to start tomcat8-a.service: Unit tomcat8-a.service not found. root@XXXXX:/etc/init.d#