anonymous wrote : DataSource source = (DataSource)context.lookup("DCDEV"); //
DOES NOT WORK
The reason why this wont work is because, by default the datasources are bound in the
java: namespace. If you want it to be bound in the global namespace then add the following
statement to your ds configuration file(i.e. oracle-ds.xml)
<local-tx-datasource>
| <jndi-name>DCDEV</jndi-name>
| <use-java-context>false</use-java-context>
| ......
| <!-- All your other stuff -->
|
| </local-tx-datasource>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963103#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...