Uploaded image for project: 'Marmotta (Retired)'
  1. Marmotta (Retired)
  2. MARMOTTA-601

Caching port number in /tmp/marmotta/

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.4.0
    • Component/s: None
    • Labels:
      None

      Description

      When I start marmotta in jetty 8.1.16 on port 8888 (java -jar start.jar -Djetty.port=8180)

      it works fine. When I terminate the server and then restart it on a different port:

      java -jar start.jar -Djetty.port=8180

      And I make a request to the servlet:

      $ curl -i http://localhost:8180/marmotta/
      HTTP/1.1 302 Found
      Content-Type: text/html
      Set-Cookie: JSESSIONID=n1w7lr57025jlbhjkum0gkj9;Path=/marmotta
      Expires: Thu, 01 Jan 1970 00:00:00 GMT
      Location: http://localhost:8888/marmotta/core/admin/about.html
      Content-Length: 0

      It is redirecting me to the old port (8888)

        Attachments

          Activity

            People

            • Assignee:
              wikier Sergio Fernández
              Reporter:
              jcoyne Justin Coyne
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: