[jboss-as7-dev] Problem deploying an EJB3 MDB

Howard Gao hgao at redhat.com
Wed Apr 13 02:20:43 EDT 2011


Need help on this issue, thanks.

Synopsis:

A Fresh AS7 build, deploy a simple EJB3 MDB with following annotation

@MessageDriven(messageListenerInterface = EJB3MDBExample.class)
@ResourceAdapter("ejb3-rar.rar")

Starting AS7 standalone, the depoly failed but no error messages from 
the console, only one line warning:

13:47:48,936 WARN  [org.jboss.vfs] (MSC service thread 1-11) VFS was 
unable to set the URLStreamHandlerFactory.  This will have unpredictable 
results

I'm not sure this is relevant. Restarting AS7 again, it spits out

14:14:13,450 ERROR [org.jboss.as] (MSC service thread 1-2) JBoss AS 
7.0.0.Beta3-SNAPSHOT "TBD" started (with errors) in 2113ms - Started 112 
of 148 services (10 services failed or missing dependencies, 26 services 
are passive or on-demand)
     Services missing dependencies:
         service 
jboss.deployment.unit."mdb-example.ejb3".component.EJB3MDBExample.CREATE
         service 
jboss.deployment.unit."mdb-example.ejb3".component.EJB3MDBExample.NAMESPACE
         service 
jboss.deployment.unit."mdb-example.ejb3".component.EJB3MDBExample.START
         service 
jboss.deployment.unit."mdb-example.ejb3".component.EJB3MDBExample.VIEW."javax.jms.MessageListener"
         service 
jboss.naming.context.java.comp."mdb-example.ejb3"."mdb-example.ejb3".EJB3MDBExample
         service 
jboss.naming.context.java.comp."mdb-example.ejb3"."mdb-example.ejb3".EJB3MDBExample.EJBContext
         service 
jboss.naming.context.java.comp."mdb-example.ejb3"."mdb-example.ejb3".EJB3MDBExample.TransactionSynchronizationRegistry
         service 
jboss.naming.context.java.comp."mdb-example.ejb3"."mdb-example.ejb3".EJB3MDBExample.UserTransaction
         service 
jboss.naming.context.java.comp."mdb-example.ejb3"."mdb-example.ejb3".EJB3MDBExample.Validator
         service 
jboss.naming.context.java.comp."mdb-example.ejb3"."mdb-example.ejb3".EJB3MDBExample.ValidatorFactory

I don't understand what that mean. Was it that I need to add some services?

Howard




More information about the jboss-as7-dev mailing list