[jboss-user] [Installation, Configuration & Deployment] - Re: Howto package datasource and MQ definitions in ear

georgesberscheid do-not-reply at jboss.com
Tue Feb 27 12:49:53 EST 2007


Put a jboss-app.xml file into META-INF of your ear that looks somewhat like this:
<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss-app PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd">
  | <jboss-app>
  |   <module>
  |     <service>META-INF/datasources/mysql-ds.xml</service>
  |   </module>
  | </jboss-app>

This will deploy your -ds.xml and -service.xml files. You will have to adjust the path to the files though, depending on where you put them inside your archive ;-)

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

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



More information about the jboss-user mailing list