tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 37458] Datarace on org.apache.catalina.loader.WebappClassLoader
Date Fri, 02 Jan 2009 00:25:08 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |NEEDINFO

--- Comment #8 from Mark Thomas <>  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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message