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

Startup exception when index.on.startup is set

    Details

      Description

      Steps to reproduce:

      1. Set index.on.startup=true in portal-ext.properties
      2. Start portal

      Expected Result: No errors on startup

      Actual Result: The following error shows up. Portal still starts up fine and functionality isn't impacted.

      2020-04-27 19:04:45.288 ERROR [liferay/background_task-1][BackgroundTaskMessageListener:177] Unable to execute background task
      java.lang.IllegalStateException: Unknown background task executor com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.getBackgroundTaskExecutor(BackgroundTaskMessageListener.java:230)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.wrapBackgroundTaskExecutor(BackgroundTaskMessageListener.java:281)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:105)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
      	at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664)
      	at java.lang.Thread.run(Thread.java:745)
      2020-04-27 19:04:45.288 ERROR [liferay/background_task-2][BackgroundTaskMessageListener:177] Unable to execute background task
      java.lang.IllegalStateException: Unknown background task executor com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.getBackgroundTaskExecutor(BackgroundTaskMessageListener.java:230)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.wrapBackgroundTaskExecutor(BackgroundTaskMessageListener.java:281)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:105)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
      	at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664)
      	at java.lang.Thread.run(Thread.java:745)

      Tested on:
      Tomcat 9.0.17 + MySQL 5.7
      Portal master SHA: f0367b567ad4588375253a758a84f64c3d313829
      Portal 7.2.x DXP SHA: 0df4dabc0c38548c9e6b9bffd4413b668c2cfb99
      Portal 7.1.x DXP SHA: 174dfde3afed965d7809979a8800e06293ac8eb7

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.lee Brian Lee
                Reporter:
                brian.lee Brian Lee
                Participants of an Issue:
                Recent user:
                Brian Wulbern
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  11 weeks ago

                  Packages

                  Version Package
                  7.1.10 DXP FP18
                  7.1.X
                  7.2.10 DXP FP6
                  7.2.X
                  7.3.3 CE GA4
                  Master