Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Why do I get an “A connection could not be obtained" error for the SAP Connector?

Setting up the IBM Rational SAP Connector with an MS SQL server database throws a connection error when accessing projects in the UI in the web browser.


jdbc error message


"A connection could not be obtained for driver class "com.microsoft.sqlserver.jdbc.SQLServerDriver"....  
You may have specified an invalid URL."

The same message details is also found in
C:\IBM\SapConnector\server\tomcat\logs\localhost.2015-01-15.log


The DB server can be accessed from RQM without errors and other databases on that same SQL server can be reached as well.


0 votes



One answer

Permanent link

The root cause was a missing semicolon at the end of the jdbc connection string property in

C:\IBM\SapConnector\server\conf\sapconnector.properties

A semicolon: ";" is needed to terminate each line in the sapconnector.properties file.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,505
× 2

Question asked: Jan 20 '15, 4:29 a.m.

Question was seen: 4,967 times

Last updated: Jan 20 '15, 5:11 a.m.

Confirmation Cancel Confirm