| View previous topic :: View next topic |
| Author |
Message |
shivas Guest
|
Posted: Wed Sep 10, 2003 10:34 am Post subject: System or internal error java.net.SocketException: Socket cl |
|
|
Hi,
I get this execption once in a while in my application when some
database operation is to be performed the exception trace is
java.sql.SQLException: System or internal error
java.net.SocketException: Socket closed
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:423)
at com.informix.jdbc.IfxSqli.flip(IfxSqli.java:2402)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2201)
at com.informix.jdbc.IfxSqli.executePrepare(IfxSqli.java:1081)
at com.informix.jdbc.IfxResultSet.executePrepare(IfxResultSet.java:196)
at com.informix.jdbc.IfxPreparedStatement.setupExecutePrepare(IfxPreparedStatement.java:185)
at com.informix.jdbc.IfxPreparedStatement.<init>(IfxPreparedStatement.java:167)
at com.informix.jdbc.IfxSqliConnect.prepareStatement(IfxSqliConnect.java:1526)
I am using tomcat 3.3.1, and informix database
Thanks,
Shivas
|
|
| Back to top |
|
 |
Robert Klemme Guest
|
Posted: Wed Sep 10, 2003 2:12 pm Post subject: Re: System or internal error java.net.SocketException: Socke |
|
|
Dunno informix but maybe there's a timeout too low.
robert
"shivas" <shivasj (AT) mindtree (DOT) com> schrieb im Newsbeitrag
news:f2c2908d.0309100234.60991df2 (AT) posting (DOT) google.com...
| Quote: | Hi,
I get this execption once in a while in my application when some
database operation is to be performed the exception trace is
java.sql.SQLException: System or internal error
java.net.SocketException: Socket closed
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:423)
at com.informix.jdbc.IfxSqli.flip(IfxSqli.java:2402)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2201)
at com.informix.jdbc.IfxSqli.executePrepare(IfxSqli.java:1081)
at com.informix.jdbc.IfxResultSet.executePrepare(IfxResultSet.java:196)
at
com.informix.jdbc.IfxPreparedStatement.setupExecutePrepare(IfxPreparedStat |
ement.java:185)
| Quote: | at
com.informix.jdbc.IfxPreparedStatement.<init>(IfxPreparedStatement.java:16 |
7)
| Quote: | at
com.informix.jdbc.IfxSqliConnect.prepareStatement(IfxSqliConnect.java:1526 |
)
| Quote: |
I am using tomcat 3.3.1, and informix database
Thanks,
Shivas
|
|
|
| Back to top |
|
 |
shivas Guest
|
Posted: Tue Sep 16, 2003 11:33 am Post subject: Re: System or internal error java.net.SocketException: Socke |
|
|
Is the time out related to the Socket connection or of the Database connection?
Thanks
Shivas
|
|
| Back to top |
|
 |
shivas Guest
|
Posted: Wed Sep 24, 2003 11:47 am Post subject: Re: System or internal error java.net.SocketException: Socke |
|
|
I figured out that my application was not releasing some connections
based to the pool. So these connections were getting assiged to new
connection requests and when an operation is done on these connection
objects, we were getting the socket closed exception ,
Thanks
Shivas
|
|
| Back to top |
|
 |
|