}
private void initServer()
throws ConfigException
{
LockService lockService = LockService.getCurrent();
if (lockService == null) {
throw new ConfigException(L.l("'{0}' cannot be initialized because it is not in a Resin environment\n {1}",
getClass().getSimpleName(),
Thread.currentThread().getContextClassLoader()));
}
_manager = lockService.getManager();
if (_manager == null)
throw new IllegalStateException("distributed lock manager not available");
}