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&...]