0 Replies Latest reply on Oct 10, 2007 9:06 AM by Daniel Galdames

    Worker thread initialization failure

    Daniel Galdames Newbie

      I've a swing client trying to connect to JBoss AS 4.2.1 instance and get the following error:

      14:21:20,593 ERROR [ServerThread] Worker thread initialization failure
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
      orAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
      onstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.jboss.remoting.transport.socket.ServerThread.createServerSocketWr
      apper(ServerThread.java:706)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
      ava:364)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
      a:165)
      Caused by: java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      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(ObjectInputS
      tream.java:2694)
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761
      )
      at java.io.ObjectInputStream.(ObjectInputStream.java:277)
      at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.(Ob
      jectInputStreamWithClassLoader.java:95)
      at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.c
      reateInput(JavaSerializationManager.java:54)
      at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getM
      arshallingStream(SerializableUnMarshaller.java:72)
      at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getM
      arshallingStream(SerializableUnMarshaller.java:55)
      at org.jboss.remoting.transport.socket.ClientSocketWrapper.createInputSt
      ream(ClientSocketWrapper.java:185)
      at org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams
      (ClientSocketWrapper.java:164)
      at org.jboss.remoting.transport.socket.ClientSocketWrapper.(Client
      SocketWrapper.java:66)
      at org.jboss.remoting.transport.socket.ServerSocketWrapper.(Server
      SocketWrapper.java:46)
      ... 7 more

      Some ideas?