"lafr" wrote : You can put all your datasources into one oracle-ds.xml. | The root tag datasources can have an unlimited number of local-tx-datasource children.
I've done that now I have | <datasources> | | <local-tx-datasource> | <jndi-name>OracleDS</jndi-name> | <connection-url>jdbc:oracle:thin:@192.165.12.200:1521:ded</connection-url> | <driver-class>oracle.jdbc.driver.OracleDriver</driver-class> | <user-name>adm</user-name> | <password>adm</password> | <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name> | <metadata> | <type-mapping>Oracle9i</type-mapping> | </metadata> | </local-tx-datasource> | | <local-tx-datasource> | <jndi-name>CliDS</jndi-name> | <connection-url>jdbc:oracle:thin:@192.165.12.200:1521:ded</connection-url> | <driver-class>oracle.jdbc.driver.OracleDriver</driver-class> | <user-name>CLI</user-name> | <password>321</password> | <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name> | <metadata> | <type-mapping>Oracle9i</type-mapping> | </metadata> | </local-tx-datasource> | | </datasources> | | and when I use the OracleDS in my java class it works well but when I use the CliDS is says not bound. In the jmx-console there are both MBeans one for OracleDS and one for CliDS. What am I missing? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896554#3896554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896554 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user