ID CRJAZ2654E error with sql database while JDBC connection
4 answers
/win-abceg6k76dr:1433;databaseName=jts;user=jtsDBuser;password={password}
I believe there are supposed to be two:
//win-abceg6k76dr:1433;databaseName=jts;user=jtsDBuser;password={password}
Comments
In case the test connection still fails after correcting the connection string, I suggest to review jts.log to see if any specific db error code exists there.
I recently worked with a user who experiences the same error when testing connection to a SQLserver database. The error in jts.log shows DB error code: 08S01 which seems to indicate that the SQLserver is not configured to allow SSL connection:
CRJAZ2654E The server was unable to connect to the database because the database connection settings are invalid or because database is unreachable (SQLSTATE: 08S01, SQLCODE: 0). Verify the connection settings in your teamserver.properties file. See the Jazz Team Server log for more information.
I don't believe you have the same issue, but want to share for your info.
Hi Kot,
Hi ,
I had a similar issue while running the jts setup and configuring the SQL Server Database:
- CRJAZ2654E The server was unable to connect to the database because the database connection settings are invalid or because database is unreachable (SQLSTATE: 08S01, SQLCODE: 0). Verify the connection settings in your teamserver.properties file. See the Jazz Team Server log for more information.
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host, port 1433 has failed. Error: "Connection refused: no further information. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:234)
at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:285)
at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2431)
at com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java:656)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServer
Steps to resolve:
2)Check for the Port restrictions on the firewall and ensure that port 1433 is allowed
3)Check whether the hostname of the db is reachable.. if not for the hostname, try with the ipaddr of the db server.