Atomikos Forum

-7: the XA resource has become unavailable

I have an application that is trying to submit five messages to a JMS queue in an XA transaction.

I get the following error trace:

 WARN [Atomikos:53] (Slf4jConsole.java:82) - Unexpected error in commit
com.atomikos.icatch.SysException: XA resource 'TibcoJMSWhateverArbitrary': commit for XID '31302E33302E32362E35392E746D30303030323030303538:31302E33302E32362E35392E746D32' raised -7: the XA resource has become unavailable
    at com.atomikos.datasource.xa.XAResourceTransaction.commit(XAResourceTransaction.java:1007)
    at com.atomikos.icatch.imp.CommitMessage.send(CommitMessage.java:94)
    at com.atomikos.icatch.imp.PropagationMessage.submit(PropagationMessage.java:86)
    at com.atomikos.icatch.imp.Propagator$PropagatorThread.run(Propagator.java:62)
    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)


I have no idea what this means or why it is happening. It happens every time I run my program.

The configurations associated with 'TibcoJMSWhateverArbitrary' are:

    <bean id="xaJmsConnectionFactory" class="com.tibco.tibjms.TibjmsXAQueueConnectionFactory">
        <property name="serverUrl" value="tcp://localhost:7222"/>
    </bean>

    <bean id="connectionFactory" class="com.atomikos.jms.QueueConnectionFactoryBean" init-method="init" >
        <property name="xaQueueConnectionFactory" ref="xaJmsConnectionFactory"/>
        <property name="resourceName" value="TibcoJMSWhateverArbitrary" />
    </bean>
Tony Ennis Send private email
Monday, July 12, 2010
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics