[ 
https://issues.apache.org/jira/browse/MARMOTTA-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Coyne updated MARMOTTA-601:
----------------------------------
    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)

  was:
When I start marmotta in jetty 8.1.16 (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 port 8888

        Summary: Caching port number in /tmp/marmotta/  (was: Redirecting to 
port 8888)

> Caching port number in /tmp/marmotta/
> -------------------------------------
>
>                 Key: MARMOTTA-601
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-601
>             Project: Marmotta
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>            Reporter: Justin Coyne
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to