Try if this works
(1) modify xxx-ds.xml
<local-tx-datasources>
<jndi-name>yourOracleDS</jndi-name>
<connection-url>jdbc:oracle:thin:@localhost:1521:EPS</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>yourUserName</user-name>
yourPwd
</local-tx-datasources>
(2) modify your method:
javax.sql.DataSource ds = (javax.sql.DataSource)
ctx.lookup("java:/yourOracleDS");
(3) ensure oracle driver (i.e. classes12.jar) in JBOSS lib directory
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857104#3857104
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857104
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user