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

Scheduler Exception with memory clustered jobs

    Details

      Description

      When a cluster child is started up, it throws errors and is not able to recover some of the memory clustered scheduled jobs from master. Seems like it may be a timeout issue in ClusterSchedulerEngine line 324 - 329 as the schedulerResponse is null.

      Found on a unicast cluster 2 node cluster, using jdbc_ping, and using a clean dxp bundle that had FP4 installed.

      1) Install FP4 onto clean never started up servers
      2) Configure jdbc_ping cluster
      3) Start up one node
      4) Start up second node once first node is completely started up
      5) As the second node is started up, errors are thrown on some of the scheduled jobs

      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at com.liferay.portal.scheduler.multiple.internal.ClusterableProxyFactory$ClusterableInvocationHandler.invoke(ClusterableProxyFactory.java:72)
      ... 75 more
      Caused by: com.liferay.portal.kernel.scheduler.SchedulerException: Unable to retrieve memory clustered job from master
      at com.liferay.portal.scheduler.multiple.internal.ClusterSchedulerEngine.schedule(ClusterSchedulerEngine.java:349)
      ... 80 more
      Caused by: java.lang.NullPointerException: Unable to find memory clustered job on master node with job name com.liferay.message.boards.web.internal.messaging.ExpireBanMessageListener and group name com.liferay.message.boards.web.internal.messaging.ExpireBanMessageListener
      at com.liferay.portal.scheduler.multiple.internal.ClusterSchedulerEngine.schedule(ClusterSchedulerEngine.java:332)
      ... 80 more

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 24 weeks ago

                Packages

                Version Package
                7.0.X
                Master