在 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]
答案 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.