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

ClusterMasterExecutor dose not work well caused by wrong result type.

    Details

      Description

      Steps to reproduce:

      1) Enable cluster on Node1 and start it
      2) After node1 is fully started, enable cluster on Node2 and start it
      3) Login Node2 by default user test@liferay.com
      4) Go to jsonws api page, for example if node2 is started on http://localhost:8081/, then go to http://localhost:8081/api/jsonws
      5) Search "get-background-task-status-json" and click the api
      6) Set backgroundTaskId to a number like "12345"
      7) Click "Invoke".

      Before fix, on console of Node2, you will see:
      ERROR [http-bio-8081-exec-10][JSONWebServiceServiceAction:97] com.liferay.portal.kernel.cluster.ClusterNodeResponse cannot be cast to java.lang.String

      After fix, you won'tt see the error.

      It is caused by a commit of LPS-40371, git id is : 4562637cdf7619587ae55b53389b74ec7e4a48b0; git message is: LPS-40371 Make ClusterMasterExecutor.executeOnMaster() returns Future

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joyce.wang Joyce Wang
                Reporter:
                tina.tian Tina Tian
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 3 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M3