NoSuchMethodError when trying to connect to JMS

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NoSuchMethodError when trying to connect to JMS

David-8

Hi,



I'm using Geronimo M3, I've defined a JMS queue factory and queue, as described in the Geronimo book, but when I try to create a JMS connection, I get the following exception:



java.lang.NoSuchMethodError: org.codehaus.activemq.ActiveMQSession.setLocalTrans

actionEventListener(Lorg/codehaus/activemq/ra/LocalTransactionEventListener;)V

        at org.codehaus.activemq.ra.ActiveMQManagedConnection.createSession(ActiveMQManagedConnection.java:98)

        at org.codehaus.activemq.ra.ActiveMQManagedConnection.<init>(ActiveMQManagedConnection.java:88)

        at org.codehaus.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:82)

        at org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:41)

        at org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41)

        at org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:59)

        at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:70)

        at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:47)

        at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:82)

        at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)

        at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)

        at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:56)

        at org.codehaus.activemq.ra.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:86)

        at org.codehaus.activemq.ra.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:66)

        at org.codehaus.activemq.ra.ActiveMQConnectionFactory.createQueueConnection(ActiveMQConnectionFactory.java:113)

        at $javax.jms.QueueConnectionFactory$$FastClassByCGLIB$$ad3ed1d1.invoke(<generated>)

        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:183)

        at org.apache.geronimo.connector.ConnectorMethodInterceptor.intercept(ConnectorMethodInterceptor.java:54)

        at $javax.jms.ConnectionFactory$$EnhancerByCGLIB$$c4aac3ff.createQueueConnection(<generated>)





Has anyone else encountered this?



Thanks,



David Oren

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


Reply | Threaded
Open this post in threaded view
|

Re: NoSuchMethodError when trying to connect to JMS

Bruce Snyder
On 5/22/05, David <[hidden email]> wrote:

> I'm using Geronimo M3, I've defined a JMS queue factory and queue, as described in the Geronimo book, but when I try to create a JMS connection, I get the following exception:

I recommend grabbing the source from SVN and building it by following
the instructions on the wiki instead of using M3. M3 is considered to
be extremely old at this time.

BTW, we're currently discussing the possibility of releasing M4 soon.

Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

The Castor Project
http://www.castor.org/

Apache Geronimo
http://geronimo.apache.org/