4 Replies Latest reply on Mar 24, 2010 8:35 AM by timothy.downey

    FUSE Support for Spring 3.0.0.RC1?

    oren

      Dear All,

       

      Is it possible to use Spring 3.0.0.RC1 bundles (e.g. spring-core, etc.) inside FUSE 4.1.0.2? I tried to deploy them and they were activated, but the bus could not be restarted. It just hung with the error message

       

      org.osgi.framework.BundleException: Unable to resolve due to constraint violatio

      n.

              at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)

              at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)

      ...

       

      which is probably due to package conflicts with the Spring 2.5.6 jars. Undeploying all 2.5.6s didn't help either.

       

      Thanks so much in advance,

      Oren

        • 1. Re: FUSE Support for Spring 3.0.0.RC1?
          martinmurphy

          This may be possible, but I don't believe anyone has tested this. The next FUSE release is currently targeting the 2.5.6.SEC01 Spring version.

          • 2. Re: FUSE Support for Spring 3.0.0.RC1?
            oisin

            A constraint violation in this context usually means that there is a Require-Bundle or an Import-Package that fails, either due to the requirement not being present in the OSGi container at all, or being present but outside the required version range.

             

            In either case, you will need to drill into it a bit to find out what constraint is actually failing, and start looking at updating/adding bundles to resolve it. Check logs and all that, and look at the MANIFEST.MF in the Spring bundle where the constraint is failed...

            • 3. Re: FUSE Support for Spring 3.0.0.RC1?
              oren

              Dear All,

               

              Is there progress on this issue? Is the Progress team planning on upgrading to Spring 3 (potentially Spring DM 2) any time soon? I verified that having both spring 2.5.6.SEC01, 3.0.0.RELEASE together on FUSE 4.2.0 causes problems.

               

              Thanks,

              Oren

              • 4. Re: FUSE Support for Spring 3.0.0.RC1?
                timothy.downey

                Bump for this thread.

                 

                Is there any plan for Spring 3 support?  We're considering a move to FUSE and need to unwind our use of Spring 3 annotations if Spring 3 is not supported.

                 

                Thanks,

                Tim