Skip to main content
Inspiring
October 1, 2010
Question

CF 9 MSSQL DB Connection loss after service restart

  • October 1, 2010
  • 1 reply
  • 1308 views

We have 9 servers running almost identical applications, they all pull data from one database server (Connections are internal).

We also have services on CF restarting nightly around 4am on all the servers.

On one of our servers occasionally the resart will cause the database connections to hopelessly break, we get the following CF errors constantly until we restart the entire server, at which point it works just fine.

[Macromedia][SQLServer JDBC Driver]Object has been closed.

[Macromedia][SQLServer JDBC Driver]Connection reset by peer: socket write error

It seems the database is rejecting the connections to the newly restarted services. I can't glean anything from CF logs other than the above. The database logs dont seem to say anything either (Admittedly not an expert). Does anyone have any ideas as to what could possibly be causing this?

Application Server Specs:

CF9 64 bit

Server Details
Server ProductColdFusion
Version9,0,0,251028 
EditionStandard 
Serial NumberXXXXXXXXXXXXXXXXXXXXXX
Operating SystemWindows Server 2008 
OS Version6.0 
Adobe Driver Version4.0 (Build 0005) 
JVM Details
Java Version1.6.0_14 
Java VendorSun Microsystems Inc. 
Java Vendor URLhttp://java.sun.com/

Datbase Server Specs:

Windows Server 2008 64bit, Microsoft SQL Server 2008

    This topic has been closed for replies.

    1 reply

    Inspiring
    October 1, 2010

    Are there any network infrastructure differences between that server & the other ones?

    --

    Adam

    Inspiring
    October 1, 2010

    Yea that was the first thing we started looking at. Not as far as I can tell, but we are still keeping that in consideration.

    Legend
    October 4, 2010

    Hi,

    I notice CF9 version is 9.0.0 - maybe you could try updater1 tho you say other CF9 servers are OK and running same version.

    Perhaps run a CMD "PING -t" between the CF9 and SQL on each consol. Is a local LAN you should get some fast response times and no dropped packets. If this CF9 server is noticeably slow or dropping packets then likely that might help resolve matter.

    One other thing comes to mind perhaps use another SQL Server JDBC Driver instead of the one built in to the CFadmin.

    HTH, Carl.