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

SP11 JMS problem.

0 views
Skip to first unread message

Shiva Paranandi

unread,
Mar 13, 2002, 6:39:12 PM3/13/02
to
I am on weblogic 5.1, sp9, jdk1.3.1. I changed my java classpath and weblogic classpath to include the sp11 jars and jms does not seem to work any longer. I was able to simulate this with the QueueSend and QueueReceive in the samples directory. Hope someone can help me on this. The UI needs sp11 but JMS is throwing these exceptions.

Below is the exception:

Server:
Wed Mar 13 15:37:31 PST 2002:<E> <Adapter> Exception thrown by rmi server: [2604
665756843814232S10.5.2.107:[7001,7001,7002,7002,7001,-1]/262]
java.lang.ClassCastException: weblogic.jms.common.SessionCallback_WLStub
        at weblogic.jms.common.WLSkel626n4y193g3f641i4g4e1y3r6a153j4j.invoke(WLS
kel626n4y193g3f641i4g4e1y3r6a153j4j.java:356)
        at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
jectAdapter.java:347)
        at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
tHandler.java:96)
        at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:15)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

Wed Mar 13 15:37:41 PST 2002:<E> <Adapter> Exception thrown by rmi server: [2604
665756843814232S10.5.2.107:[7001,7001,7002,7002,7001,-1]/265]
java.lang.ClassCastException: weblogic.jms.common.SessionCallback_WLStub
        at weblogic.jms.common.WLSkel626n4y193g3f641i4g4e1y3r6a153j4j.invoke(WLS
kel626n4y193g3f641i4g4e1y3r6a153j4j.java:356)
        at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
jectAdapter.java:347)
        at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
tHandler.java:96)
        at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:15)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
 

Client:
Exception in thread "main" javax.jms.JMSException: System error: java.lang.Class
CastException: weblogic.jms.common.SessionCallback_WLStub
        at weblogic.jms.common.JMSUtilities.jmsException(JMSUtilities.java:18)
        at weblogic.jms.client.JMSSession.handleException(JMSSession.java:682)
        at weblogic.jms.client.JMSSession.establishSessionCallback(JMSSession.ja
va:652)
        at weblogic.jms.client.JMSQueueSession.createSender(JMSQueueSession.java
:95)
        at QueueSend.init(QueueSend.java:46)
        at QueueSend.main(QueueSend.java:82)
 

Shiva.

Zach

unread,
Mar 13, 2002, 6:50:09 PM3/13/02
to
looks like you have a classpath mismatch on the client vs. the server.  that is one is using SP9 and the other is using SP11.
_sjz.
"Shiva Paranandi" <shivapa...@yahoo.com> wrote in message news:3C8FE320...@yahoo.com...

Glenn Silver

unread,
Mar 21, 2002, 10:32:49 AM3/21/02
to
I was having the same problem with a pure 5.10sp11 environment. The solution was to
include the /weblogic/lib/weblogic510sp11.jar
file in my classpath
0 new messages