You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Piotr Wilkosz (JIRA)" <ji...@apache.org> on 2014/07/30 11:38:38 UTC
[jira] [Commented] (KARAF-690) install http feature will start both
8080 and 8181 jetty port
[ https://issues.apache.org/jira/browse/KARAF-690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14079109#comment-14079109 ]
Piotr Wilkosz commented on KARAF-690:
-------------------------------------
The cleaner solution would be just to replace "Property" by" SystemProperty" in jetty.xml.
This would also fix the the problem with controlling the jetty.host property from pax-web.
- <Set name="host"><Property name="jetty.host" /></Set>
- <Set name="port"><Property name="jetty.port" default="8080"/></Set>
+ <Set name="host"><SystemProperty name="jetty.host" /></Set>
+ <Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set>
> install http feature will start both 8080 and 8181 jetty port
> -------------------------------------------------------------
>
> Key: KARAF-690
> URL: https://issues.apache.org/jira/browse/KARAF-690
> Project: Karaf
> Issue Type: Bug
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: 2.2.2, 3.0.0
>
>
> jetty will start both 8080 and 8181 port if we install http feature, the configuration from pax-web can't override the one from jetty.xml.
> Simply remove those from our jetty.xml
> <!-- default port will be overwritten by pax-web configuration -->
> <Set name="port"><Property name="jetty.port" default="8080"/></Set>
> works and only let the configuration from pax-web take effect
--
This message was sent by Atlassian JIRA
(v6.2#6252)