[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Is it possible to configure DataSource inside the war fi
PeterJ
do-not-reply at jboss.com
Mon Oct 1 12:00:18 EDT 2007
Actually, there is no logical place for the *-ds.xml file within a WAR file. Instead, place the WAR and the *-ds.xml file within an EAR file. Then add a WEB-INF/application.xml file with contents like:
<application>
| <module>
| <web>
| <web-uri>xxx.war</web-uri>
| </web>
| </module>
| </application>
and a META-INF/jboss-app.xml file containing:
<jboss-app>
| <module>
| <service>xxx-ds.xml</service>
| </module>
| </jboss-app>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090323#4090323
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090323
More information about the jboss-user
mailing list