Strange....

I'm using karaf 3.0.1
*
org.ops4j.pax.url.mvn.cfg file ends with*

org.ops4j.pax.url.mvn.repositories= \
https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases,
 
\
     http://repo1.maven.org/maven2@id=central, \
http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, 
\
http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external,
 
\
file:${karaf.home}/${karaf.default.repository}@id=system.repository, \
     file:${karaf.data}/kar@id=kar.repository@multi

*karaf_home/bin/karaf clean
**feature:repo-add 
mvn:org.ops4j.pax.web/pax-web-features/4.0.0-SNAPSHOT/xml/features*
*feature:install pax-http *


and you get

2014-07-08 04:46:53,376 | ERROR | pool-9-thread-1  | 
Activator                        | 112 - 
org.ops4j.pax.web.pax-web-runtime - 4.0.0.SNAPSHOT | Unable to start pax 
web server: Exception while starting Jetty
java.lang.RuntimeException: Exception while starting Jetty
     at 
org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.start(JettyServerImpl.java:163)[113:org.ops4j.pax.web.pax-web-jetty:4.0.0.SNAPSHOT]
     at 
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Stopped.start(ServerControllerImpl.java:415)[113:org.ops4j.pax.web.pax-web-jetty:4.0.0.SNAPSHOT]
     at 
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.start(ServerControllerImpl.java:71)[113:org.ops4j.pax.web.pax-web-jetty:4.0.0.SNAPSHOT]
     at 
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Unconfigured.configure(ServerControllerImpl.java:736)[113:org.ops4j.pax.web.pax-web-jetty:4.0.0.SNAPSHOT]
     at 
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.configure(ServerControllerImpl.java:87)[113:org.ops4j.pax.web.pax-web-jetty:4.0.0.SNAPSHOT]
     at 
org.ops4j.pax.web.service.internal.Activator.updateController(Activator.java:349)[112:org.ops4j.pax.web.pax-web-runtime:4.0.0.SNAPSHOT]
     at 
org.ops4j.pax.web.service.internal.Activator$3.run(Activator.java:291)[112:org.ops4j.pax.web.pax-web-runtime:4.0.0.SNAPSHOT]
     at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_60]
     at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_60]
     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_60]
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_60]
     at java.lang.Thread.run(Thread.java:745)[:1.7.0_60]
Caused by: java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)[:1.7.0_60]
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_60]
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_60]
     at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_60]
     at 
org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.start(JettyServerImpl.java:127)[113:org.ops4j.pax.web.pax-web-jetty:4.0.0.SNAPSHOT]
     ... 11 more
Caused by: java.lang.ClassNotFoundException: 
org.eclipse.jetty.server.nio.SelectChannelConnector not found by 
org.eclipse.jetty.server [95]
     at 
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
     at 
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
     at 
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_60]
     at 
org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1374)
     at 
org.apache.felix.framework.BundleWiringImpl.searchDynamicImports(BundleWiringImpl.java:1630)
     at 
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1511)
     at 
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
     at 
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_60]
     at org.eclipse.jetty.util.Loader.loadClass(Loader.java:100)
     at 
org.eclipse.jetty.xml.XmlCfeature:listonfiguration$JettyXmlConfiguration.nodeClass(XmlConfiguration.java:364)
     at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:754)
     at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1125)
     at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1030)
     at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:721)
     at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:417)
     at 
org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:298)
     at 
org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:248)


There is no "old" feature
*feature:list*

  feature:list
Name                          | Version          | Installed | 
Repository                       | Description
----------------------------------------------------------------------------------------------------------------------------------------------------
framework-security            | 3.0.1            |           | 
standard-3.0.1                   | OSGi Security for Karaf
standard                      | 3.0.1            | x         | 
standard-3.0.1                   | Karaf standard feature
aries-annotation              | 3.0.1            |           | 
standard-3.0.1                   | Aries Annotations
wrapper                       | 3.0.1            |           | 
standard-3.0.1                   | Provide OS integration
service-wrapper               | 3.0.1            |           | 
standard-3.0.1                   | Provide OS integration (alias to 
wrapper feature)
obr                           | 3.0.1            |           | 
standard-3.0.1                   | Provide OSGi Bundle Repository (OBR) 
support
config                        | 3.0.1            | x         | 
standard-3.0.1                   | Provide OSGi ConfigAdmin support
region                        | 3.0.1            | x         | 
standard-3.0.1                   | Provide Region Support
package                       | 3.0.1            | x         | 
standard-3.0.1                   | Package commands and mbeans
http                          | 3.0.1            |           | 
standard-3.0.1                   | Implementation of the OSGI HTTP Service
http-whiteboard               | 3.0.1            |           | 
standard-3.0.1                   | Provide HTTP Whiteboard pattern support
war                           | 3.0.1            |           | 
standard-3.0.1                   | Turn Karaf as a full WebContainer
jetty                         | 8.1.9.v20130131  |           | 
standard-3.0.1 |
kar                           | 3.0.1            | x         | 
standard-3.0.1                   | Provide KAR (KARaf archive) support
webconsole                    | 3.0.1            |           | 
standard-3.0.1                   | Base support of the Karaf WebConsole
ssh                           | 3.0.1            | x         | 
standard-3.0.1                   | Provide a SSHd server on Karaf
management                    | 3.0.1            | x         | 
standard-3.0.1                   | Provide a JMX MBeanServer and a set 
of MBeans in K
scheduler                     | 3.0.1            |           | 
standard-3.0.1                   | Provide a scheduler service in Karaf 
to fire event
eventadmin                    | 3.0.1            |           | 
standard-3.0.1                   | OSGi Event Admin service 
specification for event-b
jasypt-encryption             | 3.0.1            |           | 
standard-3.0.1                   | Advanced encryption support for Karaf 
security
scr                           | 3.0.1            |           | 
standard-3.0.1                   | Declarative Service support
blueprint-web                 | 3.0.1            |           | 
standard-3.0.1                   | Provides an OSGI-aware Servlet 
ContextListener for
pax-jetty                     | 9.0.7.v20131107  | x         | 
org.ops4j.pax.web-4.0.0-SNAPSHOT | Provide Jetty engine support
pax-http                      | 4.0.0-SNAPSHOT   | x         | 
org.ops4j.pax.web-4.0.0-SNAPSHOT | Implementation of the OSGI HTTP Service
pax-http-whiteboard           | 4.0.0-SNAPSHOT   |           | 
org.ops4j.pax.web-4.0.0-SNAPSHOT | Provide HTTP Whiteboard pattern support
pax-war                       | 4.0.0-SNAPSHOT   |           | 
org.ops4j.pax.web-4.0.0-SNAPSHOT | Provide support of a full WebContainer
pax-war-tomcat                | 4.0.0-SNAPSHOT   |           | 
org.ops4j.pax.web-4.0.0-SNAPSHOT | Provide support of a full WebContainer
transaction                   | 1.0.1            |           | 
enterprise-3.0.1                 | OSGi Transaction Manager
jpa                           | 1.0.1            |           | 
enterprise-3.0.1                 | OSGi Persistence Container
openjpa                       | 2.2.2            |           | 
enterprise-3.0.1                 | Apache OpenJPA 2.2.x persistence 
engine support
openjpa                       | 2.3.0            |           | 
enterprise-3.0.1                 | Apache OpenJPA 2.3.x persistence 
engine support
hibernate                     | 3.3.2.GA         |           | 
enterprise-3.0.1                 | Hibernate 3.x JPA persistence engine 
support
hibernate                     | 4.2.7.Final      |           | 
enterprise-3.0.1                 | Hibernate 4.2.x JPA persistence 
engine support
hibernate-envers              | 4.2.7.Final      |           | 
enterprise-3.0.1                 | Hibernate Envers 4.2.x
hibernate                     | 4.3.1.Final      |           | 
enterprise-3.0.1                 | Hibernate 4.3.x JPA persistence 
engine support
hibernate-envers              | 4.3.1.Final      |           | 
enterprise-3.0.1                 | Hibernate Envers 4.3.x
hibernate-validator           | 5.0.3.Final      |           | 
enterprise-3.0.1                 | Hibernate Validator support
jndi                          | 3.0.1            |           | 
enterprise-3.0.1                 | OSGi Service Registry JNDI access
jdbc                          | 3.0.1            |           | 
enterprise-3.0.1                 | JDBC service and commands
jms                           | 3.0.1            |           | 
enterprise-3.0.1                 | JMS service and commands
openwebbeans                  | 1.2.1            |           | 
enterprise-3.0.1                 | Apache OpenWebBeans CDI container 
support
weld                          | 2.1.1.Final      |           | 
enterprise-3.0.1                 | JBoss Weld CDI container support
application-without-isolation | 1.0.0            |           | 
enterprise-3.0.1                 | Provide EBA archive support
pax-jetty                     | 8.1.14.v20131031 |           | 
org.ops4j.pax.web-3.1.0          | Provide Jetty engine support
pax-tomcat                    | 7.0.27.1         |           | 
org.ops4j.pax.web-3.1.0          | Provide Tomcat engine support
pax-http                      | 3.1.0            |           | 
org.ops4j.pax.web-3.1.0          | Implementation of the OSGI HTTP Service
pax-http-whiteboard           | 3.1.0            |           | 
org.ops4j.pax.web-3.1.0          | Provide HTTP Whiteboard pattern support
pax-war                       | 3.1.0            |           | 
org.ops4j.pax.web-3.1.0          | Provide support of a full WebContainer
pax-cdi                       | 0.7.0            |           | 
org.ops4j.pax.cdi-0.7.0          | Provide CDI support
pax-cdi-1.1                   | 0.7.0            |           | 
org.ops4j.pax.cdi-0.7.0          | Provide CDI 1.1 support
pax-cdi-weld                  | 0.7.0            |           | 
org.ops4j.pax.cdi-0.7.0          | Weld CDI support
pax-cdi-1.1-weld              | 0.7.0            |           | 
org.ops4j.pax.cdi-0.7.0          | Weld CDI 1.1 support
pax-cdi-openwebbeans          | 0.7.0            |           | 
org.ops4j.pax.cdi-0.7.0          | OpenWebBeans CDI support
pax-cdi-web                   | 0.7.0            |           | 
org.ops4j.pax.cdi-0.7.0          | Web CDI support
pax-cdi-1.1-web               | 0.7.0            |           | 
org.ops4j.pax.cdi-0.7.0          | Web CDI 1.1 support
pax-cdi-web-weld              | 0.7.0            |           | 
org.ops4j.pax.cdi-0.7.0          | Weld Web CDI support
pax-cdi-1.1-web-weld          | 0.7.0            |           | 
org.ops4j.pax.cdi-0.7.0          | Weld Web CDI 1.1 support
pax-cdi-web-openwebbeans      | 0.7.0            |           | 
org.ops4j.pax.cdi-0.7.0          | OpenWebBeans Web CDI support
pax-cdi-deltaspike-core       | >0.5             |           | 
org.ops4j.pax.cdi-0.7.0          | Apache Deltaspike core support
pax-cdi-deltaspike-jpa        | 0.5              |           | 
org.ops4j.pax.cdi-0.7.0          | Apche Deltaspike jpa support
spring-dm                     | 1.2.1            |           | 
spring-3.0.1                     | Spring DM support
spring-dm-web                 | 1.2.1            |           | 
spring-3.0.1                     | Spring DM Web support
spring                        | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x support
spring-aspects                | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x AOP support
spring-instrument             | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x Instrument support
spring-jdbc                   | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x JDBC support
spring-jms                    | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x JMS support
spring-struts                 | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x Struts support
spring-test                   | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x Test support
spring-orm                    | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x ORM support
spring-oxm                    | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x OXM support
spring-tx                     | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x Transaction (TX) support
spring-web                    | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x Web support
spring-web-portlet            | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.1.x Web Portlet support
spring                        | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x support
spring-aspects                | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x AOP support
spring-instrument             | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x Instrument support
spring-jdbc                   | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x JDBC support
spring-jms                    | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x JMS support
spring-struts                 | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x Struts support
spring-test                   | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x Test support
spring-orm                    | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x ORM support
spring-oxm                    | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x OXM support
spring-tx                     | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x Transaction (TX) support
spring-web                    | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x Web support
spring-web-portlet            | 3.2.4.RELEASE    |           | 
spring-3.0.1                     | Spring 3.2.x Web Portlet support
spring                        | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x support
spring-aspects                | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x AOP support
spring-instrument             | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x Instrument support
spring-jdbc                   | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x JDBC support
spring-jms                    | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x JMS support
spring-test                   | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x Test support
spring-orm                    | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x ORM support
spring-oxm                    | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x OXM support
spring-tx                     | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x Transaction (TX) support
spring-web                    | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x Web support
spring-web-portlet            | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x Web Portlet support
spring-websocket              | 4.0.2.RELEASE_1  |           | 
spring-3.0.1                     | Spring 4.0.x WebSocket support
spring-security               | 3.1.4.RELEASE    |           | 
spring-3.0.1                     | Spring Security 3.1.x support
gemini-blueprint              | 1.0.0.RELEASE    |           | 
spring-3.0.1                     | Gemini Blueprint Extender





Le 08/07/2014 10:00, Achim Nierbeck [via Karaf] a écrit :
> This is rather strange, cause the Integration tests work fine [1].
> Could you check that you didn't install parts of Pax Web 3 and 4 
> and/or the corresponding Jetty versions?
>
> regards, Achim
>
> [1] - 
> http://ci.ops4j.org/jenkins/job/org.ops4j.pax.web/571/org.ops4j.pax.web.itest$pax-web-itest-karaf/
>
>
> 2014-07-08 9:40 GMT+02:00 jimmy <[hidden email] 
> </user/SendEmail.jtp?type=node&node=4034045&i=0>>:
>
>     here is the result of
>
>
>     *find-class SelectChannelConnector*
>
>     Jetty :: Server Core (95)
>     org/eclipse/jetty/server/nio/NetworkTrafficSelectChannelConnector.class
>
>     OPS4J Pax Web - Jetty (113)
>     org/eclipse/jetty/server/nio/NetworkTrafficSelectChannelConnector.class
>
>
>
>
>     --
>     View this message in context:
>     http://karaf.922171.n3.nabble.com/WebSocket-tp4034012p4034044.html
>     Sent from the Karaf - User mailing list archive at Nabble.com.
>
>
>
>
> -- 
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> 
> Committer & Project Lead
> blog <http://notizblog.nierbeck.de/>
>
> Software Architect / Project Manager / Scrum Master
>
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://karaf.922171.n3.nabble.com/WebSocket-tp4034012p4034045.html
> To unsubscribe from WebSocket, click here 
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4034012&code=amltbXkucGFubmllckBpbm92ZWxhbi5mcnw0MDM0MDEyfC01NTUxNDMzNzU=>.
> NAML 
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>  
>

-- 

*Jimmy PANNIER*
Ingénieur de développement
Pôle Édition

        169, Rue Sadi Carnot
59350 Saint André-Lez-Lille
03.20.06.16.17





logo_inovelan_mini.png (6K) 
<http://karaf.922171.n3.nabble.com/attachment/4034048/0/logo_inovelan_mini.png>




--
View this message in context: 
http://karaf.922171.n3.nabble.com/WebSocket-tp4034012p4034048.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to