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:
antelder 2009-11-26 10:15:01 +00:00
parent 7d035f2da4
commit 992473a22b

View file

@ -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;
}
});