1 Reply Latest reply on Aug 6, 2002 10:35 PM by Meggie tran

    JNDI Lookup Error

    Kausik Dey Newbie

      I am using Tomcat 4.0.3 and Jboss 3 seperately. I wrote one stateless session bean which is called through JSP.

      I am getting

      Failed to lookup java:comp/env/ejb/Loan

      root cause :
      javax.naming.NamingException: Cannot create resource instance
      at org.apache.naming.factory.EjbFactory.getObjectInstance(EjbFactory.java:184)

      I used: java:comp/env/ejb/Loan
      Deployment of JAR was successful in JBOSS.
      ejb-jar, jboss seams to be fine. Also I copied jndi.properties to Tomcat WEB-INF. Should I need to take care something else?

      Please help.

      Thanks in advance.