Garret Wilson wrote:
It's as if two instances of Tomcat are being run in two separate JVMS:
one using the server.xml configuration, and another attempting to
deploy the .war files using some default configuration. The first set
of initialized servlets continue to run and accept connections. Wha
Everyone,
I found the answer to my second question, "Why isn't myServlet2.init()
called before the second call to myServlet1.init()?" It turns out it was
being called, but my debug trace statements had been redirected because
my init() method had successfully redirected debug output.
So the
Tomcat 5.5.16 seems to call a servlet's init() method several times, and
the specific init parameter is missing in all but the first.
I have a simple server.xml that includes:
example.com
value="/var/web/data/www.example.com/"/>
In www.example.com.war I have a web.xml f