[jboss-user] [JNDI and Naming] - Re: Local lookup failing

Wolf-Dieter Fink do-not-reply at jboss.com
Tue Jul 24 04:46:46 EDT 2012


Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Local lookup failing"

To view the discussion, visit: https://community.jboss.org/message/749809#749809

--------------------------------------------------------------
Do you pack the interface classes into both archives, that will force such ClassCastExecptions for the same class, as it is loaded by different classloaders.
You can drop the interface classes from your archive and provide it as a module.
Or you might use call-by-value instead of call-by-reference (in that case you use it global and you can not use local interfaces).
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/749809#749809]

Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120724/3e643060/attachment.html 


More information about the jboss-user mailing list