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

JSON API page cannot see Tomcat nested context paths

    Details

      Description

      If you have nested contexts under Tomcat, Liferay's JSON API page cannot seem to be able to handle them.

      1. Liferay 6.2 Tomcat bundle
      2. Change the ROOT context to "mycontext" by renaming folder <tomcat>/webapps/ROOT to <tomcat>/webapps/mycontext, renaming file <tomcat>/conf/Catalina/localhost/root.xml to <tomcat>/conf/Catalina/localhost/mycontext.xml, and adding the following line to portal-ext.properties: portal.ctx=/mycontext.
      3. Also change the context path of the calendar portlet to be nested under the "mycontext" context by renaming the webapps/calendar-portlet to webapps/mycontext#calendar-portlet.
      4. Start the server and go to http://localhost:8080/mycontext/api/jsonws. Assess that in the drop-down list of context paths you don't have any item like calendar-portlet, in order to be able to list and invoke the Calendar plugin's JSON web service methods.

      Master: on master this is fix as a part of LPS-48469

        Attachments

        1. fix.jpg
          fix.jpg
          29 kB
        2. reproduce.jpg
          reproduce.jpg
          28 kB

          Issue Links

            Activity

              People

              Assignee:
              lu.liu Lu Liu
              Reporter:
              norbert.kocsis Norbert Kocsis (Inactive)
              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:
                6 years, 51 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE