4 Replies Latest reply on Apr 12, 2005 11:21 PM by Adrian Brock

    Failing to register MDB (jca.name='null')

    Ross Mason Newbie

      Hi All,

      I'm using JBoss 4.0.sp1. I have a custom RA that I have deployed to the server successfully and can inspect it from the jmx console.

      I have simple ejb app that has a single session bean and a MDB. When the MDB is being registered Jboss tries to find the corresponding RA to register the MDB listener with and I get the following exception -

      org.jboss.deployment.DeploymentException: Cannot locate resource adapter deploym
      ent null; - nested throwable: (javax.management.InstanceNotFoundException: jboss
      .jca:name='null',service=RARDeployment is not registered.)
      at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException
      (DeploymentException.java:39)
      at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.resolveResou
      rceAdapter(JBossMessageEndpointFactory.java:342)
      at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.startService
      (JBossMessageEndpointFactory.java:203)

      It looks like the RA name is not being picked up for the <message-driven> element in the jboss.xml for my ejb app. The configuration fragment in the jboss.xml is -

      <message-driven>
      <ejb-name>TcpReceiverMDB</ejb-name>
      <resource-adapter-name>mule-ra-SNAPSHOT.rar</resource-adapter-name>
      <configuration-name>Mule Container</configuration-name>
      </message-driven>

      The resource-adapter-name is set to the name of the RAR file deployed to the server. Is this correct?

      I'm a newbie to this stuff so any help (no matter how obvious it might seen) would be appriciated.

      Cheers,

      Ross

        • 1. Re: Failing to register MDB (jca.name='null')
          Adrian Brock Master

          My *guess* is that your jboss.xml is malformed.
          Since you don't post it in any context or the corresponding ejb-jar.xml
          it is impossible to say what is wrong.

          • 2. Re: Failing to register MDB (jca.name='null')
            Ross Mason Newbie

            Fair point :)

            I've attached the jboss.xml below and the the full deployment output below that.

            Thanks for your help.

            Ross

            <?xml version="1.0" encoding="UTF-8"?>
            
             <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
            
            <jboss>
             <jmx-name>mule-ra-SNAPSHOT.rar:name=jbossTest</jmx-name>
             <enterprise-beans>
            
             <session>
             <ejb-name>SenderEJB</ejb-name>
             <resource-ref>
             <res-ref-name>mule/connectionFactory</res-ref-name>
             <resource-name>connectionfactoryref</resource-name>
             </resource-ref>
             </session>
            
             <message-driven>
             <ejb-name>TcpReceiverMDB</ejb-name>
             <resource-adapter-name>mule-ra-SNAPSHOT.rar</resource-adapter-name>
             <configuration-name>Mule Container</configuration-name>
             </message-driven>
             </enterprise-beans>
            
             <resource-managers>
             <resource-manager>
             <res-name>connectionfactoryref</res-name>
             <res-jndi-name>java:/mule/connectionFactory</res-jndi-name>
             </resource-manager>
             </resource-managers>
            
             <invoker-proxy-bindings>
             <invoker-proxy-binding>
             <name>mule-proxy-binding</name>
             <invoker-mbean>default</invoker-mbean>
             <proxy-factory>org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory</proxy-factory>
             <proxy-factory-config>
             <endpoint-interceptors>
             <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor>
             <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
             </endpoint-interceptors>
             </proxy-factory-config>
             </invoker-proxy-binding>
             </invoker-proxy-bindings>
            
             <container-configurations>
             <container-configuration>
             <container-name>Mule Container</container-name>
             <call-logging>true</call-logging>
             <invoker-proxy-binding-name>mule-proxy-binding</invoker-proxy-binding-name>
             <container-interceptors>
             <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
             <!-- CMT -->
             <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
             <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
             <interceptor transaction="Container" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
             <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
             <!-- BMT -->
             <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
             <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
             <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
             <interceptor transaction="Bean" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
             <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
             </container-interceptors>
             <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
             <instance-cache></instance-cache>
             <persistence-manager></persistence-manager>
             <container-pool-conf>
             <MaximumSize>100</MaximumSize>
             </container-pool-conf>
             </container-configuration>
             </container-configurations>
            </jboss>
            


            _________________________________________________________
            DEPLOYMENT OUTPUT
            _________________________________________________________



            12:56:05,752 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/java/jboss-4.0.1sp1/server/def
            ault/deploy/mule-ejb-example-SNAPSHOT.jar
            12:56:05,752 DEBUG [MainDeployer] Copying file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-example-SNAPSHOT.j
            ar -> C:\java\jboss-4.0.1sp1\server\default\tmp\deploy\tmp62697mule-ejb-example-SNAPSHOT.jar
            12:56:05,792 DEBUG [MainDeployer] using deployer org.jboss.ejb.EJBDeployer@143bf3d
            12:56:05,802 DEBUG [EJBDeployer] init, mule-ejb-example-SNAPSHOT.jar
            12:56:05,802 DEBUG [EJBDeployer] looking for nested deployments in : file:/C:/java/jboss-4.0.1sp1/server/default/deploy/
            mule-ejb-example-SNAPSHOT.jar
            12:56:05,812 DEBUG [EJBDeployer] nested deployment: file:/C:/java/jboss-4.0.1sp1/server/default/tmp/deploy/tmp62697mule-
            ejb-example-SNAPSHOT.jar-contents/mule-ds.xml
            12:56:05,812 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImpleme
            ntation:name=Default,service=LoaderRepository, repositoryClassName: null, configParserClassName: null, repositoryConfig:
            null)
            12:56:05,812 DEBUG [UnifiedClassLoader] New jmx UCL with url file:/C:/java/jboss-4.0.1sp1/server/default/tmp/deploy/tmp6
            2697mule-ejb-example-SNAPSHOT.jar
            12:56:05,812 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@1aa57
            fb, cl=org.jboss.mx.loading.UnifiedClassLoader3@4c562f{ url=file:/C:/java/jboss-4.0.1sp1/server/default/tmp/deploy/tmp62
            697mule-ejb-example-SNAPSHOT.jar ,addedOrder=0}
            12:56:05,812 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@1aa57
            fb, cl=org.jboss.mx.loading.UnifiedClassLoader3@4c562f{ url=file:/C:/java/jboss-4.0.1sp1/server/default/tmp/deploy/tmp62
            697mule-ejb-example-SNAPSHOT.jar ,addedOrder=0}
            12:56:05,812 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@4c562f{ url=file:/C:/java/
            jboss-4.0.1sp1/server/default/tmp/deploy/tmp62697mule-ejb-example-SNAPSHOT.jar ,addedOrder=0}
            12:56:05,812 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg:
            12:56:05,812 DEBUG [MainDeployer] found 1 subpackages of file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-exa
            mple-SNAPSHOT.jar
            12:56:05,812 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/java/jboss-4.0.1sp1/server/def
            ault/tmp/deploy/tmp62697mule-ejb-example-SNAPSHOT.jar-contents/mule-ds.xml
            12:56:05,812 DEBUG [MainDeployer] using deployer org.jboss.deployment.XSLSubDeployer@511e0a
            12:56:06,944 DEBUG [XSLSubDeployer] transformed into doc: [#document: null]
            12:56:06,944 DEBUG [XSLSubDeployer] transformed into doc: <?xml version="1.0"?>

            <mbean code="org.jboss.resource.connectionmanager.NoTxConnectionManager" display-name="ConnectionManager for Connect
            ionFactory mule/connectionFactory" name="jboss.jca:service=NoTxCM,name=mule/connectionFactory"><depends optional-attribu
            te-name="ManagedConnectionPool"><mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" display-na
            me="Connection Pool for DataSource mule/connectionFactory" name="jboss.jca:service=ManagedConnectionPool,name=mule/conne
            ctionFactory"><depends optional-attribute-name="ManagedConnectionFactoryName"><mbean code="org.jboss.resource.connection
            manager.RARDeployment" display-name="ManagedConnectionFactory for ConnectionFactory mule/connectionFactory" name="jboss.
            jca:service=ManagedConnectionFactory,name=mule/connectionFactory"><
            properties>mule-ra-SNAPSHOT.rarorg.mule.ra.MuleConnectionFactory<depends optional-attribute-name="OldRarDeployment">jboss.jca:
            service=RARDeployment,name='mule-ra-SNAPSHOT.rar'0<att
            ribute name="MaxSize">203000015ByNothingmul
            e/connectionFactory<depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnec
            tionManager<mbean code="org.jboss.resource.connectionmanager.ConnectionFactoryBindingService" display-
            name="Binding for ConnectionFactory mule/connectionFactory" name="jboss.jca:service=ConnectionFactoryBinding,name=mule/c
            onnectionFactory">mule/connectionFactorytrue</at
            tribute><depends optional-attribute-name="ConnectionManager">jboss.jca:service=NoTxCM,name=mule/connectionFactory</depen
            ds>

            12:56:06,954 DEBUG [SARDeployer] Using existing deployment.document
            12:56:06,954 DEBUG [SARDeployer] about to copy 0 local directories
            12:56:06,954 DEBUG [SARDeployer] looking for nested deployments in : file:/C:/java/jboss-4.0.1sp1/server/default/tmp/dep
            loy/tmp62697mule-ejb-example-SNAPSHOT.jar-contents/mule-ds.xml
            12:56:06,954 DEBUG [RepositoryClassLoader] Added url: file:/C:/java/jboss-4.0.1sp1/server/default/tmp/deploy/tmp62697mul
            e-ejb-example-SNAPSHOT.jar-contents/mule-ds.xml, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@4c562f{ url=file:/C:/j
            ava/jboss-4.0.1sp1/server/default/tmp/deploy/tmp62697mule-ejb-example-SNAPSHOT.jar ,addedOrder=39}
            12:56:06,954 DEBUG [MainDeployer] found 0 subpackages of file:/C:/java/jboss-4.0.1sp1/server/default/tmp/deploy/tmp62697
            mule-ejb-example-SNAPSHOT.jar-contents/mule-ds.xml
            12:56:06,954 DEBUG [MainDeployer] Watching new file: file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-example
            -SNAPSHOT.jar
            12:56:06,954 DEBUG [MainDeployer] create step for deployment file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb
            -example-SNAPSHOT.jar
            12:56:06,954 DEBUG [MainDeployer] create step for deployment file:/C:/java/jboss-4.0.1sp1/server/default/tmp/deploy/tmp6
            2697mule-ejb-example-SNAPSHOT.jar-contents/mule-ds.xml
            12:56:06,954 DEBUG [SARDeployer] Deploying SAR, create step: url file:/C:/java/jboss-4.0.1sp1/server/default/tmp/deploy/
            tmp62697mule-ejb-example-SNAPSHOT.jar-contents/mule-ds.xml
            12:56:06,954 DEBUG [SARDeployer] Registering service UCL=jmx.loading:UCL=4c562f
            12:56:06,954 DEBUG [ServiceCreator] About to create bean: jboss.jca:name=mule/connectionFactory,service=NoTxCM with code
            : org.jboss.resource.connectionmanager.NoTxConnectionManager
            12:56:06,964 DEBUG [ServiceCreator] Created bean: jboss.jca:name=mule/connectionFactory,service=NoTxCM
            12:56:06,964 DEBUG [ServiceCreator] About to create bean: jboss.jca:name=mule/connectionFactory,service=ManagedConnectio
            nPool with code: org.jboss.resource.connectionmanager.JBossManagedConnectionPool
            12:56:06,964 DEBUG [ServiceCreator] Created bean: jboss.jca:name=mule/connectionFactory,service=ManagedConnectionPool
            12:56:06,964 DEBUG [ServiceCreator] About to create bean: jboss.jca:name=mule/connectionFactory,service=ManagedConnectio
            nFactory with code: org.jboss.resource.connectionmanager.RARDeployment
            12:56:06,964 DEBUG [ServiceCreator] Created bean: jboss.jca:name=mule/connectionFactory,service=ManagedConnectionFactory

            12:56:06,974 DEBUG [ServiceConfigurator] ManagedConnectionFactoryProperties set to [properties: null] in jboss.jca:name=
            mule/connectionFactory,service=ManagedConnectionFactory
            12:56:06,974 DEBUG [ServiceConfigurator] RARName set to mule-ra-SNAPSHOT.rar in jboss.jca:name=mule/connectionFactory,se
            rvice=ManagedConnectionFactory
            12:56:06,974 DEBUG [ServiceConfigurator] ConnectionDefinition set to org.mule.ra.MuleConnectionFactory in jboss.jca:name
            =mule/connectionFactory,service=ManagedConnectionFactory
            12:56:06,974 DEBUG [ServiceController] recording that jboss.jca:name=mule/connectionFactory,service=ManagedConnectionFac
            tory depends on jboss.jca:name='mule-ra-SNAPSHOT.rar',service=RARDeployment
            12:56:06,974 DEBUG [ServiceConfigurator] considering OldRarDeployment with object name jboss.jca:name='mule-ra-SNAPSHOT.
            rar',service=RARDeployment
            12:56:06,974 DEBUG [ServiceController] recording that jboss.jca:name=mule/connectionFactory,service=ManagedConnectionPoo
            l depends on jboss.jca:name=mule/connectionFactory,service=ManagedConnectionFactory
            12:56:06,974 DEBUG [ServiceConfigurator] considering ManagedConnectionFactoryName with object name jboss.jca:name=mule/c
            onnectionFactory,service=ManagedConnectionFactory
            12:56:06,974 DEBUG [ServiceConfigurator] MinSize set to 0 in jboss.jca:name=mule/connectionFactory,service=ManagedConnec
            tionPool
            12:56:06,974 DEBUG [ServiceConfigurator] MaxSize set to 20 in jboss.jca:name=mule/connectionFactory,service=ManagedConne
            ctionPool
            12:56:06,974 DEBUG [ServiceConfigurator] BlockingTimeoutMillis set to 30000 in jboss.jca:name=mule/connectionFactory,ser
            vice=ManagedConnectionPool
            12:56:06,974 DEBUG [ServiceConfigurator] IdleTimeoutMinutes set to 15 in jboss.jca:name=mule/connectionFactory,service=M
            anagedConnectionPool
            12:56:06,974 DEBUG [ServiceConfigurator] Criteria set to ByNothing in jboss.jca:name=mule/connectionFactory,service=Mana
            gedConnectionPool
            12:56:06,974 DEBUG [ServiceController] recording that jboss.jca:name=mule/connectionFactory,service=NoTxCM depends on jb
            oss.jca:name=mule/connectionFactory,service=ManagedConnectionPool
            12:56:06,974 DEBUG [ServiceConfigurator] considering ManagedConnectionPool with object name jboss.jca:name=mule/connecti
            onFactory,service=ManagedConnectionPool
            12:56:06,984 DEBUG [ServiceConfigurator] JndiName set to mule/connectionFactory in jboss.jca:name=mule/connectionFactory
            ,service=NoTxCM
            12:56:06,984 DEBUG [ServiceController] recording that jboss.jca:name=mule/connectionFactory,service=NoTxCM depends on jb
            oss.jca:service=CachedConnectionManager
            12:56:06,984 DEBUG [ServiceConfigurator] considering CachedConnectionManager with object name jboss.jca:service=CachedCo
            nnectionManager
            12:56:06,984 DEBUG [ServiceCreator] About to create bean: jboss.jca:name=mule/connectionFactory,service=ConnectionFactor
            yBinding with code: org.jboss.resource.connectionmanager.ConnectionFactoryBindingService
            12:56:06,984 DEBUG [ServiceCreator] Created bean: jboss.jca:name=mule/connectionFactory,service=ConnectionFactoryBinding

            12:56:06,984 DEBUG [ServiceConfigurator] JndiName set to mule/connectionFactory in jboss.jca:name=mule/connectionFactory
            ,service=ConnectionFactoryBinding
            12:56:06,984 DEBUG [ServiceConfigurator] UseJavaContext set to true in jboss.jca:name=mule/connectionFactory,service=Con
            nectionFactoryBinding
            12:56:06,984 DEBUG [ServiceController] recording that jboss.jca:name=mule/connectionFactory,service=ConnectionFactoryBin
            ding depends on jboss.jca:name=mule/connectionFactory,service=NoTxCM
            12:56:06,984 DEBUG [ServiceConfigurator] considering ConnectionManager with object name jboss.jca:name=mule/connectionFa
            ctory,service=NoTxCM
            12:56:06,984 DEBUG [ServiceController] Creating service jboss.jca:name=mule/connectionFactory,service=NoTxCM
            12:56:06,984 DEBUG [ServiceController] waiting in create of jboss.jca:name=mule/connectionFactory,service=NoTxCM waiting
            on jboss.jca:name=mule/connectionFactory,service=ManagedConnectionPool
            12:56:06,984 DEBUG [ServiceController] Creating service jboss.jca:name=mule/connectionFactory,service=ManagedConnectionP
            ool
            12:56:06,984 DEBUG [ServiceController] waiting in create of jboss.jca:name=mule/connectionFactory,service=ManagedConnect
            ionPool waiting on jboss.jca:name=mule/connectionFactory,service=ManagedConnectionFactory
            12:56:06,984 DEBUG [ServiceController] Creating service jboss.jca:name=mule/connectionFactory,service=ManagedConnectionF
            actory
            12:56:06,984 DEBUG [RARDeployment] Creating jboss.jca:name=mule/connectionFactory,service=ManagedConnectionFactory
            12:56:06,984 DEBUG [RARDeployment] Created jboss.jca:name=mule/connectionFactory,service=ManagedConnectionFactory
            12:56:06,984 DEBUG [ServiceController] Creating dependent components for: jboss.jca:name=mule/connectionFactory,service=
            ManagedConnectionFactory dependents are: [ObjectName: jboss.jca:name=mule/connectionFactory,service=ManagedConnectionPoo
            l
            state: CONFIGURED
            I Depend On: jboss.jca:name=mule/connectionFactory,service=ManagedConnectionFactory

            Depends On Me: jboss.jca:name=mule/connectionFactory,service=NoTxCM
            ]
            12:56:06,984 DEBUG [ServiceController] Creating service jboss.jca:name=mule/connectionFactory,service=ManagedConnectionP
            ool
            12:56:06,984 DEBUG [JBossManagedConnectionPool] Creating jboss.jca:name=mule/connectionFactory,service=ManagedConnection
            Pool
            12:56:06,984 DEBUG [JBossManagedConnectionPool] Created jboss.jca:name=mule/connectionFactory,service=ManagedConnectionP
            ool
            12:56:06,984 DEBUG [ServiceController] Creating dependent components for: jboss.jca:name=mule/connectionFactory,service=
            ManagedConnectionPool dependents are: [ObjectName: jboss.jca:name=mule/connectionFactory,service=NoTxCM
            state: CONFIGURED
            I Depend On: jboss.jca:name=mule/connectionFactory,service=ManagedConnectionPool
            jboss.jca:service=CachedConnectionManager

            Depends On Me: jboss.jca:name=mule/connectionFactory,service=ConnectionFactoryBinding
            ]
            12:56:06,984 DEBUG [ServiceController] Creating service jboss.jca:name=mule/connectionFactory,service=NoTxCM
            12:56:06,984 DEBUG [NoTxConnectionManager] Creating jboss.jca:name=mule/connectionFactory,service=NoTxCM
            12:56:06,984 DEBUG [NoTxConnectionManager] Created jboss.jca:name=mule/connectionFactory,service=NoTxCM
            12:56:06,984 DEBUG [ServiceController] Creating dependent components for: jboss.jca:name=mule/connectionFactory,service=
            NoTxCM dependents are: [ObjectName: jboss.jca:name=mule/connectionFactory,service=ConnectionFactoryBinding
            state: CONFIGURED
            I Depend On: jboss.jca:name=mule/connectionFactory,service=NoTxCM

            Depends On Me: ]
            12:56:06,984 DEBUG [ServiceController] Creating service jboss.jca:name=mule/connectionFactory,service=ConnectionFactoryB
            inding
            12:56:06,984 DEBUG [ConnectionFactoryBindingService] Creating jboss.jca:name=mule/connectionFactory,service=ConnectionFa
            ctoryBinding
            12:56:06,994 DEBUG [ConnectionFactoryBindingService] Created jboss.jca:name=mule/connectionFactory,service=ConnectionFac
            toryBinding
            12:56:06,994 DEBUG [ServiceController] Creating dependent components for: jboss.jca:name=mule/connectionFactory,service=
            ConnectionFactoryBinding dependents are: []
            12:56:06,994 DEBUG [ServiceController] Creating service jboss.jca:name=mule/connectionFactory,service=ConnectionFactoryB
            inding
            12:56:06,994 DEBUG [ServiceController] Ignoring create request for service: jboss.jca:name=mule/connectionFactory,servic
            e=ConnectionFactoryBinding
            12:56:06,994 DEBUG [MainDeployer] Done with create step of deploying mule-ds.xml
            12:56:06,994 DEBUG [EJBDeployer] create, mule-ejb-example-SNAPSHOT.jar
            12:56:07,064 DEBUG [EJBDeployer] Verifying file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-example-SNAPSHOT.
            jar
            12:56:07,114 DEBUG [verifier] Bean checked: SenderEJB: Verified.
            12:56:07,124 DEBUG [verifier] Bean checked: TcpReceiverMDB: Verified.
            12:56:07,154 DEBUG [EJBDeployer] Deploying: file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-example-SNAPSHOT
            .jar
            12:56:07,154 DEBUG [ServiceController] Creating service jboss.j2ee:module=mule-ejb-example-SNAPSHOT.jar,service=EjbModul
            e
            12:56:07,154 DEBUG [EjbModule] Creating jboss.j2ee:module=mule-ejb-example-SNAPSHOT.jar,service=EjbModule
            12:56:07,164 DEBUG [EjbModule] createService, begin
            12:56:07,164 INFO [EjbModule] Deploying SenderEJB
            12:56:07,204 DEBUG [EjbModule] Creating WebClassLoader of class org.jboss.web.WebClassLoader
            12:56:07,244 DEBUG [EjbModule] creating binding for SenderEJB:stateless-rmi-invoker
            12:56:07,265 INFO [EjbModule] Deploying TcpReceiverMDB
            12:56:07,265 DEBUG [EjbModule] Creating WebClassLoader of class org.jboss.web.WebClassLoader
            12:56:07,275 DEBUG [EjbModule] creating binding for TcpReceiverMDB:message-inflow-driven-bean
            12:56:07,295 DEBUG [ServiceController] Creating service jboss.j2ee:jndiName=SenderEJB,service=EJB
            12:56:07,295 DEBUG [ServiceController] adding depends in ServiceController.register: []
            12:56:07,295 DEBUG [StatelessSessionContainer] Creating jboss.j2ee:jndiName=SenderEJB,service=EJB
            12:56:07,305 DEBUG [StatelessSessionContainer] Mapped send HASH 1333305190to public void org.mule.samples.ejb.SenderBean
            .send(java.lang.String,java.lang.String) throws javax.naming.NamingException,org.mule.umo.UMOException
            12:56:07,305 DEBUG [StatelessSessionContainer] Mapped Container method remove HASH -1842617161
            12:56:07,305 DEBUG [StatelessSessionContainer] Mapped Container method getHandle HASH 1182305581
            12:56:07,305 DEBUG [StatelessSessionContainer] Mapped Container method getEJBHome HASH -993218923
            12:56:07,305 DEBUG [StatelessSessionContainer] Mapped Container method getPrimaryKey HASH -131865408
            12:56:07,305 DEBUG [StatelessSessionContainer] Mapped Container method isIdentical HASH 285457048
            12:56:07,305 DEBUG [StatelessSessionContainer] Mapping create
            12:56:07,305 DEBUG [StatelessSessionContainer] Mapping remove
            12:56:07,305 DEBUG [StatelessSessionContainer] Mapping remove
            12:56:07,305 DEBUG [StatelessSessionContainer] Mapping getEJBMetaData
            12:56:07,305 DEBUG [StatelessSessionContainer] Mapping getHomeHandle
            12:56:07,315 DEBUG [ProxyFactory] Proxy Factory for SenderEJB initialized
            12:56:07,325 DEBUG [ServiceController] Creating service jboss.j2ee:jndiName=SenderEJB,plugin=pool,service=EJB
            12:56:07,325 DEBUG [StatelessSessionInstancePool] Creating jboss.j2ee:jndiName=SenderEJB,plugin=pool,service=EJB
            12:56:07,325 DEBUG [StatelessSessionInstancePool] Created jboss.j2ee:jndiName=SenderEJB,plugin=pool,service=EJB
            12:56:07,325 DEBUG [ServiceController] Creating dependent components for: jboss.j2ee:jndiName=SenderEJB,plugin=pool,serv
            ice=EJB dependents are: []
            12:56:07,325 DEBUG [StatelessSessionContainer] Created jboss.j2ee:jndiName=SenderEJB,service=EJB
            12:56:07,325 DEBUG [ServiceController] Creating dependent components for: jboss.j2ee:jndiName=SenderEJB,service=EJB depe
            ndents are: []
            12:56:07,325 DEBUG [EjbModule] Bound jmxName=jboss.j2ee:jndiName=SenderEJB,service=EJB, hash=2003796867into Registry
            12:56:07,325 DEBUG [ServiceController] Creating service jboss.j2ee:jndiName=local/TcpReceiverMDB,service=EJB
            12:56:07,325 DEBUG [ServiceController] adding depends in ServiceController.register: []
            12:56:07,325 DEBUG [MessageDrivenContainer] Creating jboss.j2ee:jndiName=local/TcpReceiverMDB,service=EJB
            12:56:07,325 DEBUG [MessageDrivenContainer] Mapped onCall -1150959509 to public java.lang.Object org.mule.samples.ejb.Si
            mpleReceiverMessageBean.onCall(org.mule.umo.UMOEventContext) throws java.lang.Exception
            12:56:07,325 DEBUG [ServiceController] Creating service jboss.j2ee:jndiName=local/TcpReceiverMDB,plugin=pool,service=EJB

            12:56:07,345 DEBUG [MessageDrivenInstancePool] Creating jboss.j2ee:jndiName=local/TcpReceiverMDB,plugin=pool,service=EJB

            12:56:07,345 DEBUG [MessageDrivenInstancePool] Created jboss.j2ee:jndiName=local/TcpReceiverMDB,plugin=pool,service=EJB
            12:56:07,345 DEBUG [ServiceController] Creating dependent components for: jboss.j2ee:jndiName=local/TcpReceiverMDB,plugi
            n=pool,service=EJB dependents are: []
            12:56:07,345 DEBUG [ServiceController] Creating service jboss.j2ee:binding=message-inflow-driven-bean,jndiName=local/Tcp
            ReceiverMDB,plugin=invoker,service=EJB
            12:56:07,345 DEBUG [JBossMessageEndpointFactory] Creating jboss.j2ee:binding=message-inflow-driven-bean,jndiName=local/T
            cpReceiverMDB,plugin=invoker,service=EJB
            12:56:07,345 DEBUG [JBossMessageEndpointFactory] Created jboss.j2ee:binding=message-inflow-driven-bean,jndiName=local/Tc
            pReceiverMDB,plugin=invoker,service=EJB
            12:56:07,345 DEBUG [ServiceController] Creating dependent components for: jboss.j2ee:binding=message-inflow-driven-bean,
            jndiName=local/TcpReceiverMDB,plugin=invoker,service=EJB dependents are: []
            12:56:07,345 DEBUG [MessageDrivenContainer] Created jboss.j2ee:jndiName=local/TcpReceiverMDB,service=EJB
            12:56:07,345 DEBUG [ServiceController] Creating dependent components for: jboss.j2ee:jndiName=local/TcpReceiverMDB,servi
            ce=EJB dependents are: []
            12:56:07,345 DEBUG [EjbModule] Bound jmxName=jboss.j2ee:jndiName=local/TcpReceiverMDB,service=EJB, hash=-939066058into R
            egistry
            12:56:07,345 DEBUG [EjbModule] Created jboss.j2ee:module=mule-ejb-example-SNAPSHOT.jar,service=EjbModule
            12:56:07,345 DEBUG [ServiceController] Creating dependent components for: jboss.j2ee:module=mule-ejb-example-SNAPSHOT.ja
            r,service=EjbModule dependents are: []
            12:56:07,345 DEBUG [MainDeployer] Done with create step of deploying mule-ejb-example-SNAPSHOT.jar
            12:56:07,345 DEBUG [MainDeployer] Begin deployment start file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-exa
            mple-SNAPSHOT.jar
            12:56:07,345 DEBUG [MainDeployer] Begin deployment start file:/C:/java/jboss-4.0.1sp1/server/default/tmp/deploy/tmp62697
            mule-ejb-example-SNAPSHOT.jar-contents/mule-ds.xml
            12:56:07,345 DEBUG [SARDeployer] Deploying SAR, start step: url file:/C:/java/jboss-4.0.1sp1/server/default/tmp/deploy/t
            mp62697mule-ejb-example-SNAPSHOT.jar-contents/mule-ds.xml
            12:56:07,345 DEBUG [ServiceController] starting service jboss.jca:name=mule/connectionFactory,service=NoTxCM
            12:56:07,345 DEBUG [ServiceController] waiting in start jboss.jca:name=mule/connectionFactory,service=NoTxCM on jboss.jc
            a:name=mule/connectionFactory,service=ManagedConnectionPool
            12:56:07,345 DEBUG [ServiceController] starting service jboss.jca:name=mule/connectionFactory,service=ManagedConnectionP
            ool
            12:56:07,345 DEBUG [ServiceController] waiting in start jboss.jca:name=mule/connectionFactory,service=ManagedConnectionP
            ool on jboss.jca:name=mule/connectionFactory,service=ManagedConnectionFactory
            12:56:07,345 DEBUG [ServiceController] starting service jboss.jca:name=mule/connectionFactory,service=ManagedConnectionF
            actory
            12:56:07,345 DEBUG [RARDeployment] Starting jboss.jca:name=mule/connectionFactory,service=ManagedConnectionFactory
            12:56:07,355 DEBUG [RARDeployment] setting property: Username to value defaultUser
            12:56:07,355 DEBUG [RARDeployment] set property Username to value defaultUser
            12:56:07,355 DEBUG [RARDeployment] setting property: Password to value defaultPassword
            12:56:07,355 DEBUG [RARDeployment] set property Password to value defaultPassword
            12:56:07,355 DEBUG [RARDeployment] Started jboss.jca:name=mule/connectionFactory,service=ManagedConnectionFactory
            12:56:07,355 DEBUG [ServiceController] Starting dependent components for: jboss.jca:name=mule/connectionFactory,service=
            ManagedConnectionFactory dependent components: [ObjectName: jboss.jca:name=mule/connectionFactory,service=ManagedConnect
            ionPool
            state: CREATED
            I Depend On: jboss.jca:name=mule/connectionFactory,service=ManagedConnectionFactory

            Depends On Me: jboss.jca:name=mule/connectionFactory,service=NoTxCM
            ]
            12:56:07,355 DEBUG [ServiceController] starting service jboss.jca:name=mule/connectionFactory,service=ManagedConnectionP
            ool
            12:56:07,355 DEBUG [JBossManagedConnectionPool] Starting jboss.jca:name=mule/connectionFactory,service=ManagedConnection
            Pool
            12:56:07,365 DEBUG [JBossManagedConnectionPool] Started jboss.jca:name=mule/connectionFactory,service=ManagedConnectionP
            ool
            12:56:07,365 DEBUG [ServiceController] Starting dependent components for: jboss.jca:name=mule/connectionFactory,service=
            ManagedConnectionPool dependent components: [ObjectName: jboss.jca:name=mule/connectionFactory,service=NoTxCM
            state: CREATED
            I Depend On: jboss.jca:name=mule/connectionFactory,service=ManagedConnectionPool
            jboss.jca:service=CachedConnectionManager

            Depends On Me: jboss.jca:name=mule/connectionFactory,service=ConnectionFactoryBinding
            ]
            12:56:07,365 DEBUG [ServiceController] starting service jboss.jca:name=mule/connectionFactory,service=NoTxCM
            12:56:07,365 DEBUG [NoTxConnectionManager] Starting jboss.jca:name=mule/connectionFactory,service=NoTxCM
            12:56:07,365 DEBUG [NoTxConnectionManager] Started jboss.jca:name=mule/connectionFactory,service=NoTxCM
            12:56:07,365 DEBUG [ServiceController] Starting dependent components for: jboss.jca:name=mule/connectionFactory,service=
            NoTxCM dependent components: [ObjectName: jboss.jca:name=mule/connectionFactory,service=ConnectionFactoryBinding
            state: CREATED
            I Depend On: jboss.jca:name=mule/connectionFactory,service=NoTxCM

            Depends On Me: ]
            12:56:07,365 DEBUG [ServiceController] starting service jboss.jca:name=mule/connectionFactory,service=ConnectionFactoryB
            inding
            12:56:07,365 DEBUG [ConnectionFactoryBindingService] Starting jboss.jca:name=mule/connectionFactory,service=ConnectionFa
            ctoryBinding
            12:56:07,365 DEBUG [ConnectionFactoryBindingService] Binding object 'org.mule.ra.DefaultMuleConnectionFactory@15837e8' i
            nto JNDI at 'java:mule/connectionFactory'
            12:56:07,365 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager
            'jboss.jca:name=mule/connectionFactory,service=ConnectionFactoryBinding to JNDI name 'java:mule/connectionFactory'
            12:56:07,365 DEBUG [ConnectionFactoryBindingService] Started jboss.jca:name=mule/connectionFactory,service=ConnectionFac
            toryBinding
            12:56:07,365 DEBUG [ServiceController] Starting dependent components for: jboss.jca:name=mule/connectionFactory,service=
            ConnectionFactoryBinding dependent components: []
            12:56:07,365 DEBUG [ServiceController] starting service jboss.jca:name=mule/connectionFactory,service=ConnectionFactoryB
            inding
            12:56:07,365 DEBUG [ServiceController] Ignoring start request for service: jboss.jca:name=mule/connectionFactory,service
            =ConnectionFactoryBinding
            12:56:07,375 DEBUG [MainDeployer] End deployment start on package: mule-ds.xml
            12:56:07,375 DEBUG [EJBDeployer] start application, deploymentInfo: org.jboss.deployment.DeploymentInfo@f5741d43 { url=f
            ile:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-example-SNAPSHOT.jar }
            deployer: org.jboss.ejb.EJBDeployer@143bf3d
            status: Starting
            state: START_DEPLOYER
            watch: file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-example-SNAPSHOT.jar
            altDD: null
            lastDeployed: 1113360966954
            lastModified: 1113360965752
            mbeans:
            jboss.j2ee:jndiName=SenderEJB,service=EJB state: Created
            jboss.j2ee:jndiName=local/TcpReceiverMDB,service=EJB state: Created
            , short name: mule-ejb-example-SNAPSHOT.jar, parent short name: null
            12:56:07,375 DEBUG [ServiceController] starting service jboss.j2ee:module=mule-ejb-example-SNAPSHOT.jar,service=EjbModul
            e
            12:56:07,375 DEBUG [EjbModule] Starting jboss.j2ee:module=mule-ejb-example-SNAPSHOT.jar,service=EjbModule
            12:56:07,375 DEBUG [EjbModule] startService, starting container: SenderEJB
            12:56:07,375 DEBUG [ServiceController] starting service jboss.j2ee:jndiName=SenderEJB,service=EJB
            12:56:07,375 DEBUG [StatelessSessionContainer] Starting jboss.j2ee:jndiName=SenderEJB,service=EJB
            12:56:07,375 DEBUG [StatelessSessionContainer] Begin java:comp/env for EJB: SenderEJB
            12:56:07,375 DEBUG [StatelessSessionContainer] TCL: org.jboss.util.loading.DelegatingClassLoader@1697d14
            12:56:07,375 DEBUG [StatelessSessionContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:s
            ervice=CorbaORB is not registered.
            12:56:07,385 WARN [StatelessSessionContainer] No resource manager found for mule/connectionFactory
            12:56:07,385 DEBUG [StatelessSessionContainer] End java:comp/env for EJB: SenderEJB
            12:56:07,385 DEBUG [BaseLocalProxyFactory] SenderEJB cannot be Bound, doesn't have local and local home interfaces
            12:56:07,385 DEBUG [ProxyFactory] (re-)Binding Home SenderEJB
            12:56:07,415 DEBUG [ProxyFactory] Bound SenderEJB to SenderEJB
            12:56:07,415 DEBUG [ServiceController] starting service jboss.j2ee:jndiName=SenderEJB,plugin=pool,service=EJB
            12:56:07,415 DEBUG [StatelessSessionInstancePool] Starting jboss.j2ee:jndiName=SenderEJB,plugin=pool,service=EJB
            12:56:07,415 DEBUG [StatelessSessionInstancePool] Started jboss.j2ee:jndiName=SenderEJB,plugin=pool,service=EJB
            12:56:07,415 DEBUG [ServiceController] Starting dependent components for: jboss.j2ee:jndiName=SenderEJB,plugin=pool,serv
            ice=EJB dependent components: []
            12:56:07,415 DEBUG [CachedConnectionInterceptor] start called in CachedConnectionInterceptor
            12:56:07,415 DEBUG [StatelessSessionContainer] Started jboss.j2ee:jndiName=SenderEJB,service=EJB
            12:56:07,415 DEBUG [ServiceController] Starting dependent components for: jboss.j2ee:jndiName=SenderEJB,service=EJB depe
            ndent components: []
            12:56:07,415 DEBUG [EjbModule] startService, starting container: TcpReceiverMDB
            12:56:07,415 DEBUG [ServiceController] starting service jboss.j2ee:jndiName=local/TcpReceiverMDB,service=EJB
            12:56:07,415 DEBUG [MessageDrivenContainer] Starting jboss.j2ee:jndiName=local/TcpReceiverMDB,service=EJB
            12:56:07,415 DEBUG [MessageDrivenContainer] Begin java:comp/env for EJB: TcpReceiverMDB
            12:56:07,415 DEBUG [MessageDrivenContainer] TCL: org.jboss.util.loading.DelegatingClassLoader@15b5c1f
            12:56:07,415 DEBUG [MessageDrivenContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:serv
            ice=CorbaORB is not registered.
            12:56:07,415 DEBUG [MessageDrivenContainer] Binding an EJBReference ejb/Sender
            12:56:07,425 DEBUG [MessageDrivenContainer] Binding ejb/Sender to ejb-link: SenderEJB -> SenderEJB
            12:56:07,425 DEBUG [MessageDrivenContainer] End java:comp/env for EJB: TcpReceiverMDB
            12:56:07,425 DEBUG [BaseLocalProxyFactory] TcpReceiverMDB cannot be Bound, doesn't have local and local home interfaces
            12:56:07,425 DEBUG [ServiceController] starting service jboss.j2ee:jndiName=local/TcpReceiverMDB,plugin=pool,service=EJB

            12:56:07,425 DEBUG [MessageDrivenInstancePool] Starting jboss.j2ee:jndiName=local/TcpReceiverMDB,plugin=pool,service=EJB

            12:56:07,425 DEBUG [MessageDrivenInstancePool] Started jboss.j2ee:jndiName=local/TcpReceiverMDB,plugin=pool,service=EJB
            12:56:07,425 DEBUG [ServiceController] Starting dependent components for: jboss.j2ee:jndiName=local/TcpReceiverMDB,plugi
            n=pool,service=EJB dependent components: []
            12:56:07,425 DEBUG [CachedConnectionInterceptor] start called in CachedConnectionInterceptor
            12:56:07,425 DEBUG [ServiceController] starting service jboss.j2ee:binding=message-inflow-driven-bean,jndiName=local/Tcp
            ReceiverMDB,plugin=invoker,service=EJB
            12:56:07,425 DEBUG [JBossMessageEndpointFactory] Starting jboss.j2ee:binding=message-inflow-driven-bean,jndiName=local/T
            cpReceiverMDB,plugin=invoker,service=EJB
            12:56:07,425 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
            12:56:07,425 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
            12:56:07,425 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
            12:56:07,425 ERROR [JBossMessageEndpointFactory] Starting failed jboss.j2ee:binding=message-inflow-driven-bean,jndiName=
            local/TcpReceiverMDB,plugin=invoker,service=EJB
            org.jboss.deployment.DeploymentException: Cannot locate resource adapter deployment null; - nested throwable: (javax.man
            agement.InstanceNotFoundException: jboss.jca:name='null',service=RARDeployment is not registered.)
            at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
            at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.resolveResourceAdapter(JBossMessageEndpointFactory.j
            ava:342)
            at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.startService(JBossMessageEndpointFactory.java:203)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
            at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
            at $Proxy51.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:416)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:171)
            at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:262)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
            at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:416)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy47.start(Unknown Source)
            at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:416)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy22.start(Unknown Source)
            at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:605)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
            at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy8.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:20
            4)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)

            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
            Caused by: javax.management.InstanceNotFoundException: jboss.jca:name='null',service=RARDeployment is not registered.
            at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:509)
            at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:533)
            at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.resolveResourceAdapter(JBossMessageEndpointFactory.j
            ava:336)
            ... 94 more
            12:56:07,435 WARN [ServiceController] Problem starting service jboss.j2ee:binding=message-inflow-driven-bean,jndiName=l
            ocal/TcpReceiverMDB,plugin=invoker,service=EJB
            org.jboss.deployment.DeploymentException: Cannot locate resource adapter deployment null; - nested throwable: (javax.man
            agement.InstanceNotFoundException: jboss.jca:name='null',service=RARDeployment is not registered.)
            at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
            at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.resolveResourceAdapter(JBossMessageEndpointFactory.j
            ava:342)
            at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.startService(JBossMessageEndpointFactory.java:203)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
            at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
            at $Proxy51.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:416)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:171)
            at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:262)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
            at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:416)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy47.start(Unknown Source)
            at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:416)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy22.start(Unknown Source)
            at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:605)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
            at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy8.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:20
            4)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)

            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
            Caused by: javax.management.InstanceNotFoundException: jboss.jca:name='null',service=RARDeployment is not registered.
            at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:509)
            at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:533)
            at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.resolveResourceAdapter(JBossMessageEndpointFactory.j
            ava:336)
            ... 94 more
            12:56:07,435 DEBUG [MessageDrivenContainer] Started jboss.j2ee:jndiName=local/TcpReceiverMDB,service=EJB
            12:56:07,435 DEBUG [ServiceController] Starting dependent components for: jboss.j2ee:jndiName=local/TcpReceiverMDB,servi
            ce=EJB dependent components: []
            12:56:07,435 DEBUG [EjbModule] Started jboss.j2ee:module=mule-ejb-example-SNAPSHOT.jar,service=EjbModule
            12:56:07,435 DEBUG [ServiceController] Starting dependent components for: jboss.j2ee:module=mule-ejb-example-SNAPSHOT.ja
            r,service=EjbModule dependent components: []
            12:56:07,435 INFO [EJBDeployer] Deployed: file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-example-SNAPSHOT.
            jar
            12:56:07,505 DEBUG [MainDeployer] End deployment start on package: mule-ejb-example-SNAPSHOT.jar
            12:56:07,505 DEBUG [MainDeployer] Deployed package: file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-example-
            SNAPSHOT.jar
            12:56:07,505 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-exa
            mple-SNAPSHOT.jar -> file:/C:/java/jboss-4.0.1sp1/server/default/deploy/mule-ejb-example-SNAPSHOT.jar

            • 3. Re: Failing to register MDB (jca.name='null')
              Ross Mason Newbie

              I figured I shuold post the datasource as well -

              <!DOCTYPE connection-factories PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN" "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">

              <connection-factories>
              <no-tx-connection-factory>
              <jndi-name>mule/connectionFactory</jndi-name>
              <rar-name>mule-ra-SNAPSHOT.rar</rar-name>
              <connection-definition>org.mule.ra.MuleConnectionFactory</connection-definition>
              <!-- <security-domain-and-application>MuleRealm</security-domain-and-application>-->
              </no-tx-connection-factory>
              </connection-factories>

              Cheers,

              Ross

              • 4. Re: Failing to register MDB (jca.name='null')
                Adrian Brock Master

                 

                "rossmason" wrote:

                <invoker-proxy-bindings>
                <invoker-proxy-binding>
                <name>mule-proxy-binding</name>

                12:56:07,435 WARN [ServiceController] Problem starting service jboss.j2ee:binding=message-inflow-driven-bean,jndiName=l
                ocal/TcpReceiverMDB,plugin=invoker,service=EJB
                org.jboss.deployment.DeploymentException: Cannot locate resource adapter deployment null; - nested throwable: (javax.man
                agement.InstanceNotFoundException: jboss.jca:name='null',service=RARDeployment is not registered.)
                at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)


                They don't match otherwise it would be jboss.j2ee:binding=mule-proxy-binding,etc.
                which tells me it isn't even reading the META-INF/jboss.xml

                That outbound configuration (-ds.xml) is irrelevent for inbound.