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

CNFE with Spring based AuthorizationPolicy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.7-GA
    • None
    • Fuse EAP
    • None
    • % %
    • build7

    Description

      Seen on Jenkins, but not on every test run - bizzar.

      org.jboss.arquillian.container.spi.client.container.DeploymentException: 
      Cannot deploy authorization-policy-route-test: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.authorization-policy-route-test.CamelContextActivationService.authorization-policy-route-test" => "Cannot create camel context: authorization-policy-route-test
       Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyA': Cannot create inner bean '(inner bean)#6ac7d7ae' of type [org.apache.camel.component.spring.security.SpringSecurityAccessPolicy] while setting bean property 'springSecurityAccessPolicy'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#6ac7d7ae': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.camel.component.spring.security.SpringSecurityAccessPolicy]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/util/StringUtils
       Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#6ac7d7ae': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.camel.component.spring.security.SpringSecurityAccessPolicy]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/util/StringUtils
       Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.camel.component.spring.security.SpringSecurityAccessPolicy]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/util/StringUtils
       Caused by: java.lang.NoClassDefFoundError: org/springframework/util/StringUtils
       Caused by: java.lang.ClassNotFoundException: org.springframework.util.StringUtils from [Module \"org.springframework.security\" version 4.2.13.RELEASE from local module loader @2b546384 (finder: local module finder @5d740a0f (roots: /home/jenkins/workspace/wildfly-camel-5.5.x.redhat-7-x/itests/standalone/extra/target/jboss-eap-7.2/modules,/home/jenkins/workspace/wildfly-camel-5.5.x.redhat-7-x/itests/standalone/extra/target/jboss-eap-7.2/modules/system/layers/fuse,/home/jenkins/workspace/wildfly-camel-5.5.x.redhat-7-x/itests/standalone/extra/target/jboss-eap-7.2/modules/system/layers/base))]"}}}}\
      

      Attachments

        Activity

          People

            tdiesler@redhat.com Thomas Diesler
            tdiesler@redhat.com Thomas Diesler
            Emil Cervenan Emil Cervenan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: