[jboss-user] [JBoss Messaging] - 5.1.0.GA and Messaging 1.4.4 samples doesn't works

kpupkov do-not-reply at jboss.com
Sat Jun 6 20:45:47 EDT 2009


Buildfile: build.xml

identify:
     [echo] ###########################################################################
     [echo] #                       Running the TOPIC example                         #
     [echo] ###########################################################################
     [echo] The topic:      testTopic
     [echo] The client jar: ../../../output/lib/jboss-messaging-client.jar

sanity-check:

init:

compile:

run:
     [java] Topic /topic/testTopic exists
     [java] 17:30:40,744 WARN  @main [MicroSocketClientInvoker] numberOfRetries is no longer used
     [java] org.jboss.jms.exception.MessagingJMSException: Failed to invoke
     [java] 	at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:271)
     [java] 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:198)
     [java] 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
     [java] 	at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:80)
     [java] 	at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_24216257.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_24216257.java)
     [java] 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
     [java] 
     [java] Please verify if you have access to the server. If you are using JBossEAP maybe you don't have security access
     [java] 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
     [java] 	at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
     [java] 	at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)
     [java] 	at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82)
     [java] 	at org.jboss.example.jms.topic.TopicExample.example(TopicExample.java:67)
     [java] 	at org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:147)
     [java] 	at org.jboss.example.jms.topic.TopicExample.main(TopicExample.java:132)
     [java] Caused by: java.lang.NoSuchMethodError: org.jboss.remoting.Client.connect(Lorg/jboss/remoting/ConnectionListener;Ljava/util/Map;)V
     [java] 	at org.jboss.jms.client.remoting.JMSRemotingConnection$1.run(JMSRemotingConnection.java:362)
     [java] 	at java.security.AccessController.doPrivileged(Native Method)
     [java] 	at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:356)
     [java] 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:165)
     [java] 	... 11 more
     [java] 
     [java] #####################
     [java] ###    FAILURE!   ###
     [java] #####################

BUILD FAILED

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

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



More information about the jboss-user mailing list