You need a WEB-INF/jboss-web.xml file wit the following contents:

<?xml version='1.0' encoding='UTF-8' ?>
  | <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" 
"http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd";>
  | <jboss-web>
  |   <resource-ref>
  |     <res-ref-name>jdbc/JVantageDS</res-ref-name>
  |     <jndi-name>java:jdbc/JVantageDS</jndi-name>
  |   </resource-ref>
  | </jboss-web>

This maps the JNDI name your code uses to the JNDI name in JBoss.


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

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

Reply via email to