0 Replies Latest reply on Aug 13, 2002 4:14 PM by larry

    Remote Client failed to get EJB remote interface

    larry Newbie

      I have a ejb and a remote servlet deployed on different
      box, and remote interface, home interface are with
      Servlet, jndi properties also set for loook, after
      got home interface, as to create ejb to get remote
      interface throw exception:

      java.rmi.UnmarshalException: Error unmarshaling return header;
      nested exception is:
      java.net.SocketException: Socket closed
      at sun.rmi.transport.StreamRemoteCall.executeCall(Strea
      mRemoteCall.java:203)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133
      )
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.in
      voke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProx
      y.invoke(JRMPInvokerProxy.java:128)
      at org.jboss.invocation.InvokerInterceptor.invoke(Invok
      erInterceptor.java:108)
      at org.jboss.proxy.TransactionInterceptor.invoke(Transa
      ctionInterceptor.java:73)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityI
      nterceptor.java:76)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInter
      ceptor.java:185)
      at org.jboss.proxy.ClientContainer.invoke(ClientContain
      er.java:76)
      at $Proxy0.create(Unknown Source)
      at com.ttou.prototype.supplychain.webservice.msg.replen
      ishment.OEMReplenishmentProcessor.deliverMsg(OEMReplenishmentPr
      ocessor.java:178)
      at com.ttou.prototype.supplychain.webservice.msg.replen
      ishment.OEMReplenishmentProcessor.onMessage(OEMReplenishmentPro
      cessor.java:127)
      at javax.xml.messaging.JAXMServlet.doPost(Unknown Sourc
      e)
      at javax.servlet.http.HttpServlet.service(HttpServlet.j
      ava:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.j
      ava:853)
      at org.apache.catalina.core.ApplicationFilterChain.inte
      rnalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFi
      lter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke
      (StandardWrapperValve.java:260)
      at org.apache.catalina.core.StandardPipeline$StandardPi
      pelineValveContext.invokeNext(StandardPipeline.java:646)
      at org.apache.catalina.core.StandardPipeline.invoke(Sta
      ndardPipeline.java:483)
      at org.apache.catalina.core.ContainerBase.invoke(Contai
      nerBase.java:995)
      at org.apache.catalina.core.StandardContextValve.invoke
      (StandardContextValve.java:191)
      at org.apache.catalina.core.StandardPipeline$StandardPi
      pelineValveContext.invokeNext(StandardPipeline.java:646)
      at org.apache.catalina.core.StandardPipeline.invoke(Sta
      ndardPipeline.java:483)
      at org.apache.catalina.core.ContainerBase.invoke(Contai
      nerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(Stan
      dardContext.java:2349)
      at org.apache.catalina.core.StandardHostValve.invoke(St
      andardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPi
      pelineValveContext.invokeNext(StandardPipeline.java:646)
      at org.apache.catalina.valves.ErrorDispatcherValve.invo
      ke(ErrorDispatcherValve.java:170)
      at org.apache.catalina.core.StandardPipeline$StandardPi
      pelineValveContext.invokeNext(StandardPipeline.java:644)
      at org.apache.catalina.valves.ErrorReportValve.invoke(E
      rrorReportValve.java:171)
      at org.apache.catalina.core.StandardPipeline$StandardPi
      pelineValveContext.invokeNext(StandardPipeline.java:644)
      at org.apache.catalina.core.StandardPipeline.invoke(Sta
      ndardPipeline.java:483)
      at org.apache.catalina.core.ContainerBase.invoke(Contai
      nerBase.java:995)
      at org.apache.catalina.core.StandardEngineValve.invoke(
      StandardEngineValve.java:174)
      at org.apache.catalina.core.StandardPipeline$StandardPi
      pelineValveContext.invokeNext(StandardPipeline.java:646)
      at org.apache.catalina.valves.AccessLogValve.invoke(Acc
      essLogValve.java:469)
      at org.apache.catalina.core.StandardPipeline$StandardPi
      pelineValveContext.invokeNext(StandardPipeline.java:644)
      at org.apache.catalina.core.StandardPipeline.invoke(Sta
      ndardPipeline.java:483)
      at org.apache.catalina.core.ContainerBase.invoke(Contai
      nerBase.java:995)
      at org.apache.coyote.tomcat4.CoyoteAdapter.service(Coyo
      teAdapter.java:223)
      at org.apache.coyote.http11.Http11Processor.process(Htt
      p11Processor.java:405)
      at org.apache.coyote.http11.Http11Protocol$Http11Connec
      tionHandler.processConnection(Http11Protocol.java:376)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Poo
      lTcpEndpoint.java:508)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRun
      nable.run(ThreadPool.java:518)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: java.net.SocketException: Socket closed
      at java.net.SocketOutputStream.socketWrite0(Native Meth
      od)
      at java.net.SocketOutputStream.socketWrite(SocketOutput
      Stream.java:92)
      at java.net.SocketOutputStream.write(SocketOutputStream
      .java:126)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOut
      putStream.java:69)
      at java.io.BufferedOutputStream.flush(BufferedOutputStr
      eam.java:127)
      at java.io.ObjectOutputStream$BlockDataOutputStream.flu
      sh(ObjectOutputStream.java:1583)
      at java.io.ObjectOutputStream.flush(ObjectOutputStream.
      java:639)
      at sun.rmi.transport.StreamRemoteCall.releaseOutputStre
      am(StreamRemoteCall.java:92)
      at sun.rmi.transport.StreamRemoteCall.executeCall(Strea
      mRemoteCall.java:187)

      Any thoughts

      Thanks