I am using jboss-4.0.3SP1 AS. I am not using a stand-alone messaging server. 
The messaging version is I am using is from JBoss Messaging 1.0.0.GA. 

I did not find any jboss-messaging-client.jar file in this distribution so to 
speak. There exists a jboss-messaging-client-scoped.jar in this directory. 
Should I be using this one?

I downloaded the jboss-messaging-1.0.1.CR1 distribution and am using the 
jboss-messaging-client.jar file present there in.

I tried running examples and they went through just fine. Finally, I run my 
client in this manner.

java -cp 
..\lib\jboss-messaging-client.jar;..\lib\jbossall-client.jar;C:\jboss-4.0.3SP1\client\jboss-j2ee.jar;.
 polygraph/PolygraphMessageProducer 

This still hangs and here's the complete stack dump..

 
  | Looking up:: JBossQueue[A]
  | Full thread dump Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode):
  | 
  | "SocketServerInvoker#0-3474" prio=6 tid=0x02ec5e18 nid=0x1594 runnable 
[0x030ef000..0x030efa68]
  |     at java.net.PlainSocketImpl.socketAccept(Native Method)
  |     at java.net.PlainSocketImpl.accept(Unknown Source)
  |     - locked <0x070900a8> (a java.net.SocksSocketImpl)
  |     at java.net.ServerSocket.implAccept(Unknown Source)
  |     at java.net.ServerSocket.accept(Unknown Source)
  |     at 
org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:383)
  |     at java.lang.Thread.run(Unknown Source)
  | 
  | "RMI ConnectionExpiration-[130.20.106.144:1098]" daemon prio=6 
tid=0x02e87b98 nid=0x48c waiting on condition [0x030af000..0x030afae8]
  |     at java.lang.Thread.sleep(Native Method)
  |     at sun.rmi.transport.tcp.TCPChannel$Reaper.run(Unknown Source)
  |     at java.lang.Thread.run(Unknown Source)
  | 
  | "GC Daemon" daemon prio=2 tid=0x02dc0a58 nid=0xb0 in Object.wait() 
[0x0306f000..0x0306fb68]
  |     at java.lang.Object.wait(Native Method)
  |     - waiting on <0x07509880> (a sun.misc.GC$LatencyLock)
  |     at sun.misc.GC$Daemon.run(Unknown Source)
  |     - locked <0x07509880> (a sun.misc.GC$LatencyLock)
  | 
  | "RMI RenewClean-[130.20.106.144:1098]" daemon prio=6 tid=0x02e01ce0 
nid=0xb84 in Object.wait() [0x0302f000..0x0302fbe8]
  |     at java.lang.Object.wait(Native Method)
  |     - waiting on <0x07509530> (a java.lang.ref.ReferenceQueue$Lock)
  |     at java.lang.ref.ReferenceQueue.remove(Unknown Source)
  |     - locked <0x07509530> (a java.lang.ref.ReferenceQueue$Lock)
  |     at 
sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(Unknown Source)
  |     at java.lang.Thread.run(Unknown Source)
  | 
  | "Low Memory Detector" daemon prio=6 tid=0x00b72778 nid=0x1778 runnable 
[0x00000000..0x00000000]
  | 
  | "CompilerThread0" daemon prio=10 tid=0x00b71478 nid=0x490 waiting on 
condition [0x00000000..0x02cefa4c]
  | 
  | "Signal Dispatcher" daemon prio=10 tid=0x00b70828 nid=0x4a0 waiting on 
condition [0x00000000..0x00000000]
  | 
  | "Finalizer" daemon prio=8 tid=0x00b673c8 nid=0xbb8 in Object.wait() 
