DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28949>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28949
Occasional NoClassDefFoundError for tag classes at startup
yoavs@computer.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|5.0.19 |5.0.28
------- Additional Comments From yoavs@computer.org 2004-10-07 13:01 -------
I'd look at the thread-safety of the relevant classloader. Multiple frames
means multiple more-or-less concurrent hits, and if there's a class that needs
to be loaded it means multiple concurrent loadClass-type requests. But you
don't want to just synchronized everything on the classloader for no reason, as
that's a performance penalty. However, that can be a useful diagnostic tool:
So here's one approach, if you have the time and really want to help us out:
build your own Tomcat 5.0.28 having added the synchronized keyword around every
method in every Catalina classloader. Then try your test and see if the error
goes away. This is just a guess, but that's what I'd try if I were in your
position. It's wild overkill, but you can always strip out the synchronized
places one by one afterwards.
BTW, updating version from 5.0.19 to 5.0.28 on this issue.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
|