1 Reply Latest reply on Oct 31, 2012 3:06 PM by Ron Sigal

    3873 was closed suddenly

    Ron Sigal Master

      While JBOSS5.1.0 GA running, there was an exception log in server.log like:


      2012-05-30 07:43:43,176 INFO  (main)[org.jboss.bootstrap.microcontainer.ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 38s:998ms

      2012-06-26 21:00:08,515 ERROR (WorkerThread#0[2001:1890:1001:240c:0:0:0:4:50783])[org.jboss.remoting.transport.socket.ServerThread] WorkerThread#0[2001:1890:1001:240c:0:0:0:4:50783] exception occurred during first invocation

      java.lang.reflect.InvocationTargetException

               at sun.reflect.GeneratedConstructorAccessor422.newInstance(Unknown Source)

               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

               at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

               at org.jboss.remoting.transport.socket.ServerThread.createServerSocketWrapper(ServerThread.java:909)

               at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:491)

               at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)

      Caused by: java.io.EOFException

               at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)

               at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)

               at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)

               at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)

               at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.<init>(ObjectInputStreamWithClassLoader.java:100)

               at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.createInput(JavaSerializationManager.java:54)

               at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getMarshallingStream(SerializableUnMarshaller.java:75)

               at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getMarshallingStream(SerializableUnMarshaller.java:58)

               at org.jboss.remoting.transport.socket.ClientSocketWrapper.createInputStream(ClientSocketWrapper.java:179)

               at org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:162)

               at org.jboss.remoting.transport.socket.ClientSocketWrapper.<init>(ClientSocketWrapper.java:66)

               at org.jboss.remoting.transport.socket.ServerSocketWrapper.<init>(ServerSocketWrapper.java:46)

               ... 6 more

       

      And we checked the 3873 using "netstat -antp" command. Don't know when this port was closed.

      Could someone tell me how to prevent it or the root cause. Thanks in advance.

       

      From Richard Zhang.

        • 1. Re: 3873 was closed suddenly
          Ron Sigal Master

          Hi Richard,

           

          That exception means that the Remoting server got an EOFException when it tried to read from an InputStream connected to the client side.  I.e., it's not port 3873 that closed, it's something that happened on the client side.  Do you see anything in the client side logs?

           

          -Ron