AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

System or internal error java.net.SocketException: Socket cl

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
shivas
Guest





PostPosted: Wed Sep 10, 2003 10:34 am    Post subject: System or internal error java.net.SocketException: Socket cl Reply with 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(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





PostPosted: Wed Sep 10, 2003 2:12 pm    Post subject: Re: System or internal error java.net.SocketException: Socke Reply with quote



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





PostPosted: Tue Sep 16, 2003 11:33 am    Post subject: Re: System or internal error java.net.SocketException: Socke Reply with quote



Is the time out related to the Socket connection or of the Database connection?

Thanks
Shivas
Back to top
shivas
Guest





PostPosted: Wed Sep 24, 2003 11:47 am    Post subject: Re: System or internal error java.net.SocketException: Socke Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.