karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Wilkosz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-690) install http feature will start both 8080 and 8181 jetty port
Date Wed, 30 Jul 2014 09:38:38 GMT

    [ 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)

Mime
View raw message