1 Reply Latest reply on Jan 30, 2008 11:12 AM by Chris

    Configuring Embedded JBoss to run EJB2.1

    Chris Newbie

      I am trying to figure out how to configure Embedded JBoss to deploy EJB2.1. I am using embedded jboss to run my testng integration tests for a seam application. I am injecting existing EJB2.1 services using the @EJB notation

      The application runs fine as configured for Jboss 4.2, but I am missing something when deploying under Embedded, because my EJBs are not deploying.

      Does anyone how to configure Embedded JBoss to specify which jar's contain ejb-jar.xml's.

      Warning to indicate it did not deploy

      [testng] WARN 30-01 09:24:59,087 [org.jboss.injection.EJBHandler.ejbRefDependency():169] IGNORING DEPENDENCY: unable to find @EJB from interface only com.alldata.cis.ejb.beans.ExcelergyCustomerServiceHome in ejb-jar.xml of AccountServiceImplnot used by any EJBs

      Error when it tries to inject @EJB
      [testng] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: ExcelergyCustomerService not bound]