Atomikos Forum

XA connection on weblogic 8.1 Sp6 and MQ 6.0

Hi,

I am having problem initializing the com.atomikos.jms.QueueConnectionFactoryBean using spring config.

Running this on Weblogic 8.1 Sp6 and MQ6. Will apreciate if anyone can see if anything is missing.

The error I am getting is


java.lang.NoSuchMethodError: javax.jms.XAConnectionFactory.createXAConnection()Ljavax/jms/XAConnection;
        at com.atomikos.datasource.xa.jms.JmsTransactionalResource.refreshXAConnection(Unknown Source)
        at com.atomikos.datasource.xa.XATransactionalResource.getXAResource(Unknown Source)
        at com.atomikos.datasource.xa.XATransactionalResource.endRecovery(Unknown Source)
        at com.atomikos.icatch.imp.TransactionServiceImp.recover(Unknown Source)
        at com.atomikos.datasource.xa.XATransactionalResource.setRecoveryService(Unknown Source)
        at com.atomikos.icatch.system.Configuration.addResource(Unknown Source)
        at com.atomikos.jms.QueueConnectionFactoryBean.checkSetup(Unknown Source)
        at com.atomikos.jms.AbstractConnectionFactoryBean.init(Unknown Source)
        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)
Amit Bande Send private email
Friday, August 20, 2010
 
 
Hi,

Looks like you have the wrong version of the jms.jar in your classpath. Did you try with the one included in the download of TransactionsEssentials?

HTH
Guy Pardon Send private email
Saturday, August 21, 2010
 
 
Thanks. That was infact the cause if the problem.
Setting PRE_CLASSPATH in weblogic to proper jar solved the problem.
Amit Bande Send private email
Friday, September 03, 2010
 
 

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

Other recent topics Other recent topics