1 Reply Latest reply on Jun 5, 2012 10:41 AM by Frank Langelage

    secure web services in JBoss 7.1

    sarahfr Newbie


      to secure my web service, I added a domain security  in the following file standalone.xml:


      <security-domain name="java:/jaas/example">


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

                                  <module-option name="usersProperties" value="${jboss.server.config.dir}/mgmt-users.properties"/>

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





      and I added a jboss-web.xml to my WEB-INF:








      but I have this error:

      11:57:15,998 ERROR [org.jboss.as] (MSC service thread 1-5) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 7400ms - Started 610 of 704 services (3 services failed or missing dependencies, 90 services are passive or on-demand)

      11:57:16,202 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"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./cart.realmjboss.security.security-domain.exampleMissing[jboss.web.deployment.default-host./cart.realmjboss.security.security-domain.example]"]}}}


      I need your help please