aspose file tools*
The moose likes JBoss/WildFly and the fly likes Failed to download and/or install client side AOP stack Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Failed to download and/or install client side AOP stack" Watch "Failed to download and/or install client side AOP stack" New topic
Author

Failed to download and/or install client side AOP stack

Murty Medisetti
Greenhorn

Joined: Jan 23, 2010
Posts: 23
Hi Guys,

Any idea about this error? I am new to JBoss. I am converting my application from 3.2.7 to 5.0 and I got below error.

Code:
qFactory = getQueueConnectionFactory(getQueueFactoryName()); --Line 1
cmbQ = getQueue(getSendQueueName());---Line2
qConnection = qFactory.createQueueConnection(); ---Line3
qSession = qConnection.createQueueSession(false, getSessionType()); --Line4

Error at Line3 :

2011-03-02 12:28:52,992 [main] ERROR nnectionFactory.java: 198 - Failed to download and/or install client side AOP stack
org.jboss.jms.exception.MessagingNetworkFailureException: Failed to connect client
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:313)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate $ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:232)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java)
at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75)
at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
at com.express_scripts.imms.interrogationengine.batchmgmt.JMSBatchProcessor.setupQueue(JMSBatchProcessor.java:229)
at com.express_scripts.imms.interrogationengine.batchmgmt.JMSBatchProcessor.<init>(JMSBatchProcessor.java:84)
at com.express_scripts.imms.interrogationengine.batchmgmt.BatchLauncher.runBatch(BatchLauncher.java:96)
at com.express_scripts.imms.interrogationengine.batchmgmt.BatchLauncher.main(BatchLauncher.java:57)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:453)
at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:352)
at org.jboss.remoting.Client.connect(Client.java:512)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:309)
... 10 more
Caused by: java.lang.NoSuchMethodError: org.jboss.util.propertyeditor.PropertyEditors.mapJavaBeanProperties(Ljava/lang/Object;Ljava/util/Properties;Z)V
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.mapJavaBeanProperties(MicroSocketClientInvoker.java:1280)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setup(MicroSocketClientInvoker.java:496)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.<init>(MicroSocketClientInvoker.java:275)
at org.jboss.remoting.transport.socket.SocketClientInvoker.<init>(SocketClientInvoker.java:78)
at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.<init>(BisocketClientInvoker.java:164)
at org.jboss.remoting.transport.bisocket.TransportClientFactory.createClientInvoker(TransportClientFactory.java:44)
... 18 more
java.lang.RuntimeException: Failed to download and/or install client side AOP stack
at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:199)
at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
at com.express_scripts.imms.interrogationengine.batchmgmt.JMSBatchProcessor.setupQueue(JMSBatchProcessor.java:229)
at com.express_scripts.imms.interrogationengine.batchmgmt.JMSBatchProcessor.<init>(JMSBatchProcessor.java:84)
at com.express_scripts.imms.interrogationengine.batchmgmt.BatchLauncher.runBatch(BatchLauncher.java:96)
at com.express_scripts.imms.interrogationengine.batchmgmt.BatchLauncher.main(BatchLauncher.java:57)
Caused by: org.jboss.jms.exception.MessagingNetworkFailureException: Failed to connect client
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:313)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate $ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:232)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java)
at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75)
at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
... 6 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:453)
at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:352)
at org.jboss.remoting.Client.connect(Client.java:512)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:309)
... 10 more
Caused by: java.lang.NoSuchMethodError: org.jboss.util.propertyeditor.PropertyEditors.mapJavaBeanProperties(Ljava/lang/Object;Ljava/util/Properties;Z)V
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.mapJavaBeanProperties(MicroSocketClientInvoker.java:1280)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setup(MicroSocketClientInvoker.java:496)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.<init>(MicroSocketClientInvoker.java:275)
at org.jboss.remoting.transport.socket.SocketClientInvoker.<init>(SocketClientInvoker.java:78)
at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.<init>(BisocketClientInvoker.java:164)
at org.jboss.remoting.transport.bisocket.TransportClientFactory.createClientInvoker(TransportClientFactory.java:44)
... 18 more
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Sounds like there is a mismatch between JARs files. What JARs are you packaging with your app? Exactly what steps did you do to port your app? Note that AS 3.2.7 uses JBoss MQ (I think) while 5.0 (you really should be using 5.1.0.GA, by the way) using JBoss Messaging. Any messaging configuration you did for AS 3.2.7 cannot be moved to 5.1.0 - you will have to completely configure messaging.


JBoss In Action
Murty Medisetti
Greenhorn

Joined: Jan 23, 2010
Posts: 23
I am able to run from command prompt successfuly. but the problem is while debugging my application in Eclipse. i am using 'java.naming.provider.url=localhost:1099' but with command prompt I am using 1097.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Then Eclipse is probably screwing something up. Like it usually does. One way to track this down is to add the -verbose:class option for the JBoss AS server within Eclipse. This option causes the JVM to print out each class file loaded and the JAR it was loaded from. Hopefully the console within Eclipse will be able to handle the copious output that this option provides. Examine the output to determine which JAR the org.jboss.util.propertyeditor.PropertyEditors class came from. If that one is fine, also look for org.jboss.remoting.transport.socket.MicroSocketClientInvoker.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Failed to download and/or install client side AOP stack