db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Barbieri <m.barbi...@ste-energy.com>
Subject ClassLoader Exception
Date Wed, 01 Mar 2006 15:23:47 GMT
Hi,
I have a web application where I use Torque to read/write a MySQL database.
When I use it on a first client, all works well.
But when I load a second client that has to read data from database I
have the following exception:

1-mar-2006 15.49.03 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped
already.  Could not load java.net.BindException. The eventual following
stack trace is caused by an error thrown for debugging purposes as well
as to attempt to terminate the thread which caused the illegal access,
and has no functional impact.
java.lang.IllegalStateException
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1238)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at
com.mysql.jdbc.CommunicationsException.<init>(CommunicationsException.java:155)
        at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2710)
        at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2621)
        at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1338)
        at com.mysql.jdbc.Connection.realClose(Connection.java:4429)
        at com.mysql.jdbc.Connection.cleanup(Connection.java:1973)
        at com.mysql.jdbc.Connection.finalize(Connection.java:3114)
        at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
        at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
        at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
1-mar-2006 15.49.04 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped
already.  Could not load com.mysql.jdbc.Messages.  The eventual
following stack trace is caused by an error thrown for debugging
purposes as well as to attempt to terminate the thread which caused the
illegal access, and has no functional impact.
java.lang.IllegalStateException
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1238)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at
com.mysql.jdbc.CommunicationsException.<init>(CommunicationsException.java:174)
        at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2710)
        at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2621)
        at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1338)
        at com.mysql.jdbc.Connection.realClose(Connection.java:4429)
        at com.mysql.jdbc.Connection.cleanup(Connection.java:1973)
        at com.mysql.jdbc.Connection.finalize(Connection.java:3114)
        at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
        at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
        at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)


Asking aroud I found that it could be a transaction problem, so maybe
you could know something about this and the way Propel uses MySQL
connections.

Thank you


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message