[jboss-user] [Installation, Configuration & DEPLOYMENT] - Configuring Embedded JBoss to run EJB2.1

chrisrippe do-not-reply at jboss.com
Wed Jan 30 10:49:06 EST 2008

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]

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124824#4124824

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124824

More information about the jboss-user mailing list