private Context createInitialContext(Hashtable env) throws NamingException
{
Context ctx1 = new InitialContext(env);
if (ctx1.getEnvironment().get(NamingContext.JNP_DISCOVERY_GROUP) != null)
{
ctx1.removeFromEnvironment(Context.PROVIDER_URL);
}
return ctx1;
}
private void redeployNaming() throws Exception