Also ,my other Jar files are under WEb-INF/lib folder and they are being
found.

thanks
Srinivas

-----Original Message-----
From: David Lu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 4:59 PM
To: Tomcat Users List
Subject: Re: Class.forName() crashing Tomcat4.0



chances are tomcat was not able to find your driver.  be sure to
have a copy of your driver class (the jar file) in 
$JAKARTA_HOME/common/libs
directory.

                           - david -

On 2002.04.11 16:43 "Sampige, Srinivas" wrote:
> Hi
> 
>        Iam using Tomcat4.0 on Win2K . My web appliation that was
> connecting
> to DB2 was working fine on Tomcat3.2. I am using JDK1.3.1 to compile
> my
> application. But when I port the application to run under Tomcat4.0
> the
> section of my code that loads the DB2 driver fails and causes
> Tomcat4.0 to
> crash. From the stack trace I identified that the code is failing at
> line 79
> of my class and that line is  where I am loading the driver by calling
> Class.forName(). Here is the code snippet followed by the stack trace
> -


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to