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

Jean-Baptiste Onofré deleted KARAF-4268:
----------------------------------------


> Documentation has obsolete jetty configuration
> ----------------------------------------------
>
>                 Key: KARAF-4268
>                 URL: https://issues.apache.org/jira/browse/KARAF-4268
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Benson Margulies
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> {noformat}
> Caused by: java.lang.ClassNotFoundException:
> org.eclipse.jetty.server.nio.SelectChannelConnector not found by
> org.eclipse.jetty.server [137]
> {noformat}
> resulted from following the example at
> https://karaf.apache.org/manual/latest/users-guide/tuning.html
> The correct replacement is:
> {code}
> <Configure id="Server" class="org.eclipse.jetty.server.Server">
>     <Call name="addConnector">
>         <Arg>
>             <New class="org.eclipse.jetty.server.ServerConnector">
>                 <Arg name="server"><Ref refid="Server" /></Arg>
>                 <Arg name="factories"><!-- insert one or more
> factories here --></Arg>
>                 <Set name="port">8282</Set>
>                 <Set name="name">metrics</Set>
>             </New>
>         </Arg>
>     </Call>
> </Configure>
> {code}
> Also note that this doc neglects to mention to need to point to this file 
> from the pax-web .cfg file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to