1 Reply Latest reply on Aug 30, 2015 7:22 AM by wdfink

    Got JBAS014771 error after modified security domain

    adolph

      I am using jbpm6.2 with jboss server. I modified the standalone.xml and standalone-full.xml under configuration folder and modified the default login module to database check like following:

       

       

      <!--security-domain name="other" cache-type="default">
                          <authentication>
                              <login-module code="UsersRoles" flag="required">
                                  <module-option name="usersProperties" value="${jboss.server.config.dir}/users.properties"/>
                                  <module-option name="rolesProperties" value="${jboss.server.config.dir}/roles.properties"/>
                              </login-module>
                          </authentication>
                      </security-domain-->
        <security-domain name="databaselogin" cache-type="default">
                          <authentication>
                              <login-module code="Database" flag="required">
                                  <module-option name="dsJndiName" value="java:jboss/datasources/jbpmDS"/>
                                  <module-option name = "principalsQuery" value = "select password from jbpm6.jbpmusers where jbpmusers.username=?" />
        <module-option name = "rolesQuery" value = "select roleName,'Roles' from jbpm6.jbpmRoles where userID in (select id from jbpm6.jbpmusers where username = ?)" />
                              </login-module>
                          </authentication>
                      </security-domain>
      
      

       

      meanwhile, set <default-security-domain value="databaselogin"/> , and modified the security domain to the new security domain in jboss-web.xml on jbpm-console.war.

      when i tried to start jbpm with command start.demo.noeclipse, i got the following error:

      2015-08-30 17:02:27,005 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "jbpm-console.war")]) - failure description: {

          "JBAS014771: Services with missing/unavailable dependencies" => [

              "jboss.deployment.unit.\"jbpm-console.war\".component.KieSessionRequesMessageBean.CREATE is missing [jboss.ra.hornetq-ra]",

              "jboss.deployment.unit.\"jbpm-console.war\".component.JMSAuditProcessor.CREATE is missing [jboss.ra.hornetq-ra]",

              "jboss.naming.context.java.module.jbpm-console.jbpm-console.env.\"org.kie.remote.services.jms.RequestMessageBean\".factory is missing [jboss.naming.context.java.JmsXA]",

              "jboss.deployment.unit.\"jbpm-console.war\".component.TaskServiceRequesMessageBean.CREATE is missing [jboss.ra.hornetq-ra]",

              "jboss.naming.context.java.module.jbpm-console.jbpm-console.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"

          ],

       

      Does some one have access this error before? please advice.

      Thanks.