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

JSON WS doesn't work when first time start portal against WebSphere 9

Description

    Steps to Reproduce:

    1. Deploy portal to WebSphere 9. Can follow this document.
    2. Start server.
    3. Execute below curl command as example:
      curl http://localhost:8080/api/jsonws/liferay-portal.war.company/get-company-by-virtual-host   -u [email protected]:test   -d virtualHost='localhost'
      

    Expected Result:
    The company id is returned.

    Actual Result:
    The company id is not returned.

    Workaround:
    Restart server, then execute curl command again, the company id returned.

    Reproduced on:
    Websphere 9.0 + MySQL 5.7. Portal master DXP GIT ID: c9d5d1ed47e4ae6d6b1303d3b90e485a468b6f54.

    Attachments

      1. tomcat.png
        tomcat.png
        30 kB
      2. websphere.png
        websphere.png
        31 kB

      Activity

        People

          support-lep@liferay.com SE Support
          summer.zhang Summer Zhang
          Kiyoshi Lee Kiyoshi Lee
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

            Created:
            Updated:
            2 years, 11 weeks ago

            Packages

              Version Package