tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corey A. Johnson" <>
Subject MySQL JDBC Driving problems
Date Wed, 25 Oct 2000 14:14:39 GMT
Hello all,

I have a weird problem... that hopefully is simple...  I have a servlet
that is function fine on an older Apache/Linux/Jserv box..  The servlet
simply adds a record to a MySQL DB.

I moved the servlet to my Tomcat installation... and i keep getting
Exceptions when trying to access the MySQL DB server...

I have placed the twz1 MySQL drivers in my CLASSPATH...  but i get the
following two errors...  in my tomcat.log:

The first time the servlet executes, i get:

java.lang.VerifyError: (class: twz1/jdbc/mysql/jdbcMysqlBase, method:
Query signature: (Ltwz1/jdbc/mysql/jdbcMysqlConnex;)Z) Illegal use of
 function call
        at twz1.jdbc.mysql.jdbcMysqlDriver.<init>(

And then, each subsequent time (until i restart tomcat) i get:

Context log: path="" Error in Watch service() :
 java.lang.NoClassDefFoundError: twz1/jdbc/mysql/jdbcMysqlDriver
        at java.lang.Class.forName0(Native Method)

So it does seem to find the driver.. based on the first message...

This is driving me crazy... i must be totally missing something...  and
again, it works fine on the old Jserv install...

Any insight would be truly appreciated..

Thanks in advance,

Corey A. Johnson
Creative Network Innovations
1-800-CNi-5547 ** 1-321-259-1984

View raw message