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

"Scheduler job" console message does not show up when deploying com.liferay.cluster.test.module.jar

    Details

    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Configure 2 nodes as a cluster
        • Enable cluster on both nodes by setting: cluster.link.enabled=true
        • Make sure the 2 nodes use the same database that is not HSQL
        • Enable debugging for scheduler job by copying file com.liferay.cluster.test.module-log4j-ext.xml into liferay-bundle/osgi/log4j
      2. Start node 1 and wait until it is fully started
      3. Start node 2 and wait until it is fully started
      4. On node 2, deploy and start the module: com.liferay.cluster.test.module.jar
      5. On node 1, deploy and start the module: com.liferay.cluster.test.module.jar

      Expected result:

      The following message should show up in node 1's console:

      Scheduler job com.liferay.cluster.test.module.internel.SchedulerTestMessageListener.com.liferay.cluster.test.module.internel.SchedulerTestMessageListener already exists

      Actual result:

      The above message does NOT show up in node 1's console

      Produced on:

      Tomcat 8.0.32 + MySQL 5.7. Portal master GIT ID: 6ad5d7a775fa75b7f9aede711c74ad167c945563.

      Tomcat 8.0.32 + MySQL 5.7. Portal ee-7.0.x GIT ID: 6a1f3038c429fc59586c696df30de7d44b0c3206.

      Other Notes:

      Here are the console outputs for node 1 and node 2  (on master) for reference.

        Attachments

          Activity

            People

            • Assignee:
              tina.tian Tina Tian
              Reporter:
              frank.fu Frank Fu (Inactive)
              Participants of an Issue:
              Recent user:
              Frank Fu (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 47 weeks, 3 days ago

                Packages

                Version Package