3 Replies Latest reply on Mar 5, 2009 11:21 AM by alesj

    ClassLoadingConfiguration in .spring archive

    mundrid

      How do I changed the class loading config in a .spring file like here:
      http://www.jboss.org/community/docs/DOC-9288

      ??

      Thanks

        • 1. Re: ClassLoadingConfiguration in .spring archive
          alesj

          What has .spring file got to do with this?
          You mean this only works with .sar, .ear or .war?

          With JBoss5 you can do this in any deployment.

          • 2. Re: ClassLoadingConfiguration in .spring archive
            mundrid

             

            "alesj" wrote:
            What has .spring file got to do with this?

            That's what I'm using.

            "alesj" wrote:
            You mean this only works with .sar, .ear or .war?

            I don't know. I just want to affect the classloader like I would with a .sar or .ear file as provided by that link, only I have a .spring file

            "alesj" wrote:
            With JBoss5 you can do this in any deployment.

            We're using JBoss 4 ATM

            • 3. Re: ClassLoadingConfiguration in .spring archive
              alesj

               

              "Mundrid" wrote:

              "alesj" wrote:
              You mean this only works with .sar, .ear or .war?

              I don't know. I just want to affect the classloader like I would with a .sar or .ear file as provided by that link, only I have a .spring file

              You might try it as with .sar, since that's the most similar you have with .spring.
              But unfortunately I don't know whether it will work - never tried it.
              In the worst case I guess you can wrap your .spring into .ear, which has that CL scoping notion.