简体   繁体   English

jboss 4.2.3中通过数据源的Oracle 12 c RAC连接问题

[英]Oracle 12 c RAC connection issue in jboss 4.2.3 through datasource

We were using oracle 11g, in jboss 4.2.3 using datasource xml file .It was working fine.Now we moved to oracle 12 c rac version. 我们在jboss 4.2.3中使用oracle 11g,使用数据源xml文件。它工作正常,现在我们移至oracle 12 c rac版本。 we changed the url in datasource xml file but it is giving [org.jboss.resource.connectionmanager.JBossManagedConnectionPool]Throwable while attempting to get a new connection: null 我们更改了数据源xml文件中的url,但是它在尝试获取新的连接时会抛出[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable:null

but using same url in jdbc connection using Class. 但是在使用Class的jdbc连接中使用相同的url。 forName(....), It is working proper. forName(....),它工作正常。 Please help me out , why we are not able to connect through datasource xml file. 请帮帮我,为什么我们不能通过数据源xml文件连接。

our configuration : jboss 4.2.3 oracle 12c rac jdk 1.6 ojdbc6.jar 我们的配置:jboss 4.2.3 oracle 12c rac jdk 1.6 ojdbc6.jar

尝试从JBOSS控制台添加一个新的数据源(12c一个),而不是手动执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM