Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NoSuchMethodExeption and CursorQueue problem

1 view
Skip to first unread message

j70...@my-deja.com

unread,
Jul 26, 2000, 3:00:00 AM7/26/00
to
Hi there:

I'm using WL 5.10 sp 4. I have the following 2 questions:

1. When my client (in a seperate VM other than WL server's) started,
the first time it usually failed. Start it again it worked fine as
expected. What the client is trying to do is to create a set of queues
if they don't exist and then do sth. But the exception occured the
first time is at the connection creation time. (See stacktrace 1 below)

2.
What could be wrong in the client code that could cause the following
exception msg (stack trace 2) on weblogic server console?
What i did is to run 2 clients (in seperate VMs) to enqueue to the same
set of Queues without any consumer registered yet. The messages are all
sent to the queues though.

Thanks in advance for your advice.
j.t.

Stack Trace for question 1: (on client console, not WL server's console)
=====================================================================

Connected successfully using http to localhost/127.0.0.1:7001
java.lang.NoSuchMethodError: java.lang.NoSuchMethodException
at
weblogic.jms.common.JMSConnectionRemote_WLStub.ensureInitialized(JMSC
onnectionRemote_WLStub.java:76)
at weblogic.jms.common.JMSConnectionRemote_WLStub.<init>
(JMSConnectionRe
mote_WLStub.java:95)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.rmi.extensions.AbstractDescriptor.getStub
(AbstractDescriptor
.java:380)
at weblogic.rmi.extensions.BasicServerObjectReference.getStub
(BasicServe
rObjectReference.java:168)
at weblogic.rmi.internal.OIDManager.getReplacement
(OIDManager.java:188)
at weblogic.rmi.internal.OIDManager.replaceObject
(OIDManager.java:80)
at
weblogic.common.internal.WLObjectOutputStreamBase.replaceObject(WLObj
ectOutputStreamBase.java:1158)
at weblogic.common.internal.WLObjectOutputStreamBase.writeObject
(WLObjec
tOutputStreamBase.java:998)
at
weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(WLObj
ectOutputStreamBase.java:166)
at weblogic.rmi.extensions.AbstractOutputStream2.writeObject
(AbstractOut
putStream2.java:82)
at weblogic.jms.server.JMSConnectionFactoryRemote_WLSkel.invoke
(JMSConne
ctionFactoryRemote_WLSkel.java:70)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke
(BasicServerOb
jectAdapter.java:347)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest
(BasicReques
tHandler.java:69)
at weblogic.rmi.internal.BasicExecuteRequest.execute
(BasicExecuteRequest
.java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

--------------- nested within: ------------------
weblogic.rmi.ServerError: A RemoteException occurred in the server
method
- with nested exception:
[java.lang.NoSuchMethodError: java.lang.NoSuchMethodException]
at weblogic.rmi.extensions.AbstractRequest.sendReceive
(AbstractRequest.j
ava:76)
at
weblogic.jms.server.JMSConnectionFactoryRemote_WLStub.createQueueConn
ection(JMSConnectionFactoryRemote_WLStub.java:153)
at VQueueFactoryImpl1.init(VQueueFactoryImpl1.java:97)
at VQueueFactoryImpl1.<init>(VQueueFactoryImpl1.java:59)
at VQueueFactoryImpl1.getInstance(VQueueFactoryImpl1.java:49)
at ClientReceiver.main(ClientReceiver.java:27)
--------------- nested within: ------------------
weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
exception - w
ith nested exception:
[weblogic.rmi.ServerError: A RemoteException occurred in the server
method
- with nested exception:
[java.lang.NoSuchMethodError: java.lang.NoSuchMethodException]]
at
weblogic.jms.server.JMSConnectionFactoryRemote_WLStub.createQueueConn
ection(JMSConnectionFactoryRemote_WLStub.java:178)
at VQueueFactoryImpl1.init(VQueueFactoryImpl1.java:97)
at VQueueFactoryImpl1.<init>(VQueueFactoryImpl1.java:59)
at VQueueFactoryImpl1.getInstance(VQueueFactoryImpl1.java:49)
at ClientReceiver.main(ClientReceiver.java:27)
end of main()
==================================================================
End of Stack Trace for question 1:


Start of Stack Trace for question 2: (on WL server console)
==================================================================java.l
ang.NullPointerException
at weblogic.jms.server.CursorQueue.goesAfter
(CursorQueue.java:156)
at weblogic.jms.server.CursorQueue.unsync_put
(CursorQueue.java:217)
at weblogic.jms.server.CursorQueue.put(CursorQueue.java:71)
at weblogic.jms.server.QueueRegistrations.deliver
(QueueRegistrations.java:56)
at weblogic.jms.server.JMSRegistry.deliver(JMSRegistry.java:309)
at weblogic.jms.server.SessionState.processIncomingMessages
(SessionState.java:698)
at weblogic.jms.server.SessionState.readQueue
(SessionState.java:674)
at weblogic.jms.common.MessageQueue.execute
(MessageQueue.java:687)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

======================================================================
End of Stack Trace for question 2.


Sent via Deja.com http://www.deja.com/
Before you buy.

0 new messages