Details

    Description

      Steps to Reproduce:

      1. Configure DXP to run in non-root context on Tomcat
        • Rename webapps/ROOT to webapps/liferay
        • Rename conf/Catalina/localhost/ROOT.xml to conf/Catalina/localhost/liferay.xml
        • Edit the conf/catalina.properties file to change a path in the file from webapps/ROOT/... to webapps/liferay/...
      2. Start DXP
      3. Attempt to run JSON-WS GET
        curl -X GET -u '[email protected]:test' 'http://localhost:8080/liferay/api/jsonws/company/get-company-by-virtual-host/virtual-host/localhost'
        

      Expected Result:
      JSON-WS accessible in non-root context

      Actual Result:

      ERROR [http-nio-8080-exec-5][JSONWebServiceServiceAction:126] No JSON web service action with path /company/get-company-by-virtual-host and method GET for null
      

      Reproduced on:
      Master: b105f94d15992d7455a8c6de6f0baae58354688f

      Caused by LPS-155543.

      Also failed testing with

      http://localhost:8080/liferay/api/jsonws/user/get-user-by-id/user-id/20125
      

      Attachments

        Issue Links

          Activity

            People

              rafael.praxedes Rafael Praxedes
              victor.ware Victor Ware
              Marta Elicegui Marta Elicegui
              Rafael Praxedes Rafael Praxedes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                31 weeks, 4 days ago

                Packages

                  Version Package
                  7.4.13 DXP U31