I am trying to access a session bean from a servlet. When I try to lookup for the session bean from the servlet I am getting an javax.naming.CommunicationException.
I have both the Tomcet and Jboss running on the same box.
Please help me out here
Your jndi.properties are wrong.
Get the quick start guide and read the client