//TODO: need to think more about this; if I don't do it, though, bind() fails because it tries to use "java.naming.provider.url"
try
{
NamingManager.
setInitialContextFactoryBuilder(new InVMInitialContextFactoryBuilder());
}
catch(IllegalStateException e)
{
// OK
}