Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-3336

Errors in the log when starting Commerce 2.1 RC1 on 7.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Discarded
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Portal Version/s:
      7.1.x

      Description

      Assumptions

      1. Commerce RC1 from https://liferay.slack.com/files/UKUR36L85/F010D4Z5XNE/liferay_commerce_unlicensed.lpkg
      2. DXP 7.1.10.3 from https://files.liferay.com/private/ee/portal/7.1.10.3/liferay-dxp-tomcat-7.1.10.3-sp3-20191118185746787.7z
      3. DXP FP17 Build 2 from https://files.liferay.com/private/ee/fix-packs/incubation/liferay-fix-pack-dxp-17-7110-build2.zip

      Steps to Reproduce

      1. Edit setenv.sh, set
        1. -Xms2560m → -Xms4g
        2. -Xmx2560m → -Xmx4g
      2. Install FP17
        1. Copy FP17 into /patching-tool/patches
        2. ./patching-tool.sh auto-discovery
        3. ./patching-tool.sh install
        4. Delete /osgi/state
      3. Drop the Commerce RC1 LPKG into the /deploy folder
      4. Drop an activation key in the /deploy folder
      5. Start Liferay
      6. Assert that Liferay started with no errors in the log
      7. Assert that Liferay needs to be restarted for the installation of Commerce
      8. Shut down Liferay, start up Liferay.

      Expected Behavior

      No errors in the log

      Actual Behavior

      Errors in the log
      Errors: https://gist.github.com/corbinmurakami/bf3424fdd2aa3a95a6b943a29741fe4e

      Once logged in as an omni admin:

      Control Panel → Commerce → Channels/Catalogs/Discounts/Inventory throws an error in the UI ([Page name] is temporarily unavailable.)
      Errors: https://gist.github.com/corbinmurakami/94aa0e5f054c5a930e5bbdddeea14212
      Missing items from the Commerce menu

      Steps to Reproduce, After Magic

      1. Shut down Liferay
      2. Add the following to /osgi/marketplace/override from
        1. com.liferay.commerce.service.jar from https://liferay.slack.com/files/UE87JPKUK/F010S945L7N/com.liferay.commerce.service.jar
        2. com.liferay.commerce.tax.engine.fixed.service.jar from https://liferay.slack.com/files/UE87JPKUK/F010UJH14DC/com.liferay.commerce.tax.engine.fixed.service.jar
        3. com.liferay.commerce.notification.service.jar https://liferay.slack.com/files/UE87JPKUK/F010FEKTUSF/com.liferay.commerce.notification.service.jar
      3. Delete osgi/state for good measure
      4. Start Liferay

      Expected Behavior

      Alec's magic touch fixes everything and there's no errors in the logs

      Actual Behavior

      Such is not the case
      Errors: https://gist.github.com/corbinmurakami/33ed5d7a75edc93d115a07c35c9c49c7
      Also, now the entirety of the Commerce menu is gone from the Control Panel

        Attachments

          Activity

            People

            Assignee:
            alessandro.iovane Alessandro Iovane
            Reporter:
            corbin.murakami Corbin Murakami
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2.1.0