3 Replies Latest reply on Apr 8, 2003 7:31 AM by paulwells

    EJB not bound

    ingmar

      I'm using an application I got. Which works with JBoss/Tomcat. When I copy the files to the deploy map the JSP en Servlets works fine. But it can't open EJB's.

      When an EJB is called, the exception: EJB not bound is thrown. Can anyone tell me what stupid thing i'm doing wrong?

        • 1. Re: EJB not bound
          paulwells

          It sounds like your EJB is not deploying correctly. Does your jar file contain the ejb-jar.xml inside the META-INF directory?

          • 2. Re: EJB not bound
            ingmar

            The ejb-jar.xml is in the Meta-Inf directory. So that ain't the problem...

            • 3. Re: EJB not bound
              paulwells

              When you deploy your jar you should see the following log lines:

              INFO [org.jboss.ejb.EjbModule] Creating
              INFO [org.jboss.ejb.EjbModule] Deploying
              INFO [org.jboss.ejb.EjbModule] Created
              INFO [org.jboss.ejb.EjbModule] Starting
              INFO [org.jboss.ejb.EjbModule] Started

              If you are not seeing these, you should try turning debug on (server/default/conf/log4j.xml) and then re-deploy the jar to find out more info.