Hi

I'm using 5.0.28 (with java5 patch) running on java5 (SR9 AIX). My webapp is
running on axis 1.2.
When I start some threads to do the work in my web service, I'm getting
errors like:

Exception in thread "Thread-33" java.lang.NoClassDefFoundError:
my.whatever.package.whatever.class

Caused by: java.lang.ClassNotFoundException:
my.whatever.package.whatever.class
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)

Needless to say all the classes are in place and it works fine with single
thread webapp (heavily tested).
Using multiple threads, only one or two thread report this error while
others seem to work fine.

I would say I have a race condition with WebappClassLoader but why does it
complain only about my classes ( never throws CNFE for java.* classes ).

Any thoughts ?
Thanks in advance, Kate.

-- 
View this message in context: 
http://www.nabble.com/ClassLoader-issues-in-multithreaded-webapp---TC5.0-tp23515950p23515950.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to