[ https://issues.apache.org/jira/browse/KARAF-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-4268: ---------------------------------------- Component/s: karaf-documentation > Website 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)