0 Replies Latest reply on Jun 17, 2011 3:43 AM by EBS EBS

    EJB not bound when running project in JBoss EAP5.1.0

    EBS EBS Newbie

      Hi all,

       

      I have face a problem while running our project in JBoss EAP 5.1.0.

       

      We don't know whether the ejb setting in web.xml is correct or not and we do not include the ejb-jar.xml and jboss.xml in our project, is it a must to include them?

       

      The Exception capture is as follow:-

      InvalidAlgorithmParameterException catched.javax.naming.NameNotFoundException: ejb not bound
      

       

      web.xml

              <ejb-local-ref>
                      <ejb-ref-name>ejb/local/EformSubDataFacade</ejb-ref-name>
                      <ejb-ref-type>Session</ejb-ref-type>
                      <local-home/>
                      <local>mardep.ebs.eBSModel.business.EformSubDataFacadeLocal</local>
                      <ejb-link>EformSubDataFacade</ejb-link>
              </ejb-local-ref>
      
      

       

      JBoss jmx-console JNDIView

      Other components with java:comp namespace
      
      java:comp namespace of the component jboss.j2ee:ear=eBSPublic.ear,jar=eBSModel.jar,name=EformSubDataFacade,service=EJB3 :
      
        +- EJBContext[link -> java:internal/EJBContext] (class: javax.naming.LinkRef)
        +- TransactionSynchronizationRegistry[link -> java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)
        +- UserTransaction (class: org.jboss.ejb3.tx.UserTransactionImpl)
        +- env (class: org.jnp.interfaces.NamingContext)
        |   +- em (class: org.jboss.jpa.tx.TransactionScopedEntityManager)
        |   +- mardep.ebs.eBSModel.business.EformSubDataFacadeBean (class: org.jnp.interfaces.NamingContext)
        |   |   +- em (class: org.jboss.jpa.tx.TransactionScopedEntityManager)
        +- ORB[link -> java:/JBossCorbaORB] (class: javax.naming.LinkRef)
      
      

       

      Thank you very much!