on second thought, when you deploy the oracle-ds.xml JBoss will create the jndi 
entry for mcv_test. so you should be able to look it up without any 
resource-ref tags in your xml files.

for example: 
my oracle-ds.xml
 <jndi-name>OracleDS</jndi-name> 
  |   <connection-url>jdbc:oracle:thin:@localhost:1521:orcl</connection-url> 
  | 

and i can look it up with:
DataSource ds = (DataSource)new InitialContext().lookup("java:/OracleDS");
and i have no resource-ref tags in web.xml or jboss-web.xml.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074592#4074592

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074592
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to