[ http://jira.jboss.com/jira/browse/JBAS-783?page=history ]
Scott M Stark resolved JBAS-783:
--------------------------------
Resolution: Deferred
There have been a number of fixes to the ucl layer since 3.2.2. If this is
still a problem with more recent releases reopen with updated trace level
logging.
> UnifiedClassLoader3 is not threadsafe
> -------------------------------------
>
> Key: JBAS-783
> URL: http://jira.jboss.com/jira/browse/JBAS-783
> Project: JBoss Application Server
> Type: Bug
> Versions: JBossAS-3.2.6 Final
> Reporter: SourceForge User
> Assignee: Scott M Stark
>
>
> SourceForge Submitter: adrianprice .
> I'm getting an intermittent j.l.ClassCastException on the
> dynamic proxy returned by JNDI lookup of an EJB local
> home. A single copy of the EJBLocalHome subinterface
> in question is deployed in an ejb.jar inside an .ear with
> an application-scoped ClassLoader. No other copies of
> the class file are deployed anywhere else.
> Application level debug output (attached) shows clearly
> that the same application-scoped UnifiedClassLoader3
> instance associated with the ear file has loaded the
> same bytecode twice, into two distinct copies of the
> same class, with the result that the dynamic proxy
> implements a different copy of the home interface than
> that which the calling code sees. Hence the
> ClassCastException. Both copies of the class share the
> same ClassLoader instance.
> This is JBoss-3.2.2, and I've seen the same problem on
> both Linux and Windows XP.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development