Why am I unable to connect Sql server 2008 R2 from tibco BW?

人盡茶涼 提交于 2019-12-25 01:46:58

问题


When I'm trying to connect to sql server from tibco JDBC connection getting the following errors. For com.microsoft.sqlserver.jdbc.SQLServerDriver

 BW-JDBC-100034 "Configuration Test Failed. Exception     [com.microsoft.sqlserver.jdbc.SQLServerException] occurred. com.microsoft.sqlserver.jdbc.SQLServerException: Software caused connection abort: recv  failed"

and for tibcosoftwareinc.jdbc.sqlserver.SQLServerDriver

BW-JDBC-100033 "Configuration Test Failed. Failed to find or load the JDBC driver: tibcosoftwareinc.jdbc.sqlserver.SQLServerDriver"

I've placed the jar files in C:\tibco\tpcl\5.7\lib folder and also tried by placing the jar files in C:\tibco\tpcl\5.7\jdbc folder.

Can any please let me know how to solve this problem?


回答1:


you should put the jar files in tibco bw/lib folder.

For me its C:\tibco\bw\5.10\lib

Additionally if you want to connect ms sql server using windows authentication then you also have to keep windows/system32 folder or add to class path.




回答2:


Your JDBC drivers should be placed in:

C:\tibco\tpcl\5.7\jdbc

You must create the jdbc folder if it doesn't exist.




回答3:


I had the same problem and Its resolved now.

First - Check If you are able to connect to a different Sql server using the JDBC connection in Tibco designer. If yes - there is an issue with the Sql server in your machine. You should upgrade to Sql Server 2008 Service Pack 2. I did, restarted my Sql server and was able to connect. Download it from here. Also you need to make sure you have the jdbc folder in your C:\tibco\tpcl\5.7\ and you have the corresponding class path tibco.env.STD_CP_EXT in the designer.tra.

Just FYI, a relevant fix is in in SP2 patch:-

http://support.microsoft.com/kb/2653857

FIX: You cannot connect to SQL Server by using JDBC Driver for SQL Server after you upgrade to JRE 6 update 29 or a later version



来源:https://stackoverflow.com/questions/20185872/why-am-i-unable-to-connect-sql-server-2008-r2-from-tibco-bw

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!