Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5550

Bundle "spring-security-config" from servicemix does not contain spring metadata

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Camel
    • Labels:

      Description

      Bundle org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-security-config should contain spring metadata:

      META-INF/spring.schemas
      META-INF/spring.handlers
      

      We can check that original spring archives contain these metadata (org.springframework.security/spring-security-config).

      Exception:

      10:16:07,113 | ERROR | ExtenderThread-2 | ContextLoaderListener            | 203 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=org.jboss.qe.camel.components.spring-security-test, config=osgibundle:/META-INF/spring/*.xml))
      org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]
      Offending resource: URL [bundle://294.0:0/META-INF/spring/commonSecurity.xml]
      
      

      I tried to manually add those metadata files and it solved my issue.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lburgazzoli Luca Burgazzoli
                  Reporter:
                  mbasovni Martin Basovnik
                  Tester:
                  Martin Basovnik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: