You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We upgraded our database server to Windows Server 2019 running SQL Server 2017 and hardened everything following PCI standards, limiting connections to TLS 1.2. This has meant tweaking connection strings to use newer drivers for everything connecting to it, but I can't get our local Bamboo server to connect. I get error:
"bamboo java.sql.SQLexception I/O Error: db server closed connection"
I assume I need to update our dated Bamboo version or use a different driver, but I'm flailing a bit and any help would be much appreciated. Here's my current bamboo configuration (without db server/name):
Is this as simple as updating my Bamboo version? Thanks for any help!
Could you try the recommendations from links given below and check it (although they are not for Bamboo - but should work),
Buggy driver and proper connection strings,
Load SQL certs into JAVA keystore,
I tried both suggestions, but am still getting the same error.
The database server does indeed enforce SSL (required for PCI compliance) so your second link seemed to be on the right track. I followed the instructions at https://confluence.atlassian.com/adminjiraserver070/connecting-to-ssl-services-779356667.html and imported the certificate into the trust store at $JAVA_HOME/jre/lib/security/cacerts ($JAVA_HOME/lib/security/cacerts does not exist). However, this didn't change the error.
I tried various combinations of enabling SSL in the connection string and changing the JAVA_OPTS environment variable as described in your first link as well.
I read that SQL Server 2017 wasn't supported on earlier versions of Bamboo. Is this true regardless of configuration changes?
I didn't find the supported platform for Bamboo 5.5.1 but I did it for 5.13.x
As per the above, it seems SQL server 2017 was not supported for 5.13 and I assume it's same case for 5.5.1 as well