1 Reply Latest reply on Oct 17, 2011 3:27 AM by mani v

    To connnect with tibco remote queue from jboss-esb file.

    mani v Newbie

      Test Case:-

       

      To connnect with tibco remote queue from jboss-esb file.

       

      -----------------------------------------------------------------

       

      config in jboss-esb.xml file

      -----------------------------------------------

      <providers>

      <jms-jca-provider name="JBossMessaging"

         connection-factory="QueueConnectionFactory"

         jndi-URL="tcp://itlinux36.hq.emirates.com:7223"

         jndi-context-factory="com.tibco.tibjms.naming.TibjmsInitialContextFactory"

         providerAdapterJNDI="java:/TibcoJMSProvider">

         <jms-bus busid="jms_p2_channel">

          <jms-message-filter dest-type="QUEUE"

           dest-name="TIBCO.JBOSS.TEST" transacted="true" />

         </jms-bus>

        </jms-jca-provider>

      </providers> 

      ---------------------------------------------------

       

      jms-ds.xml in default/deploy/messaging location

      ----------------------------------------

      <mbean code="org.jboss.jms.jndi.JMSProviderLoader" name="jboss.messaging:service=JMSProviderLoader,name=TibjmsProvider">  

                 <attribute name="ProviderName">TibcoJMSProvider</attribute>  

                 <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>  

                 <attribute name="FactoryRef">ConnectionFactory</attribute>  

                 <attribute name="QueueFactoryRef">QueueConnectionFactory</attribute>  

                 <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>  

                 <attribute name="Properties">

                     java.naming.factory.initial=com.tibco.tibjms.naming.TibjmsInitialContextFactory

                     java.naming.factory.url.pkgs=com.tibco.tibjms.naming

                     java.naming.provider.url=tcp://<tibco server ip>:<tibco port>

                 </attribute>  

         </mbean>

      -----------------------------------------------

       

      Exception

      -----------------------------

      Error installing to Real: name=vfsfile:/D:/jboss-soa-p-standalone.5.0.0/jboss-esb/server/default/deploy/TestEsbProj.esb/ state=PreReal mode=Manual requiredState=Real

      org.jboss.deployers.spi.DeploymentException: Error deploying TestEsbProj.esb: No container configured with name 'Message Driven Bean''

      at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196)

      at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:61)

      at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56)

      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1440)

      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1158)

      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1099)

      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)

      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)

      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)

      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:823)

      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:782)

      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)

      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:409)

      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

      at java.lang.Thread.run(Thread.java:619)

      Caused by: java.lang.RuntimeException: No container configured with name 'Message Driven Bean''

      at org.jboss.ejb3.Ejb3AnnotationHandler.getMDB(Ejb3AnnotationHandler.java:336)

      at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:218)

      at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:734)

      at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:685)

      at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:667)

      at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:630)

      at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:507)

      at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:182)

      ... 29 more

      -------------------------------------------------------

       

      when project get deploy above exception happens....

      please update to resolve as soon as possible.

       

      i am able to see "Standard Message Driven Bean" container configuration in standardjboss.xml file. but from where "message driven bean" container is being expected.. ?

      how i can configure my own container configuration environment. coz i tryied with standardjboss.xml by adding invoker-proxy-binding and container config but nothing is happening....