1 Reply Latest reply on Mar 10, 2009 3:16 PM by peterj

    Configuration to Ignore Shared Libraries?

      Is there a way to configure an application to be deployed to JBoss so that you can ignore certain libraries that are in the common libraries? For OC4J, we have used an orion-application.xml file, allowing the version of the library in our project to be the one imported:

      <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd" deployment-version="10.1.3.1.0" default-data-source="jdbc/OracleDS" component-classification="external"
      02. schema-major-version="10" schema-minor-version="0" >
      03. <imported-shared-libraries>
      04. <remove-inherited name="oracle.toplink"/>
      05. <remove-inherited name="oracle.persistence"/>
      06. <remove-inherited name="oracle.xml"/>
      07. <remove-inherited name="oracle.xml.security"/>
      08. </imported-shared-libraries>
      09.</orion-application>


      I'm having problems porting an application running under OC4J to run under JBoss, and I believe it has to do with shared libraries. I've removed all the hibernate* jars, as well as the ejb3-persistence.jar, but that doesn't seem to have solved the problem, and isn't the solution I'm looking for, as our app needs to be deployable on multiple application servers. It currently work in OC4J with the orion-application.xml file, and works w/o any modification in tomcat and glassfish. I appreciate any help you can give me!