数据库上防火墙已关闭,1433端口是通的,was里面测试连接失败报错是怎么了
在节点 louis-PCNode01 上的服务器 server1 上,对数据源 test 执行的测试连接操作由于以下异常 java.sql.SQLException: 通过端口 1433 连接到主机 cirs 的 TCP/IP 连接失败。错误:“null。请验证连接属性,并检查 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。 DSRA0010E: SQL 状态:08S01,错误码:0。 而失败。 查看 JVM 日志 获取进一步的详细信息。 |
[16-9-26 10:12:34:756 CST] 00000001 ResourceMgrIm E WSVR0017E: 绑定 J2EE 资源 test 时出错,因为 jdbc 来自 E:Program FilesIBMWebSphereAppServerprofilesAppSrv01configcells/louis-PCNode01Cell/nodes/louis-PCNode01/servers/server1/resources.xml
com.ibm.ws.naming.util.CannotUnbindSubcontextException: The context created with the name "jdbc" relative to the context "louis-PCNode01Cell/nodes/louis-PCNode01/servers/server1" cannot be unbound. The existing binding is a primary context binding. Use the destroySubcontext method. [Root exception is org.omg.CORBA.IMP_LIMIT: Cannot rebind primary context 'louis-PCNode01Cell/nodes/louis-PCNode01/servers/server1++jdbc'. vmcid: 0x49421000 minor code: 80 completed: No]
at com.ibm.ws.naming.jndicos.CNContextImpl.mapIMP_LIMIT(CNContextImpl.java:4654)
at com.ibm.ws.naming.jndicos.CNContextImpl.doRebind(CNContextImpl.java:2118)
[16-9-26 10:14:27:046 CST] 00000074 DSConfigurati W DSRA8201W: DataSource 配置:DSRA8040I: 未能连接到 DataSource jdbc。遇到 java.sql.SQLException:通过端口 1433 连接到主机 cirs 的 TCP/IP 连接失败。错误:“null。请验证连接属性,并检查 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。 DSRA0010E: SQL 状态:08S01,错误码:0。。
java.sql.SQLException: 通过端口 1433 连接到主机 cirs 的 TCP/IP 连接失败。错误:“null。请验证连接属性,并检查 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。 DSRA0010E: SQL 状态:08S01,错误码:0。
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:170)