0

我正在尝试连接到 tibco bw 5.12.0 中的数据库。在测试连接中,我在弹出窗口中遇到错误

“AEADB-800064:连接测试失败。

([tibcosoftwareinc][Oracle JDBC Driver]No more data available to read.)"

控制台日志:-

2017 Mar 09 17:27:09:398 GMT +0530 MetadataAdapter Info [Database] AEADB-100010 
    jdbc connection as : Driver tibcosoftwareinc.jdbc.oracle.OracleDriver, URL jdbc:tibcosoftwareinc:oracle://127.0.0.1:8080;SID=XE, User System

Trampoline error: com.tibco.ae.tools.palettes.adb.DesignTimeAdapterProxy@4255ce57 connect
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.tibco.util.Trampoline.invoke(Trampoline.java:136)
    at com.tibco.ui.BusyWait.run(BusyWait.java:428)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLNonTransientConnectionException: [tibcosoftwareinc][Oracle JDBC Driver]No more data available to read.
    at tibcosoftwareinc.jdbc.oraclebase.ddcr.b(Unknown Source)
    at tibcosoftwareinc.jdbc.oraclebase.ddcr.a(Unknown Source)
    at tibcosoftwareinc.jdbc.oraclebase.ddcq.b(Unknown Source)
    at tibcosoftwareinc.jdbc.oraclebase.ddcq.a(Unknown Source)
    at tibcosoftwareinc.jdbc.oraclebase.ddcq.a(Unknown Source)
    at tibcosoftwareinc.jdbc.oracle.net8.ddj.a(Unknown Source)
    at tibcosoftwareinc.jdbc.oracle.OracleImplConnection.a(Unknown Source)
    at tibcosoftwareinc.jdbc.oracle.OracleImplConnection.ah(Unknown Source)
    at tibcosoftwareinc.jdbc.oracle.OracleImplConnection.b(Unknown Source)
    at tibcosoftwareinc.jdbc.oracle.OracleImplConnection.z(Unknown Source)
    at tibcosoftwareinc.jdbc.oraclebase.BaseConnection.b(Unknown Source)
    at tibcosoftwareinc.jdbc.oraclebase.BaseConnection.k(Unknown Source)
    at tibcosoftwareinc.jdbc.oraclebase.BaseConnection.a(Unknown Source)
    at tibcosoftwareinc.jdbc.oraclebase.BaseConnection.a(Unknown Source)
    at tibcosoftwareinc.jdbc.oraclebase.BaseDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at com.tibco.ae.adb.metadataadapter.Agent.connect(Unknown Source)
    at com.tibco.ae.adb.metadataadapter.EmbeddedAgentManager.connect(Unknown Source)
:
:   
Connection test failed.
connected: false
4

1 回答 1

0

这可能是由于默认启用了“Oracle 数据库可能具有 Oracle 高级安全性 (OAS)”身份验证。请使用以下查询进行检查,如果返回 true,则禁用身份验证。

选择参数,来自 v$option 的值 where upper(parameter) like '%SECURITY%'

于 2017-03-13T18:43:34.163 回答