Try to avoid the current modification exceptions that hapen sometimes on shutdown. We don't need Jetty to have its own shutdown thread as the Tuscany code should always being shutting down the jetty server
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@884485 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7d035f2da4
commit
992473a22b
1 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,8 @@ public class JettyServer implements ServletHost, LifeCycleListener {
|
|||
|
||||
keyStoreType = System.getProperty("javax.net.ssl.keyStoreType", KeyStore.getDefaultType());
|
||||
trustStoreType = System.getProperty("javax.net.ssl.trustStoreType", KeyStore.getDefaultType());
|
||||
|
||||
System.setProperty("JETTY_NO_SHUTDOWN_HOOK", "true");
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue