This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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]