public synchronized void start(StartContext context) throws StartException { try { final Context namingContext = new NamingContext(namingStore.getValue(), new Hashtable<String, Object>()); remoteNamingService = new RemoteNamingService(namingContext); remoteNamingService.start(endpoint.getValue()); } catch (Exception e) { throw new StartException("Failed to start remote naming service", e); } }