HP不间断数据库连接问题

时间:2018-09-17 12:22:10

标签: java jdbc hp-nonstop

尝试连接到HP Non Stop数据库时遇到以下错误。我在Google中搜索了解决方案,但没有发现任何类似的错误。请帮忙。

com.tandem.t4jdbc.SQLMXException: Unexpected programming exception has been found: Version Mismatch: Client Version is R3.1 Client Vproc is T1249_V32(ANF)_15APR2014_HP_NONSTOP(TM)_JDBCT4_201 Server Version is R3.4 Server Vproc is T7969H34_30APR2018_AOC_AS_0518 . Check the server event log on node {1} for details.
    at com.tandem.t4jdbc.SQLMXMessages.createSQLException(SQLMXMessages.java:330)
    at com.tandem.t4jdbc.SQLMXMessages.createSQLException(SQLMXMessages.java:271)
    at com.tandem.t4jdbc.odbcas_ASSvc_GetObjRefHdl_exc_.extractFromByteArray(odbcas_ASSvc_GetObjRefHdl_exc_.java:77)
    at com.tandem.t4jdbc.ConnectReply.<init>(ConnectReply.java:51)
    at com.tandem.t4jdbc.SQLMX_AssociationServer_Connect.getConnection(SQLMX_AssociationServer_Connect.java:86)
    at com.tandem.t4jdbc.InterfaceConnection.connect(InterfaceConnection.java:546)
    at com.tandem.t4jdbc.InterfaceConnection.<init>(InterfaceConnection.java:191)
    at com.tandem.t4jdbc.SQLMXConnection.makeConnection(SQLMXConnection.java:2200)
    at com.tandem.t4jdbc.SQLMXConnection.<init>(SQLMXConnection.java:2141)
    at com.tandem.t4jdbc.SQLMXDataSource.getConnection(SQLMXDataSource.java:129)
    at com.tandem.t4jdbc.SQLMXDataSource.getConnection(SQLMXDataSource.java:183)
    at com.tandem.t4jdbc.SQLMXDriver.connect(SQLMXDriver.java:178)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at HPNSConnect.main(HPNSConnect.java:21)

代码:

Class.forName("com.tandem.t4jdbc.SQLMXDriver");
String url = "jdbc:t4sqlmx://server:port/:";
Connection con = DriverManager.getConnection(url, userName, password);

我在getConnection()中遇到了以上错误。

0 个答案:

没有答案