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

Strage Exception when making external connection to a JMS Queue

0 views
Skip to first unread message

Ramakrishnan Venkataraman

unread,
Jun 8, 2001, 1:20:43 PM6/8/01
to
Hi,

I have written an external client which connects to a Q inside WebLogic 5.1
sp8.

The first time I run it after starting AppServer, I always get the
exception below.

But if I rerun the client, everything is OK and it works fine.

Anyone with any ideas how to fix this ?

(Incidentally, the same client code works always fine when I run it inside
the AppServer)

TIA

:weblogic.rmi.extensions.RemoteRuntimeException: Un
declared checked exception - with nested exception:
[weblogic.rmi.ServerError: A RemoteException occurred in the server method
- with nested exception:
[java.lang.NoSuchMethodError: java.lang.NoSuchMethodException:
createDurableConn
ectionConsumer]]
java.lang.NoSuchMethodError: java.lang.NoSuchMethodException:
createDurableConne
ctionConsumer
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:241)
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:194)
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.common.JMSConnectionFactoryRemote_WLSkel.invoke(JMSConne
ctionFactoryRemote_WLSkel.java:77)
at
weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
jectAdapter.java:347)
at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
tHandler.java:77)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

--------------- nested within: ------------------
weblogic.rmi.ServerError: A RemoteException occurred in the server method
- with nested exception:
[java.lang.NoSuchMethodError: java.lang.NoSuchMethodException:
createDurableConn
ectionConsumer]
at
weblogic.rmi.extensions.AbstractRequest.sendReceive(AbstractRequest.j
ava:76)
at
weblogic.jms.common.JMSConnectionFactoryRemote_WLStub.createQueueConn
ection(JMSConnectionFactoryRemote_WLStub.java:174)
at
weblogic.jms.client.JMSConnectionFactoryWrapper.createQueueConnection
(JMSConnectionFactoryWrapper.java:66)
at com.zaplet.zed.ed.JmsServiceBase.<init>(JmsServiceBase.java:76)
at com.zaplet.zed.op.EventListener.<init>(EventListener.java:19)
at com.zaplet.zed.op.ZEDMain.EventListenerInit(ZEDMain.java:39)
at com.zaplet.zed.op.ZEDMain.init(ZEDMain.java:164)
at com.zaplet.zed.op.ZEDMain.main(ZEDMain.java:220)
--------------- 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:
createDurableConn
ectionConsumer]]
at
weblogic.jms.common.JMSConnectionFactoryRemote_WLStub.createQueueConn
ection(JMSConnectionFactoryRemote_WLStub.java:199)
at
weblogic.jms.client.JMSConnectionFactoryWrapper.createQueueConnection
(JMSConnectionFactoryWrapper.java:66)
at com.zaplet.zed.ed.JmsServiceBase.<init>(JmsServiceBase.java:76)
at com.zaplet.zed.op.EventListener.<init>(EventListener.java:19)
at com.zaplet.zed.op.ZEDMain.EventListenerInit(ZEDMain.java:39)
at com.zaplet.zed.op.ZEDMain.init(ZEDMain.java:164)
at com.zaplet.zed.op.ZEDMain.main(ZEDMain.java:220)
Eventlistener INit failed
java.lang.NullPointerException:


Don Martin

unread,
Jun 8, 2001, 3:36:56 PM6/8/01
to
Is the client classpath set correctly? Do you include weblogic510sp8.jar?

"Ramakrishnan Venkataraman" <rve...@iname.com> wrote in message
news:3b210b0a$1...@newsgroups.bea.com...

Ramakrishnan Venkataraman

unread,
Jun 8, 2001, 5:59:06 PM6/8/01
to

Yes, The order is weblogicsp8.jar, weblogicaux.jar, jms.jar, jndi.jar
etc.

Thanks


"Don Martin" <d...@null.com> wrote in message
news:3b2128c3$1...@newsgroups.bea.com...

0 new messages