[jboss-user] [JBoss Messaging Users] - Another Exception

sacauskis do-not-reply at jboss.com
Mon Nov 23 14:25:39 EST 2009


I'm getting the following exception when running a simple queue example. The problem is that the code is trying to invoke a constructor in org.jboss.remoting.Client that does not exist.  I'm running jboss messaging 1.4.5.GA and jboss 4.2.3GA.




org.jboss.jms.exception.MessagingJMSException: Failed to invoke Does the queue exist?org.jboss.jms.exception.MessagingJMSException: Failed to invoke
	at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:271)
	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:198)
	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
	at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:80)

	at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
	at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
	at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:115)
	at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:109)
	at com.gdit.listener.JMSExample.testMessage(JMSExample.java:36)
	at com.gdit.listener.JMSExample.main(JMSExample.java:20)
Caused by: java.lang.NoSuchMethodError: org.jboss.remoting.Client.connect(Lorg/jboss/remoting/ConnectionListener;Ljava/util/Map;)V
	at org.jboss.jms.client.remoting.JMSRemotingConnection$1.run(JMSRemotingConnection.java:374)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:368)
	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:165)
	... 10 more

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267126#4267126

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267126



More information about the jboss-user mailing list