5 Replies Latest reply on May 24, 2013 12:54 PM by ybarcelo

    Error in deploy my webapp JBAS014653

    erasmomarciano

      Hi

      When I deploy my webapp I get this error

       

      },

                  "failure-description" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014771: Services with missing/unavailable dependencies" => [

                      "jboss.web.deployment.default-host./miocorsodomain.realm Missing[jboss.security.security-domain.DBAuthTest]",

                      "jboss.deployment.unit.\"miocorsodomain.war\".jboss.security.jacc Missing[JBAS014861: ]",

                      "jboss.web.deployment.default-host./miocorsodomain Missing[JBAS014861: ]"

                  ]}}},

                  "rolled-back" => true

       

      I have make the file jboss-web.xml

       

       

      <?xml version="1.0" encoding="UTF-8"?>

      <jboss-web>

             <security-domain>java:/jaas/DBAuthTest</security-domain>

      </jboss-web>

       

       

       

      In my domain.xml  i defined the

       

      <security-domain name="DBAuthTest">

                              <authentication>

                                  <login-module code="Database" flag="required">

                                      <module-option name="dsJndiName" value="java:/MySqlDS"/>

                                      <module-option name="principalsQuery" value="select password from  PRINCIPLES where principal_id=?"/>

                                      <module-option name="rolesQuery" value="select user_role, 'Roles' from  ROLES where  principal_id=?"/>

                                  </login-module>

                                  <login-module code="org.jboss.security.auth.spi.RoleMappingLoginModule" flag="optional">

                                      <module-option name="rolesProperties" value="${jboss.server.config.dir}/test-roles.properties"/>

                                  </login-module>

                              </authentication>

                          </security-domain>

       

       

      Can I help me?