1 Reply Latest reply on Sep 19, 2002 1:18 PM by kimptoc

    Scoped deployment for SARs?

    kimptoc

      Hi,

      I don't want to share classes between 2 mbeans. They rely on different (incompatible) versions of a 3rd party jar.

      Is it possible to have scoped deployment of SARs so that they don't see each others jars?

      Thanks,
      Chris

        • 1. Re: Scoped deployment for SARs?
          kimptoc

          I have tried using the scoped ear <loader-repository> element in my META-INF/jboss-app.xml.

          <jboss-app>
          <loader-repository>user123:loader=abc123</loader-repository>
          </jboss-app>

          But this seems to be cause the deployment to hang - failed to find deployer.

          I am assuming that the name above needs to be unique and that jboss will then create a specific classloader for that name...

          Thanks,
          Chris