glassfish
  1. glassfish
  2. GLASSFISH-19784

REST endpoint _get-relative-jws gives 404 error

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Works as designed
    • Affects Version/s: 4.0_b78
    • Fix Version/s: 4.0_b82_EE7MS7
    • Component/s: rest-interface
    • Labels:
      None

      Description

      To get the relative jws URI for launch the app client, the REST endpoint in 3.1.2 used to be

      http://localhost:4848/management/domain/applications/application/_get-relative-jws-uri

      but this is giving 404 Error.
      I need to know whats the new endpoint in 4.0.
      If this is not a REST issue, please reassign.

        Activity

        Hide
        Jason Lee added a comment -

        The correct URL is http://localhost:4848/management/domain/applications/application/$APPNAME/_get-relative-jws-uri

        This was found by via

        $ curl -X OPTIONS -H 'Accept: application/json' http://localhost:4848/management/domain/applications/application/$APPNAME | grep jws
        ...
        "path": "_get-relative-jws-uri",
        "command": "_get-relative-jws-uri",
        ...

        Show
        Jason Lee added a comment - The correct URL is http://localhost:4848/management/domain/applications/application/$APPNAME/_get-relative-jws-uri This was found by via $ curl -X OPTIONS -H 'Accept: application/json' http://localhost:4848/management/domain/applications/application/$APPNAME | grep jws ... "path": "_get-relative-jws-uri", "command": "_get-relative-jws-uri", ...

          People

          • Assignee:
            Jason Lee
            Reporter:
            Anissa Lam
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: