0 Replies Latest reply: Jul 15, 2011 3:03 AM by jboss beginner RSS

Tibco EMS + jboss 6

jboss beginner Newbie

Hello,

 

I'm trying to use JBoss 6 with Tibco EMS.

I followed http://community.jboss.org/wiki/JBossEAP5IntegrationwithTibcoEMS

 

 

<?xml version="1.0" encoding="UTF-8"?>

<connection-factories>

<!-- =================== TIBCO EMS JMS provider loader ================== -->

 

  <mbean code="org.jboss.jms.jndi.JMSProviderLoader"

            name=":service=JMSProviderLoader,name=TibjmsProvider">

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

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

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

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

    <attribute name="Properties">    

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

       java.naming.provider.url=tcp://localhost:11051

    </attribute>

  </mbean>

 

  <!-- Redirect QueueConnectionFactory to TIBCO Enterprise Message Service -->

 

  <mbean code="org.jboss.naming.NamingAlias"

            name="DefaultDomain:service=NamingAlias,fromName=QueueConnectionFactory">

    <attribute name="ToName">tibjmsnaming://localhost/XAQueueConnectionFactory</attribute>

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

  </mbean>

 

 

  <mbean code="org.jboss.naming.NamingAlias"

            name="DefaultDomain:service=NamingAlias,fromName=ConnectionFactory">

    <attribute name="ToName">tibjmsnaming://localhost/QueueConnectionFactory</attribute>

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

  </mbean>

 

  <tx-connection-factory>

    <jndi-name>TibcoXA</jndi-name>

    <xa-transaction></xa-transaction>

    <rar-name>jms-ra.rar</rar-name>

    <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>

    <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Queue</config-property>

    <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/TIBCOJMSProvider</config-property>

    <max-pool-size>20</max-pool-size>

    <security-domain-and-application>JmsXARealm</security-domain-and-application>

    <config-property name="UserName" type="java.lang.String">LOCAL_ANY_Messaging_usr</config-property>

    <config-property name="Password" type="java.lang.String"></config-property>

 

  </tx-connection-factory>

 

<!-- ==================================================================== -->

</connection-factories>

 

 

The Jboss 6 cannot find org.jboss.resource.adapter.jms.JmsConnectionFactory.

 

 

DEPLOYMENTS IN ERROR:

  Deployment "vfs:///xplace/server/jboss-6.0.0.Final/server/default/deploy/tibco-jms-ds.xml" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: ConnectionDefinition 'null' not found in rar 'jms-ra.rar'

 

    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370) [:2.2.0.GA]

 

The jms-ra.rar has been completely changed to hornetq in jboss6?

So what is the new way of doing this?

 

thanks for help.