HELP! unmarshall exception - Part One


EJB programming & troubleshooting: HELP! unmarshall exception - Part One

  1. HELP! unmarshall exception - Part One (3 messages)

    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, Compiled Code)
            at java.lang.Exception.<init>(, Compiled Code)
            at java.lang.ClassNotFoundException.<init>(,
    Compiled Code)
            at, Compiled Code)
            at weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(
            at weblogic.rjvm.RJVMImpl.dispatch(
            at weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerCli
            at weblogic.rjvm.ConnectionManager.dispatch(
            at weblogic.socket.JVMAbbrevSocket.dispatch(
            at weblogic.socket.JVMSocketT3.dispatch(, Compiled Code)

            at weblogic.socket.JavaSocketMuxer.processSockets(,
    Compiled Code)
            at weblogic.socket.SocketReaderRequest.execute(
            at, 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
            at weblogic.jndi.toolkit.WLContextStub.lookup(, Compil
    ed Code)
            at javax.naming.InitialContext.lookup(
            at SGW.DBAccess.sgwClient.findHome(
            at SGW.DBAccess.sgwClient.testOrder(
            at SGW.DBAccess.sgwClient.main(
  2. 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.
  3. Thanks for your response. I've got it figured out! my was somehow not set right.
  4. HELP! unmarshall exception - Part One[ Go to top ]

    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