protected ServerContext( DirectoryService service, Hashtable env ) throws NamingException
{
// set references to cloned env and the proxy
this.nexusProxy = new DirectoryPartitionNexusProxy( this, service );
DirectoryServiceConfiguration cfg = service.getConfiguration();
this.env = ( Hashtable ) cfg.getEnvironment().clone();
this.env.putAll( env );
/* --------------------------------------------------------------------
* check for the provider URL property and make sure it exists
* as a valid value or else we need to throw a configuration error