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

shinosha do-not-reply at jboss.com
Mon Jul 23 12:28:43 EDT 2012


shinosha [https://community.jboss.org/people/shinosha] created the discussion

"Re: Local lookup failing"

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

--------------------------------------------------------------
I changed my lookup to java:global and did not pass any parameter to the InitialContext constructor and still have the same thing from my TestNG class (NoInitialContextException). But when I do it from my action class in Struts 2 I get ClassCastException on my EJB... So I guess this is working somehow but I still have a problem regarding my tests and this ClassCastException. On the last one it seems it's due to my deployments and project structure but I can't solve the issue...
--------------------------------------------------------------

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

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/20120723/c8ed09c5/attachment.html 


More information about the jboss-user mailing list