Subject "Socket Closed" Exception
Author rollinrb
I am new to this group, so feel free to tell me if I am in the wrong
place, but I am trying to debug an error that I am getting when
accessing an application on my web server (a Debian 3.0 Linux box),
and the Java exception given is as follows. I am unable to find any
pertinent references to a "Socket closed" exception, but the only
thing that corrects this problem is stopping and restarting Tomcat.
Doing a "netstat -an" reveals (usually) two ports that have a status
of "CLOSE" but never clear.

Has anyone else seen this error and know what causes it and/or how to
fix it? If I need to include further information, please let me know.

Thanks,
rollinrb


interbase.interclient.CommunicationException: [interclient]
Communication error: An IO exception occurred while trying to send
data
to server 127.0.0.1.
The message of the IOException is "Socket closed".
See API reference for exception
interbase.interclient.CommunicationException
at interbase.interclient.JDBCNet.sendMessage(Unknown Source)
at interbase.interclient.JDBCNet.sendAndReceiveMessage
(Unknown Source)
at
interbase.interclient.Statement.remote_EXECUTE_QUERY_STATEMENT
(Unknown Source)
at interbase.interclient.Statement.executeQuery(Unknown
Source)
at com.flowbuilder.docdb.sql.Dictionary.refreshDatabase
(Dictionary.java:149)
at com.flowbuilder.docdb.sql.Dictionary.getDatabaseByName
(Dictionary.java:111)
at com.flowbuilder.docdb.sql.TDBSQLSession.doOpenDatabase
(TDBSQLSession.java:94)
at com.flowbuilder.docdb.TDBSession.openDatabase
(TDBSession.java:133)
at
com.flowbuilder.service.process.docapi.FBServerDocAPIService.getAdminD
atabase(FBServerDocAPIService.java:127)
at
com.flowbuilder.service.process.docapi.FBServerDocAPIService.doLoadAll
Objects(FBServerDocAPIService.java:220)
at
com.flowbuilder.service.process.AbstractProcessServer.getAllDatabaseAl
iases(AbstractProcessServer.java:185)
at
com.flowbuilder.service.process.service.ProcessServiceProvider.execute
(ProcessServiceProvider.java:218)
at com.flowbuilder.util.cs.DirectServerConnection.execute
(DirectServerConnection.java:43)
at com.flowbuilder.util.cs.AbstractClient.execute
(AbstractClient.java:34)
at
com.flowbuilder.service.process.service.ProcessServiceRequester.getAll
DatabaseAliases(ProcessServiceRequester.java:403)
at
com.flowbuilder.service.process.ProcessCacheList$DatabaseAliasCache.do
LoadAllObjects(ProcessCacheList.java:211)
at com.flowbuilder.util.cs.ObjectCache.getAllObjects
(ObjectCache.java:565)
at com.flowbuilder.util.cs.ObjectCache.refresh
(ObjectCache.java:1024)
at com.flowbuilder.util.cs.ObjectCache.refresh
(ObjectCache.java:1007)
at com.flowbuilder.util.cs.ObjectCacheList.refresh
(ObjectCacheList.java:52)
at com.flowbuilder.service.process.ProcessClient.refresh
(ProcessClient.java:74)
at com.flowbuilder.service.router.RouterContext.refresh
(RouterContext.java:77)
at
com.flowbuilder.service.router.ContextRefreshThread.doRouting
(ContextRefreshThread.java:24)
at com.flowbuilder.service.router.RouterThread.run
(RouterThread.java:51)