2015-06-15 71 views
0

丢失/不可用的依赖关系在的JBoss启动日志:Liferay的6.2部署失败,在JBoss

12:47:37481 ERROR [org.jboss.as.controller.management运算] (控制器引导线程)​​JBAS014612:操作(“部署”)失败 - address:([(“deployment”=>“liferay-portal.war”))) - failure description:{“JBAS014771:缺少/不可用的服务 dependencies“=> [”jboss.web.deployment.default-host./.realm is missing [jboss.security.security-domain.PortalRealm]“]}

JBAS014775:新丢失/不满意的依赖关系: 服务jboss.security.security-domain.PortalRealm(缺失)家属:服务jboss.web.deployment.default-host./.realm]

回答

1

您错过了standalone.xml文件中的一个配置。

添加以下JAAS安全域的元素

<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>

欲了解更多信息,请参考以下链接定义的安全子系统。

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

+0

谢谢。但是我在standalone-full.xml文件中添加了该条目。 –

+0

此处的子系统是

+0

这很好,安全性:1.2。你能告诉我什么是jboss服务器版本和特定的liferay 6.2.x版本(什么是维护版本) –