Kerry Finn wrote:

> 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).
>
>

Unlike Tomcat 3.2, the startup scripts for Tomcat 4.0 totally ignore the
CLASSPATH environment variable.  This is based on the observation that class
path problems represent the vast majority of newbie errors.

If you want to include a library, such as a JDBC driver, in a Tomcat 4.0 based
application, you have two choices:

* Place the corresponding JAR file into the
  $CATALINA_HOME/lib directory.  These classes
  will be available to all webapps.

* Place the corresponding JAR file into the
  WEB-INF/lib directory of your webapp.  The
  classes will be visible only to that webapp.

Craig McClanahan

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

Reply via email to