1 Reply Latest reply on Feb 25, 2004 10:10 AM by juha


    kanthkumar Newbie


      I implemented a ServiceMBean. My service uses "commons-logging.jar, commons-beanutils.jar, commons-digester.jar, commons-collections.jar". I deploy my service as a "sar" and I have put all these jars in that sar. My service starts fine.
      There is another serivce inside of Jboss, "jbossweb.sar" which uses the same set of jars and I am getting a Linkage error, during the start up of this service. How can I resolve this? I am using jboss4.0-DR2.
      Is there a way that I can limit the scope of the class loader to the SAR?

      Kantha Kanchiraju

        • 1. Re: LinkageErrors

          You're probably adding different versions of the commons-* libraries that may have incompatible changes in the interfaces and/or class signatures.

          You should isolate your deployment with the <loader-repository> tag in the jboss-service.xml of your SAR archive.