Package Managed Tomcat
Defines Structure and details of the Red Hat "Package Managed" Tomcat installations for Kuali nodes
Directory Structure Â
 /etc/init.d/tomcat6
   /etc/logrotate.d/tomcat6
   /etc/sysconfig/tomcat6
   /etc/tomcat6
   /etc/tomcat6/Catalina
   /etc/tomcat6/Catalina/localhost
   /etc/tomcat6/catalina.policy
   /etc/tomcat6/catalina.properties
   /etc/tomcat6/context.xml
- where jndi resources get mapped again in kr
   /etc/tomcat6/log4j.properties
   /etc/tomcat6/logging.properties
   /etc/tomcat6/server.xml
- Where the JNDI resources get defined
   /etc/tomcat6/tomcat-users.xml
   /etc/tomcat6/tomcat6.conf
- JAVA_OPTS go here
- JAVA_OPTS go here
   /etc/tomcat6/web.xml
   /usr/bin/tomcat6-digest
   /usr/bin/tomcat6-tool-wrapper
   /usr/sbin/dtomcat6
   /usr/sbin/tomcat6
   /usr/share/doc/tomcat6-6.0.24
   /usr/share/doc/tomcat6-6.0.24/LICENSE
   /usr/share/doc/tomcat6-6.0.24/NOTICE
   /usr/share/doc/tomcat6-6.0.24/RELEASE-NOTES
   /usr/share/doc/tomcat6-6.0.24/RELEASE-PLAN-6.0.txt
   /usr/share/tomcat6
   /usr/share/tomcat6/bin/bootstrap-6.0.24.jar
   /usr/share/tomcat6/bin/bootstrap.jar
   /usr/share/tomcat6/bin/catalina-tasks.xml
   /usr/share/tomcat6/bin/tomcat-juli-6.0.24.jar
   /usr/share/tomcat6/bin/tomcat-juli.jar
   /usr/share/tomcat6/conf
   /usr/share/tomcat6/lib
- jars that are shared across contexts
   /usr/share/tomcat6/logs
- catalina.out
   /usr/share/tomcat6/temp
   /usr/share/tomcat6/webapps
- WARS go here
   /usr/share/tomcat6/work
   /var/cache/tomcat6
   /var/cache/tomcat6/temp
   /var/cache/tomcat6/work
   /var/lib/tomcat6
   /var/lib/tomcat6/webapps
   /var/log/tomcat6
   /var/log/tomcat6/catalina.out
Â
Start / stop
sudo /sbin/service tomcat6 <start|stop>
Â
Remote Debugging
There is no longer any 'jpda start' command, must add these as the first java opts:
JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
Â