[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Is ti possible to define a datasource inside a war/ear f

jaikiran do-not-reply at jboss.com
Mon Jun 16 10:45:03 EDT 2008


Yes. In your EAR file, create a jboss-app.xml file containing the following:

  | <jboss-app>
  |   
  |  <module>
  |    <service>myapp-ds.xml</service>
  |  </module>
  |   
  | </jboss-app>

Place this jboss-app.xml in the META-INF folder of your EAR. And place the -ds.xml at the root of the EAR.


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158370



More information about the jboss-user mailing list