1 Reply Latest reply on Mar 26, 2009 10:39 AM by adrian.brock

    Deploying a datasource inside an EAR

      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