2017-02-10 82 views
0

我有一个WAS 6.1版本insallted,它使用Java 1.5。最近我们更新了数据库到Oracle 12c。 当我尝试连接到12C的数据源林得到错误java.sql.SQLException:Oracle错误ORA-12650DSRA0010E:SQL状态= 99999,错误代码= 1,265

"java.sql.SQLException: Oracle Error ORA-12650DSRA0010E: SQL State = 99999, Error Code = 1,265" 


** 

- Steps that I have tried: 

** 
1- using ojdbc5.jar(already tried ojdbc14.jar and ojdbc6.jar bith of them not working 

2-Set the custom properties 
    prop.put("oracle.net.encryption_client", "REQUIRED"); 
    prop.put("oracle.net.encryption_types_client", "(DES40)"); 
    prop.put("oracle.net.crypto_checksum_client", "REQUESTED"); 
    prop.put("oracle.net.crypto_checksum_types_client", "(MD5)"); 

3- I am using a thin client and 
**jdbc:oracle:thin:@hostname:port:servicename** 

I havetried the below thin client address also 

**jdbc:oracle:thin:/hostname:port:/servicename** 

Please help me to fix this issue. My Lincence to Oracle 12c will end on 13th Feb 2017. I know it's too late but please help. 

Thanks in Advance. 

Date:10-Feb-2017 
+0

可能你的数据库被配置为需要某种加密,并且与客户端配置不一致。尝试禁用服务器端的完整性和加密,请查看[配置网络数据加密和完整性](http://oracle.informatik.haw-hamburg.de/network.121/e17607/asoconfg.htm)以获取更多详细信息。 – Gas

+0

有没有人知道如果我需要连接到WAS6.1的12c数据库,必须使用oci驱动程序的hwich版本。 – Sreejith

回答