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

Jaikiran Pai jpai at redhat.com
Wed Apr 13 02:23:28 EDT 2011


EJB3 MDB support isn't yet available in AS7 upstream. It's waiting on 
https://issues.jboss.org/browse/JBAS-9122

-Jaikiran
On Wednesday 13 April 2011 11:50 AM, Howard Gao wrote:
> 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
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list