tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Weblogic library and Tomcat
Date Wed, 11 Feb 2009 17:03:53 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

On 2/11/2009 11:15 AM, Mark Thomas wrote:
> In this case your classes are pinned into memory by the following reference chain:
> 
> DriverManager > JDBC driver > webapp classloader > webapp classes
> 
> Since you created this by calling DriverManager.registerDriver() you have to
> clear it.

Silly question: The OP never mentioned anything about JDBC. Why are you
convinced this is a ClassLoader/JDBC driver issue?

To me, this looks like a non-daemon thread that is being used to trigger
timed events that is most likely causing the error:

> INFO: Illegal access: This instance of the web application has already
> been stopped. Could not load weblogic.common.T3MiscLogger. 
> java.lang.IllegalStateException
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1272)
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at
> weblogic.time.common.internal.TimeTable.execute(TimeTable.java:227)
>         at
> weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:117)
>         at java.lang.Thread.run(Thread.java:595)

Maybe weblogic's timer isn't being stopped properly when the application
stops. Your suggestion to use a ContextListener to stop such tasks seems
like a good one, but I'm not sure if you're suggesting the right place
to look for retained object references.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmTBPkACgkQ9CaO5/Lv0PCK8wCdGUFEI21/xc9jk0r4WDxGCyDA
gSMAoLpS+rOd38bzRnaTiyo5mEgHZBCW
=WSOJ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message