I would like to know whether I am giving proper information when setting up JDBC connection to SQL Server.
I have copied the jar files msutil.jar, msbase.jar and mssqlserver.jar under …/IntegrationServer/packages/WmJDBCAdapter/code/jars/static/ and restarted the server.
Other than the above jar files, do i need to install any other jars?
In the connection details, I am using datasource class as com.microsoft.jdbcx.sqlserver.SQLServerDataSource and providing servername, databasename, userid, pw, port,
What should i mention in Network Protocal and OtherProperties? Please let me know.
[ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource Connections.jdbc:Test1.
[ART.118.5063] Adapter Runtime (Connection): Unable to start connection Connections.jdbc:Test1: after 1 attempt(s).
[ADA.1.204] Cannot connect to the database with DataSource class “com.microsoft.jdbcx.sqlserver.SQLServerDataSource”.
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Login failed for user ‘ABCD’.
Here are the connection details again. The server is SQL Server 2008 R2.
TransactionType: LOCAL_TRANSACTION
DataSource Class: com.microsoft.sqlserver.jdbc.SQLServerDataSource
Servername: abcdefgh
port: 2866
user: ABCD
pw: ****
database: test
networkProtocal: TCP
Other Properties: Left blank.
Did not enable: connection Pooling [ I would like to enable after the connection is setup ]
The jar files which are already in place are msbase.jar, msutil.jar, mssqlserver.jar and sqljdbc.jar under /IntegrationServer/packages/WmJDBCAdapter/code/jars/static/
and sl53_cj34.jar under IntegrationServer/lib/jars/.
But I still get the same error as above. Can someone let me know what might be missing. Is it the login credentials or any jar file missing?
If it is Login failed error, make sure you are using the correct user name and password to login. You can paste the exact error message you are getting…
I’m getting the below error, when im trying to connect to SQL Server 2008. We are using wM 9.7
[ADA.1.204] Cannot connect to the database with DataSource class “com.microsoft.sqlserver.jdbc.SQLServerDataSource”.
SQL Server version 8 is not supported by this driver.
Please check for latest Driver from Microsoft (Version 4.1.5605.100 or newer).
Alternatively you can try to use the embedded DataDirect-Driver (common/llib/ext/dd-cjdbc.jar).
See Settings->JDBC-Pools for a Sample how the Connection can be configured.
i am getting this exact error “Connection refused (Connection refused). Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port”