Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Trading Service and Implementation Repository

5 views
Skip to first unread message

stuart....@baesystems.com

unread,
Dec 5, 2005, 8:32:49 AM12/5/05
to
ACE VERSION: 5.4a_p4
TAO VERSION: 1.4a_p4

HOST MACHINE and OPERATING SYSTEM: Intel P4 2.26 GHz/Windows 2000

TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
COMPILER NAME AND VERSION (AND PATCHLEVEL): Visual Studio .NET 2003
C++ Compiler

CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a
platform-
specific file, simply state which one]: config-win32.h

CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU
(unless
this isn't used in this case, e.g., with Microsoft Visual C++):

CONTENTS OF
$ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):

AREA/CLASS/EXAMPLE AFFECTED:
Trading Service and Implementation Repository

DOES THE PROBLEM AFFECT:
COMPILATION?
No
LINKING?
N/A
EXECUTION?
See below
OTHER (please specify)?
See below

SYNOPSIS:
I am trying to use the Implementation Repository to start the Trading
Service, Name Service and 3 servers, two of which use the Trading
Service and all of which use the Naming Service.

Ultimately I would like to have the Implementation Repository
administering all the servers and
services.

All the servers use Persistant POA's. The server that does not use
the Trading Service works
correctly with the Implementation repository.

DESCRIPTION:

I can successfully run my servers using the following cmd line inputs
when I do not use the
Implementation Repository to run the Trading Service.

1) Start Impl Repo with
S:\TAO\VS7.\ACE_wrappers\TAO\orbsvcs\ImplRepo_Service\ImplRepo_Service
-m 1 -t 100 -o
S:\TAO\VS7.1\ACE_wrappers\TAO\orbsvcs\ImplRepo_Service\imr_locator.ior
-d 10 -ORBEndPoint iiop://10.32.2.52:6195 &

2) Start Activator with
S:\TAO\VS7.1\ACE_wrappers\TAO\orbsvcs\ImplRepo_Service\ImR_Activator -d
10 -ORBObjRefStyle IOR -o
S:\TAO\VS7.1\ACE_wrappers\TAO\orbsvcs\ImplRepo_Service\imr_activator.ior
-ORBInitRef
ImplRepoService=file://S:\TAO\VS7.1\ACE_wrappers\TAO\orbsvcs\ImplRepo_Service\imr_locator.ior
-ORBEndPoint iiop://10.32.2.52:6194 &

3) Register the Name Service with
S:\TAO\VS7.1\ACE_wrappers\bin\tao_imr -ORBDefaultInitRef
corbaloc:iiop:10.32.2.52:6195 add NameService -c
"C:\TAO\VS7.1\ACE_wrappers\TAO\orbsvcs\Naming_Service\Release\Naming_Service.exe
-ORBUseIMR 1 -ORBDefaultInitRef corbaloc:iiop:10.32.2.52:6195 -m 0
-ORBEndpoint iiop://10.32.2.52:9000" -a AUTO_START

4) Start the Trading Service with
S:\TAO\VS7.1\ACE_wrappers\TAO\orbsvcs\Trading_Service\Release\Trading_Service
-ORBUseIMR 1 -ORBDefaultInitRef corbaloc:iiop:10.32.2.52:6195

5) Register Server 1 (uses Naming Service but not Trading Service)
with
S:\TAO\VS7.1\ACE_wrappers\bin\tao_imr -ORBDefaultInitRef
corbaloc:iiop:10.32.2.52:6195 update EnvironmentalDBServer -c
"C:\Share\Code\environment_db\Server\Debug\EnvironmentalDBServer.exe
-ORBUseIMR 1 -ORBDefaultInitRef corbaloc:iiop:10.32.2.52:6195" -a
AUTO_START

6) Start Server 1 (starts itself and the Naming Service) with
S:\TAO\VS7.1\ACE_wrappers\bin\tao_imr -ORBDefaultInitRef
corbaloc:iiop:10.32.2.52:6195 start EnvironmentalDBServer

7) Start Server 2 (uses both Trading and Naming Service) with
C:\Share\Code\ModelServer\Server\Debug\ModelServer.exe -ORBInitRef
NameService=corbaloc:iiop:10.32.2.52:9000/NameService

8) Start Server 3 (uses both Trading and Naming Service) with
C:\Share\Code\ManagerServer\Server\Debug\ManagerServer.exe -ORBInitRef
NameService=corbaloc:iiop:10.32.2.52:9000/NameService

9) Start Client with
C:\Share\Code\ManagerServer\TestClient\Debug\ManagerTestClient
-ORBDefaultInitRef corbaloc:iiop:10.32.2.52:6195

When I try to do the same thing but using the Implemtation Repository
to administer the
Trading Service in this way:

1) Same as 1 above.

2) Same as 2 above.

3) Same as 3 above.

4) Register the Trading Service with
S:\TAO\VS7.1\ACE_wrappers\bin\tao_imr -ORBDefaultInitRef
corbaloc:iiop:10.32.2.52:6195 add Trading_Service -c
"S:\TAO\VS7.1\ACE_wrappers\TAO\orbsvcs\Trading_Service\Trading_Service.exe
-ORBUseIMR 1 -ORBDefaultInitRef corbaloc:iiop:10.32.2.52:6195" -a
AUTO_START

5) Start the Trading Service with
S:\TAO\VS7.1\ACE_wrappers\bin\tao_imr -ORBDefaultInitRef
corbaloc:iiop:10.32.2.52:6195 start Trading_Service

6) Register Server 1 (uses Naming Service but not Trading Service)
with
S:\TAO\VS7.1\ACE_wrappers\bin\tao_imr -ORBDefaultInitRef
corbaloc:iiop:10.32.2.52:6195 update EnvironmentalDBServer -c
"C:\Share\Code\environment_db\Server\Debug\EnvironmentalDBServer.exe
-ORBUseIMR 1 -ORBDefaultInitRef corbaloc:iiop:10.32.2.52:6195" -a
AUTO_START

7) Start Server 1 (starts itself and the Naming Service) with
S:\TAO\VS7.1\ACE_wrappers\bin\tao_imr -ORBDefaultInitRef
corbaloc:iiop:10.32.2.52:6195 start EnvironmentalDBServer

8) Start Server 2 with
C:\Share\Code\ModelServer\Server\Debug\ModelServer.exe -ORBInitRef
NameService=corbaloc:iiop:10.32.2.52:9000/NameService -ORBUseIMR 1
-ORBDefaultInitRef corbaloc:iiop:10.32.2.52:6195

or

C:\Share\Code\ModelServer\Server\Debug\ModelServer.exe-ORBUseIMR 1
-ORBDefaultInitRef corbaloc:iiop:10.32.2.52:6195

At this point I get a Transient Exception trying to narrow the Trading
Service. It is the same
for the other server.

The activator console indicates that the Trading_Service is running
and indeed the process is
running.

If anyone has an idea of what might be happening or anything new to
try I would appreciate the help.

Thanks for your time

Stuart

0 new messages