polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (POLYGENE-287) http library is not shutting down Jetty cleanly
Date Mon, 11 Dec 2017 03:55:00 GMT
Niclas Hedhman created POLYGENE-287:
---------------------------------------

             Summary: http library is not shutting down Jetty cleanly
                 Key: POLYGENE-287
                 URL: https://issues.apache.org/jira/browse/POLYGENE-287
             Project: Polygene
          Issue Type: Bug
            Reporter: Niclas Hedhman


When passivating the application, the following exception is thrown. Also, the shutdown takes
a very long time (tens of seconds), which seems unnecessary.


{{java.lang.IllegalStateException: ServletConfig has not been initialized
	at method "getServletName" of PolygeneServerServlet:PolygeneServerServlet in module [HttpServer
Module] of layer [Connectivity Layer].(:0)
	at javax.servlet.GenericServlet.getServletName(GenericServlet.java:331)
	at org.restlet.ext.servlet.ServerServlet.getComponent(ServerServlet.java:832)
	at org.restlet.ext.servlet.ServerServlet.destroy(ServerServlet.java:763)
	at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:452)
	at org.eclipse.jetty.servlet.ServletHolder.doStop(ServletHolder.java:423)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:143)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:73)
	at org.eclipse.jetty.servlet.ServletHandler.doStop(ServletHandler.java:230)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:143)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:73)
	at org.eclipse.jetty.server.session.SessionHandler.doStop(SessionHandler.java:127)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:143)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:73)
	at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:835)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:215)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:143)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:73)
	at org.eclipse.jetty.server.Server.doStop(Server.java:456)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
	at org.apache.polygene.library.http.AbstractJettyMixin.stopJetty(AbstractJettyMixin.java:128)}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message