2 Replies Latest reply on Jan 14, 2003 2:12 PM by Rab Wallace

    UnmarshalException / SocketException

    Rab Wallace Newbie

      I have an existing Tomcat/Weblogic application that I'm trying to run on a Tomcat/JBoss configuration (NOT the tomcat/jboss bundle). I can successfully deploy my EAR file, but I keep encountering the same problem where I can successfully lookup the remote Home interface, but a call to create the remote ejb results in the following exception. Any ideas?



      java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection aborted by peer: socket write error

      The above exception is logged on the 'tomcat side'. Both applications are running on the same machine (but different VM instances). See attached stderr.txt from tomcat for full exception.

      CONFIG:
      Context Factory = org.jnp.interfaces.NamingContextFactory
      server URL = jnp://localhost:1099
      package prefixes = org.jboss.naming:org.jnp.interfaces

      Win2k Professional
      JDK 1.3.1
      Tomcat 4.1.12 (installed as f:/Apache Group/Topmcat 4.1/...)
      JBoss 3.0.4 (installed as d:/jboss-3.0.4/...)