-
1. Re: java.lang.NoSuchMethodError: org.jboss.remoting.Client.connect(Lorg/jboss/remoting/ConnectionListener;Ljava/util/Map;)
ankgoel Nov 17, 2011 11:48 AM (in response to ankgoel)We tried one thing - I put jboss-remoting.jar before jbossall-client.jar in the shared lib on SOA server. Now the below error is gone. These 2 jars have a common Client.class.
But now another exception is coming -
LeasePinger[a002u-e1x66y-gv3zkvyb-1-gv3zm6rv-f:SocketClientInvoker[79de1d, bisocket://WM9.chlcore.com:4657](a002u-e1x66y-gv3zkvyb-1-gv3zm6qx-e)] failed to ping to server
java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is:
java.io.IOException: EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap$Segment
at org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:131)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.handleOtherException(MicroSocketClientInvoker.java:812)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:725)
at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:458)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:143)
at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:375)
at org.jboss.remoting.LeasePinger.addClient(LeasePinger.java:177)
at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:518)
at org.jboss.remoting.Client.setupClientLease(Client.java:1923)
at org.jboss.remoting.Client.connect(Client.java:1803)
at org.jboss.remoting.Client.connect(Client.java:655)
at org.jboss.jms.client.remoting.JMSRemotingConnection$1.run(JMSRemotingConnection.java:374)
-
2. Re: java.lang.NoSuchMethodError: org.jboss.remoting.Client.connect(Lorg/jboss/remoting/ConnectionListener;Ljava/util/Map;)
ankgoel Nov 18, 2011 4:40 AM (in response to ankgoel)We also notice following logs on JBoss server -
08:59:00,226 WARN [Lease] Lease[61c6408d:a002u-x00g4y-gv4x0i5y-1-gv4yjc6m-im:a0
02u-x00g4y-gv4x0i5y-1-gv4yjc7u-in] Tried to terminate lease for session id a002u
-x00g4y-gv4x0i5y-1-gv4yjc6m-ik, but no collection of clients have been set.
08:59:04,641 WARN [Lease] Lease[5d1af4ba:a002u-x00g4y-gv4x0i5y-1-gv4yjfm5-iq:a0
02u-x00g4y-gv4x0i5y-1-gv4yjfmc-ir] Tried to terminate lease for session id a002u
-x00g4y-gv4x0i5y-1-gv4yjfm5-io, but no collection of clients have been set.
08:59:30,665 WARN [Lease] Lease[2a2b1ca9:a002u-x00g4y-gv4x0i5y-1-gv4yjzox-iu:a0
02u-x00g4y-gv4x0i5y-1-gv4yjzpf-iv] Tried to terminate lease for session id a002u
-x00g4y-gv4x0i5y-1-gv4yjzox-is, but no collection of clients have been set.
09:00:01,091 WARN [Lease] Lease[585515e7:a002u-x00g4y-gv4x0i5y-1-gv4ykmvg-iy:a0
02u-x00g4y-gv4x0i5y-1-gv4ykmvo-iz] Tried to terminate lease for session id a002u
-x00g4y-gv4x0i5y-1-gv4ykmvg-iw, but no collection of clients have been set.
09:00:31,122 WARN [Lease] Lease[3b372c26:a002u-x00g4y-gv4x0i5y-1-gv4ylacx-j2:a0
02u-x00g4y-gv4x0i5y-1-gv4ylad2-j3] Tried to terminate lease for session id a002u
-x00g4y-gv4x0i5y-1-gv4ylacx-j0, but no collection of clients have been set.
09:01:01,143 WARN [Lease] Lease[338d9133:a002u-x00g4y-gv4x0i5y-1-gv4ylxj1-j6:a0
02u-x00g4y-gv4x0i5y-1-gv4ylxj6-j7] Tried to terminate lease for session id a002u
-x00g4y-gv4x0i5y-1-gv4ylxj1-j4, but no collection of clients have been set.
These logs come due to connection trials from SOA server only. If we stop SOA server, these messages do not come on JBoss logs. Looks to be an issue while reading message from the Jboss JMS topic.
Thanks,
Ankit