Liferay 6.2 deployment fails with missing/unavailable dependencies on JBoss

2.3k Views Asked by At

In JBoss start-up log:

12:47:37,481 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "liferay-portal.war")]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.web.deployment.default-host./.realm is missing [jboss.security.security-domain.PortalRealm]"]}

JBAS014775: New missing/unsatisfied dependencies: service jboss.security.security-domain.PortalRealm (missing) dependents: [service jboss.web.deployment.default-host./.realm]

1

There are 1 best solutions below

9
On

You have missed one configuration in your standalone.xml file.

Add the following JAAS security domain to the security subsystem defined in element

<subsystem xmlns="urn:jboss:domain:security:1.1">

  <security-domain name="PortalRealm">
    <authentication>
      <login-module code="com.liferay.portal.security.jaas.PortalLoginModule" flag="required" />
    </authentication>
  </security-domain>

For more information, please refer below link.

http://www.liferay.com/documentation/liferay-portal/6.2/user-guide/-/ai/installing-liferay-on-jboss-7-4