From 3ca62af89367036a5eff1e9737ef884e3e6bb16e Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 25 Mar 2016 17:47:51 +0300 Subject: [PATCH] Fix pb with duplication of PVSERVER service --- src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx b/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx index 6f8171471..80582dbfe 100644 --- a/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx +++ b/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx @@ -52,7 +52,9 @@ std::string PVServer_ServiceLoader::findOrLoadService(const char * containerName std::string PVServer_ServiceLoader::findService(const char * containerName) { - std::string path = std::string(containerName) + "/PVSERVER"; + std::string path = "/Containers"; + path += containerName; + path += "/PVSERVER"; CORBA::Object_ptr obj = _ns->Resolve(path.c_str()); if(!CORBA::is_nil(obj)) { -- 2.39.2