Randy Layman wrote:
Question 1: Does it work in just Tomcat, without Apache?
I'm only running Tomcat (catalina 4.0 - needed to support http1.1).
Question 2: Do you see anything relevant in your log files?
Here is the most relevant message:
2001-01-25 11:42:48
StandardWrapper[/examples:org.apache.catalina.INVOKER.httpdbexport]:
Marking servlet org.apache.catalina.INVOKER.httpdbexport as unavailable
2001-01-25 11:42:48 invoker: serveRequest.load
javax.servlet.ServletException: Error instantiating servlet class
httpdbexport
When I've added similar apps (without JDBC) to the examples directory
they worked fine. Seems like there's some type of intialization error
when loading the class. This app works as stand alone (with main).
-Original Message-
From: kerry finn [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 11:26 AM
To: [EMAIL PROTECTED]
Subject: servlet-jdbc question
Hi,
Not sure this message got through the first time.
I'm new to tomcat/apache and servlets in general.
- Installed fine (both tomcat and mysql)
- I've been able to add examples servlets.
- Ported jdbc application to use mysql and all works fine.
- Ported a generic dbexport (jdbc application) to a HttpServlet and no
go.
- Added the appropriate CLASSPATH's to various scripts.
- Nope still doesn't work
- Added (and updated) the server.xml file to include mysql stuff.
- Nope, not yet. I get this error:
"HTTP Status 500 - /examples/servlet/httpdbexport
The server encountered an internal error
(/examples/servlet/httpdbexport) that prevented it from fulfilling this
request.
"
Any ideas?
thanks,
Kerry
--
Kerry M Finn
Sun Microsystems Inc
1 Network Drive
Burlington, Ma. 01803
[EMAIL PROTECTED] Work Email
781-442-0408Work Phone
[EMAIL PROTECTED] SMS Messaging
781-492-1051Cell Phone
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]