[JBoss-user] [Installation, Configuration & Deployment] - Re: oracle with different useres
Found the solution in my java I had | ds = (DataSource)ctx.lookup("java:comp/env" + db); | and it was working fine for OracleDS now I've tried | ds = (DataSource)ctx.lookup("java:" + db); | and it works for both :) now I've a question about connection pooling but it's best to put it in a new thread. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896561#3896561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896561 --- 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
[JBoss-user] [Installation, Configuration & Deployment] - Re: oracle with different useres
"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 | | | | OracleDS | jdbc:oracle:thin:@192.165.12.200:1521:ded | oracle.jdbc.driver.OracleDriver | adm | adm | org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | | Oracle9i | | | | | CliDS | jdbc:oracle:thin:@192.165.12.200:1521:ded | oracle.jdbc.driver.OracleDriver | CLI | 321 | org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | | Oracle9i | | | | | | 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
[JBoss-user] [Installation, Configuration & Deployment] - Re: oracle with different useres
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. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896462#3896462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896462 --- 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