We have been using an Apache/Tomcat on the same machine configuration in
production for several months now. We are starting to roll out more J2EE
components that work best with the servlet container and the J2EE container
on the same machine. This means we would like to leave Apache at the
We are having random problems with some of our application libraries when we
deploy them in their separate contexts. The question I have is what is the
default behavior for Tomcat to load class libraries into its CLASSPATH. Do
libraries from the $TOMCAT_HOME/lib directory get added to the
Thanks everyone for your comments. They were very helpful.
Brett
What is the best way to read a file from a Context in Tomcat? I know I can
get the context path from the "getContextPath()" method, but most file
stream APIs require a full path. There most be a clean way to accomplish
this without hard coding any directory path info.
Any suggestions would be