2 Replies Latest reply on Nov 25, 2002 11:09 AM by clearsky

    EJB not bound

    clearsky

      I'm a newcomer to JBoss. I have used Sun's RI with Sun's Forte EE for past two years successfully. I took one of my apps, added the jboss.xml, recompiled and copied the .ear to the deploy subdirectory of my Win2K JBoss 3.0.3/Tomcat. No deployment errors. However, when I access the app and first access the bean, I get the "ejb not bound". Can you point me in the right direction?

      Thanks for your help,
      Art

        • 1. Re: EJB not bound
          joelvogt

          well most likely then it is the jboss.xml. Make sure the ejb-names match your ejb-jar.xml and that you are perfoming the same jndi lookup as is in your jboss.xml

          • 2. Re: EJB not bound
            clearsky

            Hi and thanks for the response. I have other JNDI env variables that I setup in my app (following Sun's MVC I use DAO factories and specify env variables scoped to my web.xml and beans). Should these env variables be declared in jboss.xml as well?

            Thanks again,
            Art