0 Replies Latest reply on Nov 2, 2009 11:57 PM by lalitha Kagithapu

    Worker thread initialization failure java.lang.reflect.Invoc

    lalitha Kagithapu Newbie

      Currently using JBoss 4.2.2 AS with MQ as well in Red hat Linux environment.Found this exception is routine check.Can some one please suggest a solution , if already faced this issue.

      11:47:12,144 ERROR [ServerThread] Worker thread initialization failure
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.jboss.remoting.transport.socket.ServerThread.createServerSocketWrapper(ServerThread.java:720)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:368)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
      Caused by: java.io.EOFException
      at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2228)
      at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2694)
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761)
      at java.io.ObjectInputStream.(ObjectInputStream.java:277)
      at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.(ObjectInputStreamWithClassLoader.java:95)
      at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.createInput(JavaSerializationManager.java:54)
      at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getMarshallingStream(SerializableUnMarshaller.java:72)
      at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getMarshallingStream(SerializableUnMarshaller.java:55)
      at org.jboss.remoting.transport.socket.ClientSocketWrapper.createInputStream(ClientSocketWrapper.java:185)
      at org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:164)
      at org.jboss.remoting.transport.socket.ClientSocketWrapper.(ClientSocketWrapper.java:66)
      at org.jboss.remoting.transport.socket.ServerSocketWrapper.(ServerSocketWrapper.java:46)
      ... 7 more

      11:47:12,145 ERROR [ServerThread] Failed to initialize
      java.io.EOFException
      at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2228)
      at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2694)
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761)
      at java.io.ObjectInputStream.(ObjectInputStream.java:277)
      at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:147)
      at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265)
      at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
      11:47:12,144 ERROR [ServerThread] Failed to initialize
      java.io.EOFException
      at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2228)
      at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2694)
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761)
      at java.io.ObjectInputStream.(ObjectInputStream.java:277)
      at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:147)
      at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265)
      at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
      11:47:34,551 ERROR [conn] Failed to read GIOP message in ServerGIOPConnection to 91.202.83.240:52414 (1606f12), incorrect magic number --> connection closed
      11:48:35,110 ERROR [ServerThread] Worker thread initialization failure
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.jboss.remoting.transport.socket.ServerThread.createServerSocketWrapper(ServerThread.java:720)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:368)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:168)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
      at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2213)
      at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2226)
      at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2694)
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761)
      at java.io.ObjectInputStream.(ObjectInputStream.java:277)
      at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.(ObjectInputStreamWithClassLoader.java:95)
      at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.createInput(JavaSerializationManager.java:54)@
      at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.createInput(JavaSerializationManager.java:54)
      at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getMarshallingStream(SerializableUnMarshaller.java:72)
      at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getMarshallingStream(SerializableUnMarshaller.java:55)
      at org.jboss.remoting.transport.socket.ClientSocketWrapper.createInputStream(ClientSocketWrapper.java:185)
      at org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:164)
      at org.jboss.remoting.transport.socket.ClientSocketWrapper.(ClientSocketWrapper.java:66)
      at org.jboss.remoting.transport.socket.ServerSocketWrapper.(ServerSocketWrapper.java:46)
      ... 7 more
      11:48:35,128 ERROR [ServerThread] Failed to initialize
      java.net.SocketException: Connection reset
      at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
      at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
      at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
      at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1631)
      at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666)
      at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:263)
      at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
      11:48:35,137 ERROR [ServerThread] Failed to initialize
      java.net.SocketException: Connection reset
      at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
      at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
      at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
      at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1631)
      at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666)
      at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:263)
      at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)

      Any quick responses will help us.

      Thanks,
      Lalitha