JBoss Community

Re: Local lookup failing

created by shinosha in JNDI and Naming - View the full discussion

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

Start a new discussion in JNDI and Naming at Community