Liferay 6.2部署失败,JBoss上缺少/不可用依赖项

时间:2015-06-15 10:51:32

标签: java jboss liferay liferay-6

JBoss 启动日志中:

  

12:47:37,481 ERROR [org.jboss.as.controller.management-operation]   (控制器引导线程)​​JBAS014612:操作(“部署”)失败 -   地址:([(“deployment”=>“liferay-portal.war”)]) - 失败   描述:{“JBAS014771:缺少/不可用的服务   依赖“=> [”jboss.web.deployment.default-host./.realm是   缺少[jboss.security.security-domain.PortalRealm]“] }

     

JBAS014775:新的缺失/不满足的依赖项:         service jboss.security.security-domain.PortalRealm(missing)dependents:[service jboss.web.deployment.default-host ./。realm]

1 个答案:

答案 0 :(得分:1)

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