[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss version versus JRE

PeterJ do-not-reply at jboss.com
Tue Jan 16 16:15:09 EST 2007


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



More information about the jboss-user mailing list