diff options
author | Jose <jose@zeroc.com> | 2009-12-17 00:46:18 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-12-17 00:46:18 +0100 |
commit | 188bc3f8af08ef8d5852e1e15d02fdfcb91e3ccd (patch) | |
tree | cbbffe0c5d88d4d2ea8073862de7c10ac209a5f5 /cpp/src/IceStorm/Admin.cpp | |
parent | Remove StaticMutexTest & RWRecMutexTest (diff) | |
download | ice-188bc3f8af08ef8d5852e1e15d02fdfcb91e3ccd.tar.bz2 ice-188bc3f8af08ef8d5852e1e15d02fdfcb91e3ccd.tar.xz ice-188bc3f8af08ef8d5852e1e15d02fdfcb91e3ccd.zip |
4490 - icegridadmin doesn't work if icegrid using sql.
Diffstat (limited to 'cpp/src/IceStorm/Admin.cpp')
-rw-r--r-- | cpp/src/IceStorm/Admin.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/cpp/src/IceStorm/Admin.cpp b/cpp/src/IceStorm/Admin.cpp index 63413847079..3d8de08fcde 100644 --- a/cpp/src/IceStorm/Admin.cpp +++ b/cpp/src/IceStorm/Admin.cpp @@ -39,7 +39,16 @@ main(int argc, char* argv[]) #endif { Client app; - int rc = app.main(argc, argv); + Ice::InitializationData id; + Ice::StringSeq args = Ice::argsToStringSeq(argc, argv); + id.properties = Ice::createProperties(args); + // + // We don't want to load DB plug-ins with icestormadmin, as this will + // cause FileLock issues when run with the same configuration file + // used by the service. + // + id.properties->setProperty("Ice.Plugin.DB", ""); + int rc = app.main(argc, argv, id); return rc; } |