sql-server - IBM WebSphere Application 服务器的连接问题
问题描述
- 通过 SSMS 与 sa 用户的数据库连接按预期工作。o SQL Server 正在侦听端口 1433 o SSL 加密在 SQL Server 级别为 FALSE
尝试使用以下罐子
mssql-jdbc-8.2.2.jre8- ,
mssql-jdbc-8.2.2.jre11.jar,
mssql-jdbc-8.2.2.jre13.jar.
错误:
The test connection operation failed for data source *xxxxx(DB instance)* on server dmgr
at node AptraCellManager01 with the following exception: j**ava.sql.SQLException:
The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server did not return a response. The connection has been closed.
ClientConnectionId:7f6078da-828e-4ac2-9b49-96ee6a8bc177". DSRA0010E: SQL State = 08S01, Error Code =0.
View JVM logs for further details.**
解决方案
通过在 dmgr jvm 自定义属性中添加 com.ibm.jsse2.overrideDefaultTLS =true 解决了连接问题
https://www.ibm.com/support/pages/how-get-datasource-websphere-85x-working-sql-server-using-tlsv12
推荐阅读
- symfony - Symfony 3.4 - 扩展捆绑实体
- oracle - 在 oracle 上查找天差
- multithreading - C#锁工具出错
- javascript - 检查一个对象的一部分是否包含另一个完整的对象
- android - 如何获取 iphone 和 android 的唯一标识符
- image - 如何使用三个点在灰度图像上拟合 B 样条曲线
- arrays - 如何在python中执行快速切割零边缘?
- plot - Printing custom label every n elements using Gnuplot
- angularjs - 将 Angular 指令属性绑定到父控制器
- php - smarty_internal_templatebase 中的 Prestashop 1.6 php 错误