« Return to Thread: jbossts xa recovery

jbossts xa recovery

by mpolovincak :: Rate this Message:

| View in Thread

Hi,
we have configured swiftmq as follows in jms-ds.xml:

  <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
      name="jboss.mq:service=JMSProviderLoader,name=RemoteJMSProvider,server=172.26.214.13">
    <attribute name="ProviderName">DefaultJMSProvider</attribute>
    <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
    <!-- The queue connection factory -->
    <attribute name="QueueFactoryRef">QueueConnectionFactory</attribute>
    <!-- The topic factory -->
    <attribute name="TopicFactoryRef">QueueConnectionFactory</attribute>
    <!-- The combined factory -->
    <attribute name="FactoryRef">QueueConnectionFactory</attribute>
    <!-- SwiftMQ -->
    <attribute name="Properties">
       java.naming.factory.initial=com.swiftmq.jndi.InitialContextFactoryImpl
       java.naming.provider.url=smqp://10.10.10.10:4001/timeout=10000
    </attribute>
  </mbean>

When there is unchanged xarecovery module set in jbossts-properties.xml:

<property name="com.arjuna.ats.jta.recovery.XAResourceRecovery.JBMESSAGING1"
           value="org.jboss.jms.server.recovery.MessagingXAResourceRecovery;java:/DefaultJMSProvider"/>

jbossts throws warnings:

21:43:55,690 WARN  [Thread-9] () com.arjuna.ats.jta.logging.loggerI18N - [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource < 131075, 29, 27, 4945551024848484848495857544997585210155515252545658491025049551024848484848495857544997585210155515252545658491025051 >
21:43:55,691 WARN  [Thread-9] () com.arjuna.ats.jta.logging.loggerI18N - [com.arjuna.ats.internal.jta.resources.arjunacore.noresource] [com.arjuna.ats.internal.jta.resources.arjunacore.noresource] No XAResource to recover < 131075, 29, 27, 4945551024848484848495857544997585210155515252545658491025049551024848484848495857544997585210155515252545658491025051 >

Can anybody help with idea how to setup xarecovery module in jbossts for swiftmq xaresource?

Only swiftmq.jar is used, no JCA connector - due to historical reason.

 « Return to Thread: jbossts xa recovery