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

wls2wls example

4 views
Skip to first unread message

Ada

unread,
Jul 17, 2003, 11:54:17 AM7/17/03
to

I met the same problem now, anybody has any solution? I think I exactly followed
the instruction of the sample, but still not work.


"Jiang Lu" <jian...@fanniemae.com> wrote:
>
>I tried the wls2wls example (wls6.1sp2 servlet -> wls5.1sp12 ejb) with
>no luck. I
>ran both wls servers on a single W2K machine with different ports (7001
>and 7026)
>and followed all requried configurations (wls6.1sp2, wls5.1sp12, jdk1.3.1).
>
>On the wls6.1sp2 side, I got the error:
>
>The client was unable to lookup the EJBHome. Please make sure
>that you have deployed the ejb with the JNDI name iiop-wls2wls-TraderHome
>o
>n the WebLogic server at iiop://localhost:7026
>javax.naming.NamingException: Unhandled error in lookup. Root exception
>is
> java.rmi.UnmarshalException: failed to unmarshal interface org.omg.CORBA.Object;
>nested exception is:
> weblogic.iiop.NestedIOException - with nested exception:
>[org.omg.CORBA.MARSHAL: RMI:weblogic.ejb.extensions.EJBHome:0000000000000000
> minor
>code: 0 completed: No]
>org.omg.CORBA.MARSHAL: RMI:weblogic.ejb.extensions.EJBHome:0000000000000000
> minor
>code: 0 completed: No
> at weblogic.iiop.IIOPInvocationHandlerImpl.makeInvocationHandler(IIOPInvocationHandlerImpl.java:207)
> at weblogic.iiop.IIOPInputStream.read_Object(IIOPInputStream.java:750)
> at weblogic.iiop.IIOPInputStream.read_Object(IIOPInputStream.java:737)
> at weblogic.iiop.AbstractMsgInput.readObject(AbstractMsgInput.java:152)
> at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
> at weblogic.iiop.IIOPRemoteRef.unmarshalReturn(IIOPRemoteRef.java:269)
> at weblogic.iiop.IIOPRemoteRef.invokeInternal(IIOPRemoteRef.java:141)
> at weblogic.iiop.IIOPRemoteRef.invoke(IIOPRemoteRef.java:87)
> at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
> at $Proxy119.resolve(Unknown Source)
> at weblogic.jndi.cosnaming.IIOPInitialContext.lookup(IIOPInitialContext.java:107)
> at javax.naming.InitialContext.lookup(InitialContext.java:350)
> at examples.iiop.wls2wls.InteropServlet.lookupHome(InteropServlet.java:118)
> at examples.iiop.wls2wls.InteropServlet.doGet(InteropServlet.java:78)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>--------------- nested within: ------------------
>weblogic.iiop.NestedIOException - with nested exception:
>[org.omg.CORBA.MARSHAL: RMI:weblogic.ejb.extensions.EJBHome:0000000000000000
> minor
>code: 0 completed: No]
> at weblogic.iiop.AbstractMsgInput.readObject(AbstractMsgInput.java:165)
> at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
> at weblogic.iiop.IIOPRemoteRef.unmarshalReturn(IIOPRemoteRef.java:269)
> at weblogic.iiop.IIOPRemoteRef.invokeInternal(IIOPRemoteRef.java:141)
> at weblogic.iiop.IIOPRemoteRef.invoke(IIOPRemoteRef.java:87)
> at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
> at $Proxy119.resolve(Unknown Source)
> at weblogic.jndi.cosnaming.IIOPInitialContext.lookup(IIOPInitialContext.java:107)
> at javax.naming.InitialContext.lookup(InitialContext.java:350)
> at examples.iiop.wls2wls.InteropServlet.lookupHome(InteropServlet.java:118)
> at examples.iiop.wls2wls.InteropServlet.doGet(InteropServlet.java:78)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>--------------- nested within: ------------------
>weblogic.rmi.extensions.RemoteRuntimeException - with nested exception:
>[java.rmi.UnmarshalException: failed to unmarshal interface org.omg.CORBA.Object;
>nested exception is:
> weblogic.iiop.NestedIOException - with nested exception:
>[org.omg.CORBA.MARSHAL: RMI:weblogic.ejb.extensions.EJBHome:0000000000000000
> minor
>code: 0 completed: No]]
> at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:60)
> at $Proxy119.resolve(Unknown Source)
> at weblogic.jndi.cosnaming.IIOPInitialContext.lookup(IIOPInitialContext.java:107)
> at javax.naming.InitialContext.lookup(InitialContext.java:350)
> at examples.iiop.wls2wls.InteropServlet.lookupHome(InteropServlet.java:118)
> at examples.iiop.wls2wls.InteropServlet.doGet(InteropServlet.java:78)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
>On wls5.1sp12 side, I got message:
>
>Thu Jul 11 12:26:15 EDT 2002:<I> <IIOPSocket> JVMSocketIIOP: 'weblogic.sock
>et.JVMSocketIIOP@635bb7' closed.
>Thu Jul 11 12:26:15 EDT 2002:<I> <IIOPSocket> JVMSocketIIOP: 'weblogic.sock
>et.JVMSocketIIOP@635bb7' closed.
>
>I am sure I deployed the bean correctly on wls5.1 because I was able
>to call the
>bean via t3 client.
>
>Did anyone see the same error?
>
>Thanks for helps.
>
>Jiang Lu

0 new messages