Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] classloader problem with Jetty 9.3.15 / CometD 3.1.0

Opened an issue for this at ...

https://github.com/eclipse/jetty.project/issues/1229

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Tue, Jan 10, 2017 at 9:45 AM, Michele Rossi <michele.rossi@xxxxxxxxx> wrote:
hi,

I am getting the following exception when trying to start up the WebSockets transport using CometD 3.1.0 and Jetty 9.3.15:


14:39:16.244|WARN |o.e.j.d.DeploymentManager||Unable to reach node goal: started
java.lang.LinkageError: loader constraint violation: when resolving method "org.eclipse.jetty.websocket.server.NativeWebSocketConfiguration.addMapping(Lorg/eclipse/jetty/http/pathmap/PathSpec;Lorg/eclipse/jetty/websocket/servlet/WebSocketCreator;)V" the class loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader) of the current class, org/cometd/websocket/server/JettyWebSocketTransport, and the class loader (instance of org/eclipse/jetty/start/Classpath$Loader) for the method's defining class, org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration, have different Class objects for the type org/eclipse/jetty/http/pathmap/PathSpec used in the signature
        at org.cometd.websocket.server.JettyWebSocketTransport.init(JettyWebSocketTransport.java:75)
        at org.cometd.server.BayeuxServerImpl.initializeServerTransports(BayeuxServerImpl.java:255)
        at org.cometd.server.BayeuxServerImpl.doStart(BayeuxServerImpl.java:135)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.cometd.server.CometDServlet.init(CometDServlet.java:64)



Any clues on what might be causing it?

It did not occur with previous versions of Jetty / CometD.


thanks,
Michele



_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev


Back to the top