[
https://issues.apache.org/jira/browse/MARMOTTA-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14348487#comment-14348487
]
Sergio Fernández commented on MARMOTTA-601:
-------------------------------------------
Hi [~jcoyne],
Marmotta caches the base URI (which includes the port number) on booting. This
is very important for a Linked Data server, where names of things matter.
Therefore I'd not say this is a bug, but a feature. Port number *must* be
explicitly changed at {{$MARMOTTA_HOME/system-config.properties}} file.
Please, provide feedback on this discussion before closing it.
Thanks.
> 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
> Priority: Minor
>
> 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)