[0x02c6f000..0x02c6fa68]
  |     at java.lang.Object.wait(Native Method)
  |     - waiting on <0x074fab68> (a java.lang.ref.ReferenceQueue$Lock)
  |     at java.lang.ref.ReferenceQueue.remove(Unknown Source)
  |     - locked <0x074fab68> (a java.lang.ref.ReferenceQueue$Lock)
  |     at java.lang.ref.ReferenceQueue.remove(Unknown Source)
  |     at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
  | 
  | "Reference Handler" daemon prio=10 tid=0x00b65f30 nid=0x10a4 in 
Object.wait() [0x02c2f000..0x02c2fae8]
  |     at java.lang.Object.wait(Native Method)
  |     - waiting on <0x074fabe8> (a java.lang.ref.Reference$Lock)
  |     at java.lang.Object.wait(Unknown Source)
  |     at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
  |     - locked <0x074fabe8> (a java.lang.ref.Reference$Lock)
  | 
  | "main" prio=6 tid=0x003a6950 nid=0x230 runnable [0x0007f000..0x0007fc40]
  |     at java.net.SocketInputStream.socketRead0(Native Method)
  |     at java.net.SocketInputStream.read(Unknown Source)
  |     at java.io.BufferedInputStream.fill(Unknown Source)
  |     at java.io.BufferedInputStream.read1(Unknown Source)
  |     at java.io.BufferedInputStream.read(Unknown Source)
  |     - locked <0x07001868> (a java.io.BufferedInputStream)
  |     at java.io.FilterInputStream.read(Unknown Source)
  |     at 
org.jboss.serial.io.JBossObjectInputStream.checkSignature(JBossObjectInputStream.java:84)
  |     at 
org.jboss.serial.io.JBossObjectInputStream.<init>(JBossObjectInputStream.java:68)
  |     at 
org.jboss.serial.io.JBossObjectInputStream.<init>(JBossObjectInputStream.java:57)
  |     at 
org.jboss.remoting.serialization.impl.jboss.JBossSerializationManager.createInput(JBossSerializationManager.java:57)
  |     at 
org.jboss.remoting.transport.socket.ClientSocketWrapper.createInputStream(ClientSocketWrapper.java:83)
  |     at 
org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:76)
  |     at 
org.jboss.remoting.transport.socket.ClientSocketWrapper.<init>(ClientSocketWrapper.java:54)
  |     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  |     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  |     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
  |     at java.lang.reflect.Constructor.newInstance(Unknown Source)
  |     at 
org.jboss.remoting.transport.socket.SocketClientInvoker.createClientSocket(SocketClientInvoker.java:583)
  |     at 
org.jboss.remoting.transport.socket.SocketClientInvoker.getConnection(SocketClientInvoker.java:550)
  |     at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:263)
  |     at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
  |     at org.jboss.remoting.Client.invoke(Client.java:527)
  |     at org.jboss.remoting.Client.addListener(Client.java:722)
  |     at org.jboss.remoting.Client.addListener(Client.java:687)
  |     at 
org.jboss.jms.client.remoting.JMSRemotingConnection.setUpConnection(JMSRemotingConnection.java:266)
  |     at 
org.jboss.jms.client.remoting.JMSRemotingConnection.<init>(JMSRemotingConnection.java:103)
  |     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getRemotingConnection(ClientConnectionFactoryDelegate.java:237)
  |     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:179)
  |     - locked <0x07531b30> (a 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate)
  |     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.invokeNext(ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.java)
  |     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPConfig(ClientConnectionFactoryDelegate.java)
  |     at 
org.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded(JBossConnectionFactory.java:220)
  |     - locked <0x0b2fc980> (a java.lang.Class)
  |     at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:183)
  |     at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:105)
  |     at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:100)
  |     at 
polygraph.PolygraphMessageProducer.main(PolygraphMessageProducer.java:31)
  | 
  | "VM Thread" prio=10 tid=0x00b61d90 nid=0x16e8 runnable 
  | 
  | "VM Periodic Task Thread" prio=10 tid=0x00b70710 nid=0x1568 waiting on 
condition 
  | 
  | 


Thanks,
Anuj


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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to