> From: Kevin Jackson [mailto:foamd...@gmail.com] > Subject: tomcat6 configuration best practice? > > - apache httpd 2.0.2
Why are you using httpd? If everything is being forwarded to Tomcat, adding httpd just slows things down and makes your life more complicated. > Currently we have the following > $CATALINA_HOME/webapps/ > - app > - ROOT -> app Bad practice - your app will be deployed twice. Just call it ROOT and be done with it. > $CATALINA_HOME/conf/Catalina/localhost/ > - app.xml > - ROOT.xml -> app.xml More bad practice; just use ROOT.xml and get rid of the silly symlinks. > I suspect we may be causing the container to attempt to load the > application twice - but I'd like some confirmation. Yes, that's what's happening. Don't use the symlinks. > I think the following structure would be more managable and probably > better for tomcat too: > > $CATALINA_HOME/conf/Catalina/localhost/ > - ROOT.xml -> /deployments/app.xml This is better, but I still wouldn't use the symlink. Just put the ROOT.xml file where it belongs. > /deployments/ > - app.xml > - app Why are you insisting on making things more complicated? Just use a ROOT.xml in the proper place. Stop confusing things with the symlinks. > <Context path="/" docBase="/deployments/app" debug="1" The path attribute is not allowed (and you've got an invalid value for it); remove it. > given the requirement to allow us to hot deploy jsp files (but not > jars or classes), can we change reloadable to false? Yes, you can set reloadable to false; the monitoring of .jsp changes is controlled by the jsp servlet settings in conf/web.xml, not by the reloadable attribute of the <Context> element. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org