What is the function of tomcat6.conf file?
Environment
- Red Hat Enterprise Linux 6
- Tomcat 6
Issue
- What is the function of
/etc/tomcat6/tomcat6.conf
file? - What is the difference between
/etc/tomcat6/tomcat6.conf
and/etc/sysconfig/tomcat6
files?
Resolution
- The
/etc/sysconfig/tomcat6
is system-wide configuration file and/etc/tomcat6/tomcat6.conf
is service-specific configuration file fortomcat6
. - Configuration parameters set in
/etc/sysconfig/tomcat6
, will take the precedence over/etc/tomcat6/tomcat6.conf
. - JVM options can be added in any configuration file and it will not cause issue, it is tested with '6.0.24-36.el6_2' version of
tomcat6
.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments