1 Reply Latest reply on Jun 18, 2013 1:36 AM by Sampath Ms

    PicketLink sp-post-sig deployment is failing when run in domain mode

    Sampath Ms Newbie

      Hi,

       

      When we try to deploy sales-post-sig.war in jboss (running in domain mode), the following error occurs:

       

       

      "

      [Server:server-one] 21:37:42,393 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "sales-post-sig.war"

      [Server:server-two] 21:37:42,395 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "sales-post-sig.war"

      [Server:server-two] 21:37:43,148 INFO  [org.picketlink.identity.federation] (MSC service thread 1-4) PLFED000209: Using logger implementation: org.picketlink.identity.federation.PicketLinkLoggerImpl

      [Server:server-one] 21:37:43,229 INFO  [org.picketlink.identity.federation] (MSC service thread 1-1) PLFED000209: Using logger implementation: org.picketlink.identity.federation.PicketLinkLoggerImpl

      [Server:server-two] 21:37:43,431 INFO  [org.jboss.as.server] (host-controller-connection-threads - 2) JBAS015870: Deploy of deployment "sales-post-sig.war" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.web.deployment.default-host./sales-post-sig.realmjboss.security.security-domain.spMissing[jboss.web.deployment.default-host./sales-post-sig.realmjboss.security.security-domain.sp]"]}

      [Server:server-two] 21:37:43,477 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment sales-post-sig.war in 45ms

      [Server:server-two] 21:37:43,482 INFO  [org.jboss.as.controller] (host-controller-connection-threads - 2) JBAS014774: Service status report

      [Server:server-two] JBAS014775:    New missing/unsatisfied dependencies:

      [Server:server-two]       service jboss.security.security-domain.sp (missing) dependents: [service jboss.web.deployment.default-host./sales-post-sig.realm]

      [Server:server-two]

      [Server:server-one] 21:37:43,544 INFO  [org.jboss.as.server] (host-controller-connection-threads - 2) JBAS015870: Deploy of deployment "sales-post-sig.war" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.web.deployment.default-host./sales-post-sig.realmjboss.security.security-domain.spMissing[jboss.web.deployment.default-host./sales-post-sig.realmjboss.security.security-domain.sp]"]}

      [Server:server-one] 21:37:43,598 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment sales-post-sig.war in 52ms

      [Server:server-one] 21:37:43,603 INFO  [org.jboss.as.controller] (host-controller-connection-threads - 2) JBAS014774: Service status report

      [Server:server-one] JBAS014775:    New missing/unsatisfied dependencies:

      [Server:server-one]       service jboss.security.security-domain.sp (missing) dependents: [service jboss.web.deployment.default-host./sales-post-sig.realm]

      [Server:server-one]"

       

      In the domain.xml file we have the following defined already:

       

      <security-domain name="sp" cache-type="default">

                <authentication>

                          <login-module code="org.picketlink.identity.federation.bindings.jboss.auth.SAML2LoginModule" flag="required"/>

              </authentication>

      </security-domain>

       

      Can you please let me know how to proceed?

       

      Regards,

      Sampath