Hi! First question: Why do you want/need another instance? Want to run the same app (in another version) on the same server!? -of Am 05.03.2010 12:58, schrieb Peter Boy: > Hi, > > I followed the instructions in /etc/sysconfig/tomcat6 to create a second > tomcat6 instance: > > - created a link in /etc/init.d/tomcat6-dev > - created a file in /etc/sysconfig/tomcat6-dev > - created /usr/share/tomcat6-dev > - created therein symlins conf, work, temp, webapps to resp. > separate dirs > - copied standard conf files to new dir (besides tomcat6.conf) > > I edited the configuration files not to interfere regarding port number, > pid file, etc. and defined CATALINA_BASE = /usr/share/tomcat6-dev > > Problem: "service tomcat6 {start|stop}" works, "service tomcat6-dev > start" fails. > > I would like to share the tomcat binaries and libs, therefore use the > same CATALINA_HOME, but a different CATALINA_BASE. > > I'm not so familiar with bash programming, but > inspecting /etc/init.d/tomcat6 I found some fix configuration option (to > my understanding, may be wrong), e.g. > >> TOMCAT_LOG="${TOMCAT_LOG:-/var/log/tomcat6/catalina.out}" > > where TOMCAT_LOG is not part of any instance specific configuration file > nor does it seem to use $CATALINA_BASE/logs for logging (which I would > expect). > > > Questions: > > - is it possible to share Tomcat binaries and libs between different > instances or do I have to define different CATALINA_HOME as well as > different CATALINA_BASE? > > - Does someone know a Howto to create separate instances the Fedora way? > (My googling didn't yield any insights) > > > Thanks in advance > > Peter > -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines