由于liferay-target-platform

时间:2017-05-10 03:40:08

标签: liferay

每次我开始Liferay,我都会:

Running validation because of mismatched checksum for liferay-target-platform
LPKG validation time 01:59s

每次重启时,如何避免浪费这2分钟?

带有时间戳和绒毛的完整消息:

03:33:43,463 INFO  [Start Level: Equinox Container: e0662c6f-3135-0017-1c4b-98e88b99c01c][LPKGIndexValidator:159] Running validation because of mismatched checksum for liferay-target-platform
03:35:40,202 INFO  [Start Level: Equinox Container: e0662c6f-3135-0017-1c4b-98e88b99c01c][LPKGIndexValidator:266] LPKG validation time 01:59s

Relevant Liferay source code: LPKGIndexValidator.java

1 个答案:

答案 0 :(得分:8)

请查看the Liferay blog.为避免验证,您可以尝试设置

module.framework.properties.lpkg.index.validator.enabled=false

portal-ext.properties文件中。但是,正如博客文章中所提到的,不建议在生产环境中使用。