CF21U12 - SQL DSN stopped working - Connection verification failed for data source
Hey all.
Had something weird happened last night/this morning.
Post OS Updates (I don't think it's MS Updates - but it is a change) last night my production instance of our CF21 server stopped connecting to the backend SQL Server with the following error:
Connection verification failed for data source: <DSNName>
java.sql.SQLException: Timed out trying to establish connection
Looking in the coldfusion-error.log I see....
Exception in thread "Thread-948" java.lang.NoClassDefFoundError: com/ddtek/jdbc/extensions/ExtEmbeddedConnection
at macromedia.jdbc.sqlserver.base.r.dg(|SQLServer|6.0.0.1282|:49)
at macromedia.jdbc.sqlserver.base.s.I(|SQLServer|6.0.0.1282|:135)
at macromedia.jdbc.sqlserver.base.BaseDriver.connect(|SQLServer|6.0.0.1282|:190)
at macromedia.jdbc.MacromediaDriver.connect(MacromediaDriver.java:256)
at coldfusion.server.j2ee.sql.pool.JDBCPool.createPhysicalConnection(JDBCPool.java:666)
at coldfusion.server.j2ee.sql.pool.ConnectionRunner$RunnableConnection.run(ConnectionRunner.java:67)
at java.base/java.lang.Thread.run(Thread.java:834)
A non-SQL error occurred while requesting a connection from <DSNName>.
Timed out trying to establish connection
I've tried deleting and recreating the DSN - same result.
I've verified that the CF Server DOES have network connectivity over 1433 to the PRD SQL Server using Test-NetConnection <servername> -port 1433 and everything works there.
I can connect to the SQL server using SSMS - no issues there.
I can connect to the PRD SQL server from our DEV server (which got the OS updates last week with no issues) - so no issues there either.
I had this same issue crop up on another CF server (running Enterprise) a couple of weeks ago - that one I fixed by simply creating a new instance on that server from scratch - but this is a CF Standard install, and I think I'd have to uninstall and reinstall CF to effectively do that here, and while I could do that - it'd take more time than I'd want (since I'm technically on vacation 😎 ).
