[jboss-user] [EJB 3.0] - JBoss 4.0.3 SP1, MS SQL Server 2000, Persistence issue: java
r.simoni
do-not-reply at jboss.com
Fri Nov 17 11:44:55 EST 2006
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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986893#3986893
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986893
More information about the jboss-user
mailing list