[jboss-user] [JCA/JBoss] - Deploying a datasource inside an EAR

DavidSills do-not-reply at jboss.com
Fri Mar 20 13:51:54 EDT 2009


I am trying to deploy a datasource inside an EAR file in JBoss 5.0.1 GA. I understand I have to include the *-ds.xml file within the EAR file and point to it in the jboss-app.xml. So far that is working perfectly.

However, I need to have the datasource use a JAR file I have inside the EAR file as well. I cannot seem to get the classloader issues resolved. How should this be done?

Obviously, I can always deploy the JAR file separately, and then JBoss will use the unified classloader (I assume, haven't read up on possible classloader differences) and manage things. But that obviates the whole purpose, which was to deploy only one file. Is there a solution to this?

Thanks in advance, David Sills

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

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



More information about the jboss-user mailing list