diff options
Diffstat (limited to 'cpp/src/IceGrid/Client.cpp')
-rw-r--r-- | cpp/src/IceGrid/Client.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/Client.cpp b/cpp/src/IceGrid/Client.cpp index c070016b001..5340df5b0f4 100644 --- a/cpp/src/IceGrid/Client.cpp +++ b/cpp/src/IceGrid/Client.cpp @@ -228,8 +228,16 @@ Client::main(Ice::StringSeq& args) try { _appName = args[0]; - _communicator = Ice::initialize(args); - + Ice::InitializationData id; + id.properties = Ice::createProperties(args); + // + // We don't want to load DB plug-ins with icegridadmin, as this will + // cause FileLock issues when run with the same configuration file + // used by the service. + // + id.properties->setProperty("Ice.Plugin.DB", ""); + _communicator = Ice::initialize(id); + { IceUtilInternal::MutexPtrLock<IceUtil::Mutex> sync(_staticMutex); _globalClient = this; |