How to install Several Tomcat instances on Ubuntu?
- by tputkonen
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.