This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I' have a web application deployed on Tomcat 7.0.22 server and i'm trying to call a stateless EJB deployed on Glassfish3.1 (both servers are on the same machine).
I had a lot of problems about the configuration of tomcat (about adding .jar to make "initcontextFactory" and other things to work).Now this is my problem:
the JNDI lookup is correct (indeed if I try to change the jndi in the lookup I receive an exception) but the client remains waiting for an answer .I don't know if it's a client or server
problem (glassfish doesn't show any log about it!)
Here is my code:
Here is my Action:
The interface of the EJB is in a custom library that I included in the webapp and in the EJB module.
NOTICE that when i deploy the webapp on glassfish eveything works perfectly.
Thanks for your time and your help!
Regards A.P. [/size]