简体   繁体   English

为什么Server Liferay 7.x无法启动?

[英]Why Server Liferay 7.x is unable to start?

When I start Server Liferay for the first time everything goes well. 当我第一次启动Server Liferay时,一切进展顺利。 But when I stop the server and then I try to start it again, I get the following error: 但是,当我停止服务器然后尝试再次启动它时,出现以下错误:

[ServiceProxyFactory:265] Service "com.liferay.portal.kernel.cache.SingleVMPool" is unavaiable in 60000 milliseconds while setting field "_singleVMPool" for class "com.liferay.portal.kernel.cache.SingleVMPoolUtil", will retry... [ServiceProxyFactory:265]在为类“ com.liferay.portal.kernel.cache.SingleVMPoolUtil”设置字段“ _singleVMPool”时,服务“ com.liferay.portal.kernel.cache.SingleVMPool”在60000毫秒内不可用,将重试。 。

I have a workaround: delete the %LIFERAY_HOME%\\osgi\\state folder content and start the server. 我有一种解决方法:删除%LIFERAY_HOME%\\osgi\\state文件夹内容并启动服务器。

How may I solve this issue? 我该如何解决这个问题? Could it be a configuration issue? 可能是配置问题吗?

When you are using a java agent with Liferay but haven't configured it completely, you can end up with ClassNotFoundExceptions and, in some cases, failures starting the SingleVMPools. 当您将Java代理与Liferay一起使用但尚未完全配置它时,您可能会遇到ClassNotFoundExceptions甚至在某些情况下无法启动SingleVMPools的情况。

The fix is pretty easy, though, and is covered here: https://community.liferay.com/blogs/-/blogs/liferay-ce-7-x-liferay-dxp-7-x-java-agents 但是,此修复非常简单,并包含在此处: https : //community.liferay.com/blogs/-/blogs/liferay-ce-7-x-liferay-dxp-7-x-java-agents

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM