Bugs item #840885, was opened at 2003-11-12 18:37 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=840885&group_id=22866
Category: JBossServer Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Adrian Price (adrianprice) Assigned to: Nobody/Anonymous (nobody) Summary: UnifiedClassLoader3 is not threadsafe Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=840885&group_id=22866 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development