[Bug 207787] Re: Multiple tomcat instances
born2chill
david.gabriel at oeamtc.at
Fri Oct 2 14:30:46 UTC 2009
Hi there,
seem to lots of use cases out there... here are my two cents to the
multi-instance tomcat5.5 thingy.
skel- files, little reworked init-script and a create-instance script
that accepts options for ports, ip and some java-opts. drop the contents
of the zipfile to /usr/local/bin, then
unzip tomcat5.5_instance.zip
mv tomcat5.5_start_instance /etc/init.d
view options:
./tomcat5.5_new_instance.sh -h
it will create a new tomcat instance with its own init script and
catalina_base, log and work folders, so no cluttering up the system. it
also has an option to remove instances if they are no longer used. needs
just tomcat5.5 and a java-jdk, will re-use the
/usr/share/tomcat5.5-libs.
example:
./tomcat_new_instance.sh -C -I test -i 10.205.30.113 -j /usr/lib/jvm/java-1.5.0-sun -a 8010 -p 8181 -s 8006 -x 128 -y 1024 -z 256
would create an instance, using sun's java 1.5, binding to ip
10.205.30.113 with ajp on 8010, http on 8181 and shutdownport on 8006,
setting Xms memory to 128m, Xmx to 1024 and max permissionsize to 256m.
./tomcat_new_instance.sh -D -I test
would remove the above instance.
br,
David
** Attachment added: "yet another tomcat5.5 instance mechanism"
http://launchpadlibrarian.net/32865305/tomcat5.5_instance.zip
--
Multiple tomcat instances
https://bugs.launchpad.net/bugs/207787
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list