[jboss-user] [Datasource Configuration] - three identical datasources, two available, one unavailable?!
Sebastian Bayerlein
do-not-reply at jboss.com
Wed Apr 7 06:33:47 EDT 2010
Sebastian Bayerlein [http://community.jboss.org/people/sebbay] created the discussion
"three identical datasources, two available, one unavailable?!"
To view the discussion, visit: http://community.jboss.org/message/536038#536038
--------------------------------------------------------------
Hello,
I am using JBoss 5.1.0 and configured three identical datasources with different JNDI-Names.
datasource RTBSDataSource:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<no-tx-datasource>
<jndi-name>RTBSDataSource</jndi-name>
<connection-url>jdbc:oracle:thin:@xxx:yyy:zzz</connection-url>
<use-java-context>false</use-java-context>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>USR</user-name>
<password>PWD</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>32</max-pool-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<metadata>
<type-mapping>Oracle9i</type-mapping>
</metadata>
</no-tx-datasource>
</datasources>
datasource B1TRANSLATION:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<no-tx-datasource>
<jndi-name>B1TRANSLATION</jndi-name>
<connection-url>jdbc:oracle:thin:@xxx:yyy:zzz</connection-url>
<use-java-context>false</use-java-context>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>USR</user-name>
<password>PWD</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>32</max-pool-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<metadata>
<type-mapping>Oracle9i</type-mapping>
</metadata>
</no-tx-datasource>
</datasources>
datasource CubeDataSource:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<no-tx-datasource>
<jndi-name>CubeDataSource</jndi-name>
<connection-url>jdbc:oracle:thin:@xxx:yyy:zzz</connection-url>
<use-java-context>false</use-java-context>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>USR</user-name>
<password>PWD</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>32</max-pool-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<metadata>
<type-mapping>Oracle9i</type-mapping>
</metadata>
</no-tx-datasource>
</datasources>
Has somebody an idea, why the datasources RTBSDataSource and CubeDataSource are in state 'available' and the datasource B1TRANSLATION is in state 'unavailable'?
When starting up JBoss, I get no errors.
Best regards,
sebbay
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536038#536038]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100407/1268be22/attachment.html
More information about the jboss-user
mailing list