All Packages Class Hierarchy This Package Previous Next Index
Class interbase.interclient.CommunicationException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.sql.SQLException
|
+----interbase.interclient.CommunicationException
- public final class CommunicationException
- extends SQLException
InterClient Extension
I/O subsystem communication failure.
InterServer must be running, either as a service or an application.
If you are using Local InterBase, you must run InterServer
as an application so it can talk to the Local InterBase application.
On Windows 95/NT the InterServer service must be started by
the InterServer Configuration Utility in the InterClient program group.
Check the InterServer service configuration.
The new port number for InterServer is 3060.
On UNIX, inetd must be running.
For both Windows and UNIX, interserver must be configured
as a TCP service, listening on port 3060.
- On NT, check your WINDIR\system32\drivers\etc\services file.
- On 95, check your WINDIR\services file.
- On UNIX, check your /etc/services and /etc/inetd.conf files.
In general, this exception represents an error of the
underlying I/O subsystem, and can occur for the following reasons.
- An IO or socket exception occurred
while trying to open or close a TCP/IP socket connection to
the server.
- An IO exception occurred during a normal socket read or write,
as InterClient tries to communicate across a TCP/IP socket.
- An IO exception occurred while reading from a user supplied input stream.
- An EOF occurred while reading from a user supplied input stream.
A user supplied input stream to a prepared statement must provide
at least as many bytes as are specified in the length parameter of
methods PreparedStatement.setBinaryStream() and setAsciiStream().
-
getServerName()
-
Get the name of the server to which communication has failed.
getServerName
public String getServerName()
- Get the name of the server to which communication has failed.
All Packages Class Hierarchy This Package Previous Next Index