Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Andrei Antonescu
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21048
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Connection reset" means there is probably a network problem between the Tomcat server and the database server.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!