Socket Exception
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Monday, September 2, 2002 01:18 AM


Can any body tell me the quick fix of the following exception

java.sql.SQLException: System or internal error

java.net.SocketException: Socket closed



Re: Socket Exception

Posted By:   Lasse_Koskela  
Posted On:   Monday, September 2, 2002 03:13 AM

Sounds like your code is trying to access the database with a java.sql.Connection object even though the underlying socket has been closed.

Check that you're not using a java.sql.Connection after a call to Connection.close(), and that you are closing Connection objects after you're done with them.

Sometimes the open connections prevent new ones from being created, which might throw the exception you're seeing.

About | Sitemap | Contact