SQL Server 200 JDBC Driver Connection too slow when using IP address
- From: leocortes@xxxxxxxxx
- Date: 25 Aug 2006 23:02:09 -0700
We have developed an application which uses Tomcat + ApacheSSL
installed on Server 1 and connects to a SQL SERVER 2000 database
installed on Server 2. They connect thru a SQL SERVER 200 JDBC
Microsoft Driver with SP3 (the latest one available). We had connected
the application to the database via the following connection string:
"jdbc:microsoft:sqlserver://192.168.1.100:1433;databaseName=clasioem",
Everything was working fine since we installed the application two
months ago but a few days ago, the application didn't work and after
recovering the application, the connection to the database was very
sloooow. So, the solution was to change the SQL SERVER 2000 server to
the same box where the application resides (both now lives on Server 1)
and kept the same connection string, obviosuly changing the IP of the
database server (Server 1 IP). The slowness problem persisted so what
we did was to change the IP of the database server for the "localhost"
text and the string now looks something like this:
"jdbc:microsoft:sqlserver://localhost:1433;databaseName=clasioem",
For our big surprise, the application ran flawlessly and the connection
to the database was very fast. We switched again the "localhost" string
for the IP of the server (Servre 1 IP), and the connection dropped
instantly.
Any answers about this, they will be fully appreciated..
.
- Follow-Ups:
- Re: SQL Server 200 JDBC Driver Connection too slow when using IP address
- From: joeNOSPAM@xxxxxxx
- Re: SQL Server 200 JDBC Driver Connection too slow when using IP address
- Prev by Date: Re: Integrating w/ 3rd party TransactionManager?
- Next by Date: Re: SQL Server 200 JDBC Driver Connection too slow when using IP address
- Previous by thread: XA and 2000 backwards compatibility
- Next by thread: Re: SQL Server 200 JDBC Driver Connection too slow when using IP address
- Index(es):
Relevant Pages
|
Loading