Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4116

WAR deployment fails on missing security domain dependency

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • 8.2.0.Final
    • 8.2.0.Final
    • Security, Web (Undertow)
    • None
    • Compatibility/Configuration

      Moving WARs using form based authentication from WildFly 8.1 Final to 8.2 Final fails due to a missing security domain dependency.

      Log

      service jboss.security.security-domain.java:/jaas/haa-portal (missing) dependents: 
      [service jboss.deployment.unit."haa-security-manager.war".component.SecurityManagerRepositorySessionBean.CREATE, 
      service jboss.deployment.unit."haa-security-manager.war".component.UserPrefsRepository.CREATE]
      

      jboss-web.xml

      <jboss-web>
      	<security-domain>java:/jaas/haa-portal</security-domain>
      </jboss-web>
      

      standalone.xml

             <subsystem xmlns="urn:jboss:domain:security:1.2">
                  <security-domains>
                      ...
                      <security-domain name="haa-portal">
                          <authentication>
                              <login-module code="Database" flag="required">
                              ...
                              </login-module>
                          </authentication>
                      </security-domain>
                  </security-domains>
              </subsystem>
      

      The datasource is deployed and connected.

              darran.lofthouse@redhat.com Darran Lofthouse
              lhellgren Lars Hellgren (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: