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] [Commented] (KARAF-4268) Documentation has obsolete jetty configuration
Date Thu, 14 Jan 2016 11:58:40 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098026#comment-15098026
] 

Jean-Baptiste Onofré commented on KARAF-4268:
---------------------------------------------

Part is documented: http://karaf.apache.org/manual/latest/users-guide/webcontainer.html

I will improve there as well.

Thanks.

> Documentation has obsolete jetty configuration
> ----------------------------------------------
>
>                 Key: KARAF-4268
>                 URL: https://issues.apache.org/jira/browse/KARAF-4268
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-documentation
>            Reporter: Benson Margulies
>            Assignee: Jean-Baptiste Onofré
>
> {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
(v6.3.4#6332)

Mime
View raw message