tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37458] Datarace on org.apache.catalina.loader.WebappClassLoader
Date Fri, 02 Jan 2009 00:25:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=37458


Mark Thomas <markt@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO




--- Comment #8 from Mark Thomas <markt@apache.org>  2009-01-01 16:25:06 PST ---
I've looked at the WebappClassLoader source and I can't see how one thread
could set entry.codeBase to null whilst another thread calls Package.isSealed
since both calls are inside the sync block.

The only way I could see entry.codeBase being null was if getCanonicalFile()
throws an IOE (line 2230 in the latest 5.5.x code).

I notice you are using RMI. I wonder if this is a factor since there does not
appear to be any other reports of this issue. I have a vague recollection of
issues with RMI and Tomcat installed in a path with spaces. Might this be
affecting you?

How repeatable is this? A simple test case that demonstrates the issue would
help significantly.

Finally, where does JOnAS fit in to all of this. Given the lack of duplicate
reports, I wonder if this might be an integration issue of some sort?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message