aspose file tools*
The moose likes JBoss/WildFly and the fly likes Issue with JBoss Messaging Upgrade [org.jboss.jms.exception.MessagingJMSException: Failed to invoke] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Issue with JBoss Messaging Upgrade [org.jboss.jms.exception.MessagingJMSException: Failed to invoke]" Watch "Issue with JBoss Messaging Upgrade [org.jboss.jms.exception.MessagingJMSException: Failed to invoke]" New topic
Author

Issue with JBoss Messaging Upgrade [org.jboss.jms.exception.MessagingJMSException: Failed to invoke]

Vikram Saxena
Ranch Hand

Joined: Dec 16, 2008
Posts: 53
Hello,
I have my JBoss Server version 4.2.3 GA running with JbossMessaging 1.4.0 SP3 . This version of the Jboss Messaging requires the jboss-remoting.jar version to be 2.2.2 SP4.

Now, as a part of the JBoss Messaging upgrade to 1.4.4, we have to update the jboss-remoting.jar to 2.2.3.
I did the same and updated the messaging client.jar to all my clients which are posting messages on my queues.
But now, while tunning my client program I am getting the following exception :

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.StateCreationAspect_z_handleCreateConnectionDelegate_1482257.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_1482257.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.createQueueConnection(JBossConnectionFactory.java:101)
at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
.
.
.
.
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:362)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:356)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:165)



It seems to be that the version upgrade of the jboss messaging has some changes to the methods.
I want to know , where am I making the mistake:
1. Is it the version of the jars which I am using is incorrect [mainly jboss-remoting.jar]
2. Is it there some additional jars which have to be provided ?

Also, let me know if I can provide some more information ?

Vikram
SCJP 5 , SCBCD [Prep Started ] , WLS 8.1 Server Admin
Vikram Saxena
Ranch Hand

Joined: Dec 16, 2008
Posts: 53
Guys can anyone look into this one as well
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue with JBoss Messaging Upgrade [org.jboss.jms.exception.MessagingJMSException: Failed to invoke]
 
Similar Threads
MessagingJMSException from jnlp
NameNotFoundException with topic name not bound message
error on jboss start up
Unable to connect to JMS Server
Failed to download and/or install client side AOP stack