Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to connect to external SQL Server 2017 database with TLS 1.2

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):

  • Driver name: jTDS Type 4 JDBC Driver for MS SQL Server and Sybase
  • Driver class name: net.sourceforge.jtds.jdbc.Driver
  • Driver version: 1.2.2
  • Database URL: jdbc:jtds:sqlserver://<database_server>:1433/<database_name>
  • Hibernate dialect: net.sf.hibernate.dialect.SQLServerIntlDialect

Probably relevant:

  • Java version: 1.7.0_25
  • Bamboo version: 5.5.1

Is this as simple as updating my Bamboo version? Thanks for any help!

1 answer


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 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



It seems I should just go ahead and update our Bamboo server to the newer version and hopefully it will resolve the connection problems. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

58 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you