Additional instances of tomcat6 - how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux