permaculture playing cards*
The moose likes Tomcat and the fly likes JDBC Driver for Sql Server 2008 on Tomcat 7 get's the connection very slow. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBC Driver for Sql Server 2008 on Tomcat 7 get Watch "JDBC Driver for Sql Server 2008 on Tomcat 7 get New topic
Author

JDBC Driver for Sql Server 2008 on Tomcat 7 get's the connection very slow.

Andrei Antonescu
Ranch Hand

Joined: Jul 08, 2010
Posts: 75
Hello all,
I am using the JDBC v 4.0 on a Cent OS Linux on Tomcat 7 to connect to a SQL Server 2008 machine. The problem is that i get a "connection reset" almost always (And the webapp doesn't work because of that).
The JDBC driver is in the lib folder of Tomcat and it is the corrent distribution (the Linux one - made for JDK 6 - i run java 6).

Can you please help?

Thanks in advance.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19656
    
  18

"Connection reset" means there is probably a network problem between the Tomcat server and the database server.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: JDBC Driver for Sql Server 2008 on Tomcat 7 get's the connection very slow.
 
Similar Threads
Webapp can't load sql driver
JDBC connection on SQL Server 2005
Connection pooling with SQL Server
Free JDBC driver for SQLServer 7?
database not connecting to application