3 Replies Latest reply on Nov 19, 2004 2:20 PM by cvandyck

    using jdom1.0 with jboss 3.2.x

    nfrank

      I am trying to move my application to jdom-1.0.
      I have a confict with jdom (0.9) which is present into jboss/lib.
      If I remove it, everything is ok, the server starts and works correctly.

      So what is using jdom in the server (I didn't find any reference to jdom into Jboss source code) ? I guess it is something I don't use right now but I want to be sure not having trouble in the futur...

      Thank's.

      Nicolas FRANK.

        • 1. Re: using jdom1.0 with jboss 3.2.x
          cvandyck

          I would also like to do the exact same thing, but JBoss is loading the older version instead :(

          • 2. Re: using jdom1.0 with jboss 3.2.x
            starksm64

            jdom is used only for parsing xmbean descriptors. If the server starts with the newer jdom then there will be no problems.

            • 3. Re: using jdom1.0 with jboss 3.2.x
              cvandyck

              Thanks for the reply Scott. I updated the jdom.jar in server/lib and the server booted fine.

              I'm working with a webapp deployed inside of a .ear. This webapp uses Cocoon/Avalon which has its own JDOM nested in a couple levels deep. This JDOM version is rather old, and at runtime I'm getting method invocation errors because I believe it is trying to use the version of JDOM in server/lib.

              I've seen a couple posts about using class loader repositories for different WARs and what have you. If I wanted to isolate parts of a WAR and/or EAR to use different version of JDOM, is this the way to go?

              Many thanks