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

No error message on failed staging scheduled publish

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.0.X, Master
    • Fix Version/s: None
    • Component/s: Staging
    • Labels:

      Description

      Description

      With remote staging, if the live site is down, there is an error that appears in the logs, but nothing in the UI that indicates that the publish failed.

      Steps to reproduce

      1. Start 2 bundles of Liferay connected by remote staging
      2. Set up a scheduled publish from staging to Live, set in 5 minutes
      3. Before the publishing, create a page
      4. Bring down the live server before the publishing
      5. Wait for the 2nd publishing

      Results of Testing

       Expected Results: You are notified in the UI and logs in staging that the Live server is down and the publish failed
       Actual Results: You are only notified in the logs in staging that the Live server is down and the publish failed

      Errors/Logs

      2018-12-12 21:05:00.029 ERROR [liferay/layouts_remote_publisher-1][BaseMessageStatusMessageListener:38] Unable to process request liferay/layouts_remote_publisher
      com.liferay.exportimport.kernel.exception.RemoteExportException: java.net.ConnectException: Connection refused (Connection refused)
      	at com.liferay.exportimport.staging.StagingImpl.validateRemoteGroup(StagingImpl.java:3148)
      	at com.liferay.exportimport.staging.StagingImpl.copyRemoteLayouts(StagingImpl.java:449)
      	at com.liferay.exportimport.messaging.LayoutsRemotePublisherMessageListener.doReceive(LayoutsRemotePublisherMessageListener.java:125)
      	at com.liferay.portal.kernel.messaging.BaseMessageStatusMessageListener.receive(BaseMessageStatusMessageListener.java:35)
      	at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:66)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:748)
      

      Master

      e16371f13bb31f2b96063977a7944e8034727658

      7.1.x

      dc0c228ea22ec760a033ea16007d9db19a908a05

      7.0.x

      03d89bbff2b0c10a310b34bb055f303b4ef68d0e

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alfred.sampang Alfred Sampang
                Reporter:
                alfred.sampang Alfred Sampang
                Participants of an Issue:
                Recent user:
                Alfred Sampang
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  50 weeks, 2 days ago

                  Packages

                  Version Package