2 Replies Latest reply on Nov 21, 2006 5:31 AM by Roberto Simoni

    JBoss 4.0.3 SP1, MS SQL Server 2000, Persistence issue: java

    Roberto Simoni Newbie

      Hi at all.

      I have an issue with JBoss 4.0.3 SP1 and MS SQL Server 2000 with SP3.

      Accessing from a client a remote session bean (stateless), I'm able to lookup and call a test method that make persist an Entity Bean on a table.

      But when the method finish execution, I receive an exception on JBoss saying:

      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.read(BufferedInputStream.java:235)
       at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java
      :2196)
       at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Object
      InputStream.java:2376)
       at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStre
      am.java:2443)
       at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream
      .java:2515)
       at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputSt
      ream.java:2664)
       at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)
       at org.jboss.remoting.transport.socket.ServerSocketWrapper.checkConnecti
      on(ServerSocketWrapper.java:54)
       at org.jboss.remoting.transport.socket.ServerThread.acknowledge(ServerTh
      read.java:217)
       at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
      ava:298)
       at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
      a:169)


      Other men have notified this problem saying that this is a simple logging problem, but in my application I'm unable to "save" Entity on DB. And this is the real problem. Persist method doesn't work.

      I have tested the same application with JBoss 4.0.4.GA (changing libraries and stateless naming method) and I don't have any problem: Entity Bean are saved on DB without any exception.

      Another problem is that I can't change to JBoss 4.0.4.GA :-(

      Any idea?

      Thanks to all
      Bye