[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error raised when deploying application

f_marchioni do-not-reply at jboss.com
Tue Aug 18 08:11:18 EDT 2009


Why are you declaring the Datasource into application.xml ?
It should be in jboss-app.xml : for example:

<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.

hope it helps
Francesco

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

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



More information about the jboss-user mailing list