How to install Several Tomcat instances on Ubuntu?
Posted
by tputkonen
on Super User
See other posts from Super User
or by tputkonen
Published on 2010-05-19T06:39:39Z
Indexed on
2010/05/19
6:50 UTC
Read the original article
Hit count: 295
I need to have two instances of Tomcat 6 running on Ubuntu 10.04. I know it should be doable pretty simply by something like:
- copy /var/lib/tomcat6 to /var/lib/tomcat6-2
- modify ports in /var/lib/tomcat6-2/conf/server.xml
- copy /etc/init.d/tomcat6 to /etc/init.d/tomcat6-2
- modify /etc/init.d/tomcat6-2...
...but my problem is that I'm unsure what I should modify in /etc/init.d/tomcat6-2. Chaging the NAME in the beginning of the file clearly is not enough.
© Super User or respective owner