#1 2010-11-22 20:39:36

maherAzz
Member
Registered: 2010-11-04
Posts: 12

tmomoutput with Jboss 5

Hello

I created a job witch send same data from a file to a JMS Jboss 4 queue - this works fine on local or remote jboss server call .

When i tried to use the same job to sand data to Jboss 5 JMS queue it works fine when my jboss is running on localhost ... but i got the following exception when i try to send to a remote jboss 5 sever:

java.lang.RuntimeException: Failed to download and/or install client side AOP stack


any issue ??

ps: i use a tmomoutput component to send the data to the JMS queue .

Thks

Offline

 

#2 2010-11-24 14:45:31

maherAzz
Member
Registered: 2010-11-04
Posts: 12

Re: tmomoutput with Jboss 5

This is the whole tracktrace :

Exception in component tMomOutput_1
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.createConnection(JBossConnectionFactory.java:87)
    at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82)
    at testmom.outputmomtest_0_1.outputMOMTest.tRowGenerator_1Process(outputMOMTest.java:465)
    at testmom.outputmomtest_0_1.outputMOMTest.runJobInTOS(outputMOMTest.java:870)
    at testmom.outputmomtest_0_1.outputMOMTest.main(outputMOMTest.java:744)
Caused by: org.jboss.jms.exception.MessagingNetworkFailureException: Failed to connect client
    at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:324)
    at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:243)
    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)
    ... 5 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:447)
    at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:348)
    at org.jboss.remoting.Client.connect(Client.java:610)
    at org.jboss.remoting.Client.connect(Client.java:560)
    at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:320)
    ... 9 more
Caused by: java.lang.RuntimeException: vma-devapp-02
    at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.<init>(MicroSocketClientInvoker.java:249)
    at org.jboss.remoting.transport.socket.SocketClientInvoker.<init>(SocketClientInvoker.java:72)
    at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.<init>(BisocketClientInvoker.java:160)
    at org.jboss.remoting.transport.bisocket.TransportClientFactory.createClientInvoker(TransportClientFactory.java:44)
    ... 18 more
Caused by: java.net.UnknownHostException: vma-devapp-02
    at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
    at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
    at java.net.InetAddress.getAddressFromNameService(Unknown Source)
    at java.net.InetAddress.getAllByName0(Unknown Source)
    at java.net.InetAddress.getAllByName(Unknown Source)
    at java.net.InetAddress.getAllByName(Unknown Source)
    at java.net.InetAddress.getByName(Unknown Source)
    at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setup(MicroSocketClientInvoker.java:369)
    at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.<init>(MicroSocketClientInvoker.java:244)
    ... 21 more
[statistics] disconnected
Job outputMOMTest terminé ŕ 14:43 24/11/2010. [Code sortie=1]


Any one have an idea pliz ??

Offline

 

#3 2010-11-25 13:03:53

dafonso
Member
Registered: 2010-10-20
Posts: 40

Re: tmomoutput with Jboss 5

Hi maherAzz,

I just read the stack trace output and altough I've never used the tMOM components, there's something that stands to me that may well be the answer to your problems.

Code:

Caused by: java.net.UnknownHostException: vma-devapp-02

Are you sure you are using the right host on the tMOM component?

Hope this helps!

Last edited by dafonso (2010-11-25 13:05:11)

Offline

 

Board footer

Powered by FluxBB