> -----Original Message----- > From: Alfar, Adam [mailto:[EMAIL PROTECTED]] > Sent: January 11, 2002 1:14 PM > To: '[EMAIL PROTECTED]' > Subject: loading jdbc driver > > > I am using tomcat 4 and I am having problems loading the jdbc driver as > follows: > "java.lang.ClassNotFoundException: com.informix.jdbc.IfxDriver " > whenever I > try to load the servlet thru the web browser. > However, if I run the jdbc loading through standalone java > program, it loads > fine and executes the query. Please advice. Thanks!
Why don't you just drop the driver (e.g. mm.mysql-2.0.8-bin.jar) into $JAVA_HOME/jre/lib/ext and then you'll have it available to whatever uses the JVM and you don't have to worry about setting the $CLASSPATH. I'm not sure if you have to restart Tomcat to take effect. Emir. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>