Follow up:

Tomcat will shutdown when it executes a servlet that tries to reference a jdbc jar file that isn't loaded at startup.
Ensure you have your jdbc jar file in the WEB-INF/lib directory at startup.


Date: Tue, 08 Jul 2003 11:21:56 -0600
To: Tomcat Users List <[EMAIL PROTECTED]>
From: Robert Wray <[EMAIL PROTECTED]>
Subject: Tomcat servlet shutting down Tomcat

Questions:
Why is tomcat stopping?

What do the following 2 localhost_log statements mean in lay mans terms?
HostConfig[localhost]: HostConfig: Processing STOP
StandardWrapper[/test:PressRequestServlet]: Waiting for 1 instance(s) to be deallocated




Problem Details:
I am trying to access a mysql db via servlet. I have no problems creating HTML code to a file using a java application that accesses the db. I had no problems creating HTML code to a web browser using a servlet that accesses a local xml file. I attempted to merge the code by altering my servlet to include the following code in the doGet method:


When I access this code tomcat shuts down and my browser (IE6) gives me an error page of some sort and quickly redirects me to the icky xupiter.com site (OT: anyone know how to fix IE error page redirection?)

with debug set to "99", I get the following from my localhost_log:

HostConfig[localhost]: Deploying discovered web applications
StandardHost[localhost]: Mapping request URI '/test/connection/Press'
StandardHost[localhost]: Trying the longest context path prefix
StandardHost[localhost]: Mapped to context '/test'
HostConfig[localhost]: HostConfig: Processing STOP
HostConfig[localhost]: Stopping background thread
HostConfig[localhost]: Deploying discovered web applications
HostConfig[localhost]: BACKGROUND THREAD Stopping
HostConfig[localhost]: Undeploying deployed web applications
HostConfig[localhost]: Undeploying web application at context path /manager
StandardHost[localhost]: Removing web application at context path /manager
HostConfig[localhost]: Undeploying web application at context path /test
StandardHost[localhost]: Removing web application at context path /test
StandardWrapper[/test:PressRequestServlet]: Waiting for 1 instance(s) to be deallocated
HostConfig[localhost]: Undeploying web application at context path /examples
StandardHost[localhost]: Removing web application at context path /examples
HostConfig[localhost]: Undeploying web application at context path /tomcat-docs
StandardHost[localhost]: Removing web application at context path /tomcat-docs
HostConfig[localhost]: Undeploying web application at context path /webdav
StandardHost[localhost]: Removing web application at context path /webdav
HostConfig[localhost]: Undeploying web application at context path
StandardHost[localhost]: Removing web application at context path
HostConfig[localhost]: Undeploying web application at context path /admin
StandardHost[localhost]: Removing web application at context path /admin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to