2 Replies Latest reply on Dec 29, 2011 8:12 AM by Wilson.T-Oracle

    Restricting Delegate Classloading for Resource Adaptor

    Sheeraz Junejo
      I have an EAR application contains multilple EJB's and single Resource Adaptor. My EJB depends on some JARs which are under lib directory.

      Now the problem is that I have a JAR abc.jar which are present under my my.ear/lib directory as well as under my Resource Adaptor i.e. my.ear/plugin-ra.rar#abc.jar, both are same but I want my Resource Adaptor to use the one which is inside my my.ear/plugin-ra.rar instead of one under my.ear/lib as this JAR loads my plugin present under Resource Adaptor.

      Is there anyway I can configure my RA to use delegate=false at class loading using Application Server specific deployment descriptors, as this behaivour differs from each Application Server. This is currently working fine on jBoss 4.2.3GA without any configurations but fails on Glassfish3.0.1, WebSphere7 and WebLogic10.3.3.

      Your comments and help will be appreciated.