1 Reply Latest reply on Nov 29, 2005 5:07 AM by Kabir Khan

    Minor Annoyance - Exception when calling EJB3 with injected

    kimbaltrue Newbie

      This call is working, but with an non-fatal exception. I'm calling a simple Stateless EJB3 Bean which has an injected EntityManager. The bean is doing a simple query and returning a POJO entity. Everything works as far as the client is concerned, but the JBOSS server is recording this exception.



      21:33:28,765 ERROR [ServerThread] failed
      java.net.SocketException: Connection reset
       at java.net.SocketInputStream.read(Unknown Source)
       at java.io.BufferedInputStream.fill(Unknown Source)
       at java.io.BufferedInputStream.read(Unknown Source)
       at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
       at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Unknown Source)
       at java.io.ObjectInputStream$BlockDataInputStream.refill(Unknown Source)
       at java.io.ObjectInputStream$BlockDataInputStream.read(Unknown Source)
       at java.io.ObjectInputStream$BlockDataInputStream.readByte(Unknown Source)
       at java.io.ObjectInputStream.readByte(Unknown Source)
       at org.jboss.remoting.transport.socket.ServerSocketWrapper.checkConnection(ServerSocketWrapper.java:54)
       at org.jboss.remoting.transport.socket.ServerThread.acknowledge(ServerThread.java:217)
       at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:298)
       at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:169)