Can I disable the System Check that is running on startup in my Development environment?

Issue

  • During Liferay's startup, the following message in the logs indicates that a system check is being run:
    INFO [main][SystemCheckOSGiCommands:111] Running "Declarative Service Soft Circular Dependency Checker". You can run this by itself with command "ds:softCircularDependency" in gogo shell.
  • This is making startup take longer than is desirable for a development environment, can it be disabled?

Environment

  • Liferay DXP 7.1

Resolution

  • This system check can be disabled by including the following property in portal-ext.properties:
    module.framework.properties.initial.system.check.enabled=false
  • Note that this property is set to true in portal-developer.properties, so if you are also using portal-developer.properties, you will need to set the property to false in that file
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助