Hello,
I have a DS currently configured correctly for an application, outside the ear file. Since this datasource is ONLY for one application, I want to integrate this DS in the ear or the ejb.jar file. Is there a way to do that?
How to create the DataSet during deployment?
I try to put the ds.xml file in the /META-INF/ of the ejb.jar file without success.
I get the same with a ds.xml in the /META-INF/ of the ear.
Thank you.
You really don't want to do this. Read the following:
http://wiki.jboss.org/wiki/Wiki.jsp?page=IWantToDeployMyOwnJdbcDriverInAScopedClassloader
The bettter approach would be a seperate JBoss instance per DB driver deployment.