File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 19718
    
  20

"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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC Driver for Sql Server 2008 on Tomcat 7 get's the connection very slow.