what must be happening is that u are putting the driver classpath in "autoexec.bat" or soem other batch file which is executeds after the tomcat begins as a servie so u get the error but after the complete booting autoexec file is executed and then the driver is in the classpath so u dont get the error. Simply put the driver in the path of tomcat which may be /catalina/classes or /catalina/server/classes and it should woirk tarun ----- Original Message ----- From: "Liu, Dongqi" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Monday, February 11, 2002 8:08 PM Subject: No Suitable JDBC Driver Found when running Tomcat 4 .0 as NT service with JDK1.3.1_01
> > Hi All, > > I posted this problem a few days ago but didn't get any reponse. I am > reposting > it here just to draw enough attention and hopefull somebody out there can > lead me > to a solution. > > My problem is that when Tomcat is running as a NT service, it complains > "no suitable JDBC Driver found". However, when I start up Tomcat4.0 from > command line using exactly the same set up, everything works fine. The > driver > class loads fine in Tomcat Service, since I did a > > Class.forName("COM.ibm.db2.jdbc.app.DB2Driver") > > without getting any exceptions. > > I am using Tomcat 4.0 with JDK1.3.1_01 on a NT box, > > thanks, > > -dongqi > > > CONFIDENTIALITY NOTICE > ---------------------- > This transmission is intended for the sole use of the individual > and/or entity to whom it is addressed, and may contain information > and/or attachments that are privileged, confidential and exempt from > disclosure under applicable law. If the reader of this transmission > is not the intended recipient, you are hereby notified that any > disclosure, dissemination, distribution, duplication or the taking of > any action in reliance on the contents of this transmission by someone > other than the intended addressee or its designated agent is strictly > prohibited. If your receipt of this transmission is in error, please > notify the sender by replying immediately to this transmission and > destroy the transmission. Thank you. > (MSWPR1/ODpt) > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>