1 Reply Latest reply: Jun 12, 2012 8:16 AM by Daniel Sachse RSS

    JBOSS AS 7.1.1.Final: SAML-Security with seam-security-external 3.1.0.Final

    TC Nguyen Newbie

      After changing to JBOSS AS 7.1.1.Final from 7.1.0.Final, I got the following exception by deploying my application. seam-security-external 3.1.0.Final is used for the SAML-Security, which is implemented by Marcel Kolsteren. Any idea? Thanks!

       

       

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [SamlSignatureUtilForPostBinding] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.security.external.saml.SamlMessageReceiver.signatureUtilForPostBinding]

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:275)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)

          at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)

          at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)

          at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)

          at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)

          at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:662)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [SamlSignatureUtilForPostBinding] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.security.external.saml.SamlMessageSender.signatureUtilForPostBinding]

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:275)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)

          at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)

          at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)

          at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)

          at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)

          at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:662)

       

       

      12:47:02,776 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"de.kbv.edoku.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"de.kbv.edoku.war\".WeldService: org.jboss.weld.exceptions.DeploymentException: Exception List with 2 exceptions:

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [SamlSignatureUtilForPostBinding] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.security.external.saml.SamlMessageReceiver.signatureUtilForPostBinding]

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:275)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)

          at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)

          at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)

          at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)

          at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)

          at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:662)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [SamlSignatureUtilForPostBinding] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.security.external.saml.SamlMessageSender.signatureUtilForPostBinding]

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:275)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)

          at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)

          at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)

          at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)

          at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)

          at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:662)

      "}}}}

        • 1. Re: JBOSS AS 7.1.1.Final: SAML-Security with seam-security-external 3.1.0.Final
          Daniel Sachse Newbie

          Hi,

           

          I just had the same problem.

          The stracktrace was showing me also some hint to a ClassNotFoundException. After searching the missing class I revealed, that xmlsec was missing.

          After adding the following dependency, everything worked as expected:

           

          <dependency>

                                        <groupId>org.apache.santuario</groupId>

                                        <artifactId>xmlsec</artifactId>

                                        <version>1.4.4</version>

          </dependency>

           

           

          Hope this helped!

           

          Cheers,

           

          Daniel