Hey
Aaron Mulder wrote:
> When I run the jBoss test suite, I get an error right at the
> beginning - the infamous $Proxy0 error. It looks like an EJB in one JAR
> (jbosstest2) references an EJB in another JAR (jbosstest). When the Home
> Proxy comes back from the initial JNDI lookup, the interface it implements
> is from the jbosstest ClassLoader, while the interface it is cast into was
> loaded from the jbosstest2 ClassLoader.
> I think this has come up several times recently in one form or
> another. It looks like we need to remove some optimizations so that the
> interfaces for a Home in a separate JAR are serialized rather than being
> passed direct - but the invocationhandler optimization does not seem to
> affect this. I'm not sure how to implement this myself - but I assume
> we'd have to fiddle a little in JNP or something?
Fixed. jbosstest runs great now, with optimizations on.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com