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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to