Hi, I need your urgent help the problem described below, I have successfully deployed the EJB in weblogic 5.1, and I try to run a java client program to acces it, but upon invoking it, I got the following Unmarshal exception, it happened when the client tries to lookup for the home interface of the deployed EJB. Can someone offer me some help explaining what exactly this means? and any suggested solutions?
I can't say enough to thank you for your help.
D:\SGW2.5\SGW\DBAccess>java SGW.DBAccess.sgwClient
testing Order Bean...
exception occurred->javax.naming.CommunicationException [Root exception is weblo
gic.rmi.UnmarshalException: Unmarshalling return
- with nested exception:
[java.lang.ClassNotFoundException: class SGW.DBAccess.OrderBeanHomeImpl_ServiceS
tub previously not found]]
javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundE
xception: class SGW.DBAccess.OrderBeanHomeImpl_ServiceStub previously not found
at weblogic.rjvm.MsgAbbrev.read(MsgAbbrev.java, Compiled Code)
at java.lang.Exception.<init>(Exception.java, Compiled Code)
at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java,
Compiled Code)
at weblogic.rjvm.MsgAbbrev.read(MsgAbbrev.java, Compiled Code)
at weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:5
05)
at weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:13
4)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:610)
at weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerCli
ent.java:34)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java, Compiled Code)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java,
Compiled Code)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
23)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
--------------- nested within: ------------------
weblogic.rmi.UnmarshalException: Unmarshalling return
- with nested exception:
[java.lang.ClassNotFoundException: class SGW.DBAccess.OrderBeanHomeImpl_ServiceS
tub previously not found]
at weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WLS
tub.java:256)
at weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java, Compil
ed Code)
at javax.naming.InitialContext.lookup(InitialContext.java:349)
at SGW.DBAccess.sgwClient.findHome(sgwClient.java:85)
at SGW.DBAccess.sgwClient.testOrder(sgwClient.java:55)
at SGW.DBAccess.sgwClient.main(sgwClient.java:37)
-
HELP! unmarshall exception - Part One (3 messages)
- Posted by: Xiaodong Zhang
- Posted on: February 11 2001 21:19 EST
Threaded Messages (3)
- HELP! unmarshall exception - Part One by Somil Nanda on February 12 2001 21:10 EST
- HELP! unmarshall exception - Part One by Xiaodong Zhang on February 13 2001 01:27 EST
- HELP! unmarshall exception - Part One by Binod Nair on February 22 2001 03:02 EST
- HELP! unmarshall exception - Part One by Xiaodong Zhang on February 13 2001 01:27 EST
-
HELP! unmarshall exception - Part One[ Go to top ]
- Posted by: Somil Nanda
- Posted on: February 12 2001 21:10 EST
- in response to Xiaodong Zhang
Unmarshalled exception usually occurs when ur client and ur server are referring to different virsions of the same file.
u might have done something like compiled a file and not restarted the server or if u r using a browser client the try deleting ur Temporary Internet files. -
HELP! unmarshall exception - Part One[ Go to top ]
- Posted by: Xiaodong Zhang
- Posted on: February 13 2001 01:27 EST
- in response to Somil Nanda
Thanks for your response. I've got it figured out! my weblogic.property was somehow not set right. -
HELP! unmarshall exception - Part One[ Go to top ]
- Posted by: Binod Nair
- Posted on: February 22 2001 15:02 EST
- in response to Xiaodong Zhang
Hey , I would appreciate if can u let me know how u resolved this.This is really urgent for me.
reply me at nairbinod at hotmail dot com
Thanks
Binod