karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3220) How to run webconsole with particular jetty connector
Date Wed, 10 Sep 2014 13:16:28 GMT

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

Jean-Baptiste Onofré resolved KARAF-3220.
-----------------------------------------
    Resolution: Fixed

Please, use the mailing list for such kind of question.

> How to run webconsole with particular jetty connector
> -----------------------------------------------------
>
>                 Key: KARAF-3220
>                 URL: https://issues.apache.org/jira/browse/KARAF-3220
>             Project: Karaf
>          Issue Type: Question
>          Components: karaf-webconsole
>    Affects Versions: 3.0.0
>            Reporter: Srikanth Hugar
>            Priority: Critical
>
> I am using karaf 3.0.0 version for writting my REST services and i am installing webconsole
for managing the bundles.
> But by default webconsole runs in all the conntectors we specify in jetty.xml file. I
would like to run how to run webconsole with specific jetty connector. 
> So that i can block the port and not provide access to webconsole outside dmz.
> I tried with approach 
> org.osgi.service.http.port=9080
> could not help.
> Where can i find the information to achieve the same? Is it possible to run webconsole
in specific jetty connector.
> My connector as fallows:
> <Call name="addConnector">
>         <Arg>
>             <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
>                 <Set name="host">
>                     <Property name="jetty.host" />
>                 </Set>
>                 <Set name="port">
>                     <Property name="jetty.port" default="8080" />
>                 </Set>
>               ............................
>          	<Set name="name">http-user</Set>
>             </New>
>         </Arg>
>     </Call>
> 	
> 	 <Call name="addConnector">
>         <Arg>
>             <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
>                 <Set name="host">
>                     <Property name="jetty.host" />
>                 </Set>
>                 <Set name="port">
>                     <Property name="jetty.port" default="9080" />
>                 </Set>
>                 .......................................................
> 				<Set name="name">http-admin</Set>
>             </New>
>         </Arg>
>     </Call>
> 	
> 	<Call name="addConnector">
>      <Arg>
>        <New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
>          <Arg>
>            <New class="org.eclipse.jetty.http.ssl.SslContextFactory">
>            ........................................ 
>            </New>
>          </Arg>
>          <Set name="port">8081</Set>
>          <Set name="maxIdleTime">30000</Set>
> 		 <Set name="name">https-user</Set>
>        </New>
>      </Arg>
>    </Call>
>    
>    <Call name="addConnector">
>      <Arg>
>        <New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
>          <Arg>
>          .......................................
>            </New>
>          </Arg>
>          <Set name="port">9081</Set>
>          <Set name="maxIdleTime">30000</Set>
> 		 <Set name="name">https-admin</Set>
>        </New>
>      </Arg>
>    </Call>



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

Mime
View raw message