SEC-2650: Fix Jetty Warn NoInitialContextException on shutdown

This commit is contained in:
Rob Winch 2014-06-11 17:14:55 -05:00
parent b13603f480
commit dd0253048e
1 changed files with 2 additions and 0 deletions

View File

@ -57,5 +57,7 @@ task casServer (type: org.gradle.api.plugins.jetty.JettyRunWar, dependsOn: 'casS
doFirst() {
System.setProperty('javax.net.ssl.trustStore', keystore)
System.setProperty('javax.net.ssl.trustStorePassword', password)
System.setProperty('java.naming.factory.url.pkgs','org.mortbay.naming')
System.setProperty('java.naming.factory.initial','org.mortbay.naming.InitialContextFactory')
}
}