Endless errors after openhabian update today

Hey there. My openhabian installation on RPi3 ****** up few minutes ago. I’m getting endless error messages.

Please tell me what’s wrong and what I’ve todo. It’s urgent 'cause this is a productive system.

2018-03-10 12:31:00.032 [WARN ] [org.eclipse.jetty.server.HttpChannel] - //sh2:8080/rest/events
  javax.servlet.ServletException: javax.servlet.ServletException: java.lang.UnsupportedOperationException: Asynchronous processing not supported on Servlet 2.x container.
  	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:88) [186:org.ops4j.pax.web.pax-web-jetty:6.0.7]
  	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [81:org.eclipse.jetty.server:9.3.22.v20171030]
  	at org.eclipse.jetty.server.Server.handle(Server.java:534) [81:org.eclipse.jetty.server:9.3.22.v20171030]
  	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) [81:org.eclipse.jetty.server:9.3.22.v20171030]
  	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [81:org.eclipse.jetty.server:9.3.22.v20171030]
  	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [73:org.eclipse.jetty.io:9.3.22.v20171030]
  	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [73:org.eclipse.jetty.io:9.3.22.v20171030]
  	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [73:org.eclipse.jetty.io:9.3.22.v20171030]
  	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [84:org.eclipse.jetty.util:9.3.22.v20171030]
  	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [84:org.eclipse.jetty.util:9.3.22.v20171030]
  	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [84:org.eclipse.jetty.util:9.3.22.v20171030]
  	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [84:org.eclipse.jetty.util:9.3.22.v20171030]
  	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [84:org.eclipse.jetty.util:9.3.22.v20171030]
  	at java.lang.Thread.run(Thread.java:748) [?:?]
  Caused by: javax.servlet.ServletException: java.lang.UnsupportedOperationException: Asynchronous processing not supported on Servlet 2.x container.
  	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:489) ~[?:?]
  	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) ~[?:?]
  	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) ~[?:?]
  	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) ~[?:?]
  	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) ~[?:?]
  	at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) ~[?:?]
  	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) ~[?:?]
  	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) ~[?:?]
  	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) ~[?:?]
  	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[?:?]
  	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) ~[?:?]
  	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) ~[?:?]
  	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) ~[?:?]
  	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284) ~[?:?]
  	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) ~[?:?]
  	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[?:?]
  	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) ~[?:?]
  	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[?:?]
  	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) ~[?:?]
  	... 13 more
  Caused by: java.lang.UnsupportedOperationException: Asynchronous processing not supported on Servlet 2.x container.
  	at org.glassfish.jersey.servlet.WebComponent$3.suspend(WebComponent.java:138) ~[?:?]
  	at org.glassfish.jersey.servlet.internal.ResponseWriter.suspend(ResponseWriter.java:125) ~[?:?]
  	at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:775) ~[?:?]
  	at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444) ~[?:?]
  	at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434) ~[?:?]
  	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329) ~[?:?]
  	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) ~[?:?]
  	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) ~[?:?]
  	at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[?:?]
  	at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[?:?]
  	at org.glassfish.jersey.internal.Errors.process(Errors.java:267) ~[?:?]
  	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) ~[?:?]
  	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) ~[?:?]
  	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) ~[?:?]
  	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) ~[?:?]
  	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) ~[?:?]
  	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) ~[?:?]
  	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) ~[?:?]
  	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) ~[?:?]
  	at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) ~[?:?]
  	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) ~[?:?]
  	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) ~[?:?]
  	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) ~[?:?]
  	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[?:?]
  	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) ~[?:?]
  	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) ~[?:?]
  	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) ~[?:?]
  	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284) ~[?:?]
  	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) ~[?:?]
  	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[?:?]
  	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) ~[?:?]
  	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[?:?]
  	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) ~[?:?]
  	... 13 more
  

Thank you.

or use your backup :sunglasses:

or downgrade https://docs.openhab.org/installation/linux.html#changing-versions (click on “Apt Based Systems” to see the details)

1 Like

Thank you very much @sihui for the link to rlkoshak’s post. That worked.
Thank you @rlkoshak for posting the post.

@ThomDietrich Is it possible to add the clear cache mechanism to the openhabian update? I think that would increase the perceived stability of OpenHAB and OpenHABian.

2 Likes

The openHABian update function relies on the “plain” openHAB update function and there clearing cache and tmp is already included.
For whatever reason sometimes it is necessary to do that afterwards again manually …