Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74767

Add logging when ServiceProxyFactory is waiting for a service over specific time

Details

    Description

      ServiceProxyFactory can be used in a blocking way, and it will wait until target service is ready.

      Add a property "com.liferay.portal.kernel.util.ServiceProxyFactory.timeout" in system.properties to specific the waiting time, when time is up, and service is still not ready, you will see logging like this:

      Service "com.liferay.portal.kernel.cache.MultiVMPool" is unavaiable in 60000 milliseconds while setting field "_multiVMPool" for class "com.liferay.portal.kernel.cache.MultiVMPoolUtil", will retry...

      Attachments

        Issue Links

          Activity

            People

              koor.gai Koor Gai (Inactive)
              tina.tian Tina Tian
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  7.0.0 DXP FP32
                  7.0.5 CE GA6
                  7.0.X
                  Master