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

NoConnectionException if live server is down when switching tabs in Publishing > Staging

    Details

      Description

      Steps to reproduce:

      1. Start 2 bundles of Liferay
      2. Connect them by remote staging
      3. Turn off live server
      4. Go to Control Panel > Publishing > Staging, switch tabs between Processes/Scheduled

      Expected:
      No Exception logged

      Actual
      Exception occurs each time the tabs are switched

      The proposed fix changes how we would log connection errors for all http services reached by the server. If there's a ConnectException thrown, only a one-liner Connection error + cause will be logged. A debug logging is added for these exceptions too, if stack trace is needed, set logging to debug level for the class which threw the ConnectException.

        Attachments

        1. error01.PNG
          error01.PNG
          63 kB
        2. error02.PNG
          error02.PNG
          54 kB

          Issue Links

            Activity

              People

              Assignee:
              joyce.wang Joyce Wang
              Reporter:
              alfred.sampang Alfred Sampang
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                39 weeks ago

                  Packages

                  Version Package
                  7.0.X
                  7.1.10 DXP FP17
                  7.1.10.4 SP4
                  7.1.X
                  7.2.10 DXP FP5
                  7.2.10.2 DXP SP2
                  7.2.X
                  7.3.0 CE GA1
                  7.3.10 DXP GA1
                  Master