*/
synchronized private void createLocalNameServer(int port) throws CorbaHostException {
int useCount = clientsCount.containsKey(port) ? clientsCount.get(port) : 0;
// no server previously spawned
if (useCount == 0) {
TransientNameServer server =
new TransientNameServer("localhost", port, TransientNameService.DEFAULT_SERVICE_NAME);
Thread thread = server.start();
if (thread == null) {
throw new CorbaHostException("TransientNameServer couldn't be started");
} else {
localServers.put(port, server);
}