This content has been marked as final.
Show 1 reply
-
1. Re: Is it possible to configure DataSource inside the war fi
peterj Oct 1, 2007 12:00 PM (in response to francis1970)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>