技术文章 - CS264989

Windchill PDMLink 中的服务器管理器启动失败,并出现错误“wt.manager.CacheManagerNegotiator - 无法获取 JDBC 连接”

已修改: 08-Aug-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 10.0 to 13.1

说明

  • 服务器管理器启动失败,错误信息为 wt.manager.CacheManagerNegotiator - 无法获取<Windchill>/logs下的服务器管理器日志中的 JDBC 连接。
  • 日志中可能会看到的一些常见示例错误:
    • 数据库实例无法访问时的错误:
       ERROR [main] wt.manager.CacheMasterNegotiator - Failed to acquire JDBC connection
      java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection....
    • Windchill 服务器管理器在出现错误后无法启动
      ERROR [main] wt.manager.CacheMasterNegotiator - Failed to acquire JDBC connection
      com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user '<XXXXX>'. ClientConnectionId:<IDnumber>...
    • Windchill 服务器管理器启动失败并出现错误
      2023-09-08 14:34:22,788 INFO  [main] wt.system.err - 9?? 08, 2023 2:34:22 ???? java.io.ObjectInputFilter$Config lambda$static$0
      2023-09-08 14:34:22,791 INFO  [main] wt.system.err - INFO: Creating serialization filter from !bsh.XThis;!bsh.Interpreter;!com.mchange.v2.c3p0.PoolBackedDataSource;!com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase;!clojure.lang.PersistentArrayMap;!clojure.inspector.proxy$javax.swing.table.AbstractTableModel$ff19274a
    • Oracle 登录失败的错误:
       ERROR [main] wt.manager.CacheMasterNegotiator - Failed to acquire JDBC connection java.sql.SQLException: ORA-01017: invalid username/password; logon denied
      ...
  • Windchill 服务器管理器启动失败并出现以下错误:
  •  ERROR [main] wt.manager.CacheMasterNegotiator - Failed to acquire JDBC connection java.sql.SQLException: ORA-28000: The account is locked. at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:509) at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:456)
  • Windchill 服务器管理器在出现错误后无法启动:
 ERROR [main] wt.manager.CacheMasterNegotiator - Failed to acquire JDBC connection
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host XXX, port 1433 has failed. Error: "XXX. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:234)
    at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:285)
    at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2431)
    at com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java:656)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2440)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:2103)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1950)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1162)
    at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:735)
    at java.sql.DriverManager.getConnection(DriverManager.java:664)
    at java.sql.DriverManager.getConnection(DriverManager.java:247)
    at wt.pds.StandardDataSource$1.getConnection(StandardDataSource.java:118)
    at wt.pds.StandardDataSource$ConnectionRetry.execute(StandardDataSource.java:400)
    at wt.pds.StandardDataSource.getConnection(StandardDataSource.java:122)
    at wt.pds.StandardDataSource.getConnection(StandardDataSource.java:89)
    at wt.manager.CacheMasterNegotiator.getNewConnection(CacheMasterNegotiator.java:859)
    at wt.manager.CacheMasterNegotiator.start(CacheMasterNegotiator.java:2268)
    at wt.manager.ServerManagerMain.startServerManager_internal(ServerManagerMain.java:392)
    at wt.manager.ServerManagerMain.run(ServerManagerMain.java:300)
    at wt.manager.ServerManagerMain.main(ServerManagerMain.java:230)
这是文章 264989 的 PDF 版本,可能已过期。最新版本 CS264989