glassfishrobot
glassfishrobot
Reported by janssk1
fholmqvist said: Seeing the same with an EmbeddedJetty: ``` ContextHandler appContext = new ContextHandler("/path"); appContext.setHandler(new HttpContainer(app)); contexts.setHandlers(new Handler[] { rootContext, appContext }); server.setHandler(contexts); ``` Any request to /path/resource will become...
This issue was imported from java.net JIRA JERSEY-3066
Reported by icode
cowwoc said: The problem has to do with server shutdown, not reload. I am getting this while shutting down the server at the end of a unit test, reload() is...
cowwoc said: Also, I believe this is a regression in version 2.11\. I don't recall ever getting it in 2.09 (I upgraded from 2.09 to 2.11).
icode said: ``` resourceConfig.registerInstances(new ContainerRequestFilter() { @Override public void filter(ContainerRequestContext containerRequestContext) throws IOException { container.reload(); } }); ```
icode said: all test code, pls set logger level to warn. all request get a 500 http status ``` package org.glassfish.jersey.examples.reload; import org.glassfish.grizzly.http.server.HttpServer; import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory; import org.glassfish.jersey.server.ResourceConfig; import org.glassfish.jersey.server.spi.Container; import...
icode said: jersey 2.9 not have this issuse
cowwoc said: @icode, Thank you! So now we've established this is a regression relative to version 2.9 and provided a minimal testcase.