Subject | Problem in getting a java.sql.Connection |
---|---|
Author | Tony |
Post date | 2002-01-16T03:42:11Z |
Dear everybody,
I have a problem when opening a database connection from Java to the
database by using InterClient.
Environment:
* WinNT4.0 sp6
* FireBird database server 1.0 (Firebird-1.0.0.679-RC2) or Interbase6.0.1
server
* FireBird InterClient 2.0 or InterClient2.0
* JDK 1.3.0_02
Description:
* Both FireBird database server and FireBird Interclient installed
successfully.
IBAccess can perform database manipulation/creation successfully.
* InterClient is running as services (port 3060)
* A simple Java program that establish a connection to the server through
Interclient.
When using FireBird InterClient, the connection is reset.
When using Interbase InterClient 2.0, the connection blocks till timeout.
When I tried to debugged InterClient Java source:
* When using FireBird Interclient, a java.net.Socket connection was
successfully established to port 3060, getting an InputStream from the
socket was also successfull. But when reading an integer from the stream, I
got an exception saying that the connection is reset by peer.
* When using Interclient, a java.net.Socket connection was successfully
established to port 3060, getting an InputStream from the socket was also
successfull. But when reading an integer from the stream, the statement
blocks till timeout.
I guess that the problem is not on the database server but it is on the
InterClient.
Could somebody help me figuring out the problem with my installation?
Thank you very much for your help.
Tony
[Non-text portions of this message have been removed]
I have a problem when opening a database connection from Java to the
database by using InterClient.
Environment:
* WinNT4.0 sp6
* FireBird database server 1.0 (Firebird-1.0.0.679-RC2) or Interbase6.0.1
server
* FireBird InterClient 2.0 or InterClient2.0
* JDK 1.3.0_02
Description:
* Both FireBird database server and FireBird Interclient installed
successfully.
IBAccess can perform database manipulation/creation successfully.
* InterClient is running as services (port 3060)
* A simple Java program that establish a connection to the server through
Interclient.
When using FireBird InterClient, the connection is reset.
When using Interbase InterClient 2.0, the connection blocks till timeout.
When I tried to debugged InterClient Java source:
* When using FireBird Interclient, a java.net.Socket connection was
successfully established to port 3060, getting an InputStream from the
socket was also successfull. But when reading an integer from the stream, I
got an exception saying that the connection is reset by peer.
* When using Interclient, a java.net.Socket connection was successfully
established to port 3060, getting an InputStream from the socket was also
successfull. But when reading an integer from the stream, the statement
blocks till timeout.
I guess that the problem is not on the database server but it is on the
InterClient.
Could somebody help me figuring out the problem with my installation?
Thank you very much for your help.
Tony
[Non-text portions of this message have been removed]