| HOUBA::BOUCHETF_S4>objmgrsrv -run -verbose
Display: list of arguments.
[0] name = <-run>, value = NULL
[1] name = <-verbose>, value = NULL
Info: initializing the ORB.
Info: ORB initialization successfully completed.
Info: initializing the BOA.
Info: BOA initialization successfully completed.
Info: getting a NamingService object reference.
Info: getting an ObjectManager reference.
**** Skip Method Selection, OpInfo Created by STUB
**** Implementation Selection
**** Callout to method map resolve rtn.
*** Method map resolve rtn not present. Defaulting.
**** Server Instance Selection
Selection policy defaulting to advertisements, local_node, default_nodes.
Context scope default to USER.
Get Server Selection Node List:
Possible server selection nodes: <2>
000. OBB_LOCAL = HOUBA.geo.dec.com
001. OBB_DEFAULT_NODES = OBB_LOCAL
Looking for running server:
Looking for servers on node HOUBA.geo.dec.com.
*** Request Sent: Synchronous Invoke.
*** Method: 65e448f20f7c.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 564
*** Allocated Buffer : 1888
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Server selected from Registry: 7c1827397ac5.02.10.b8.50.10.00.00.00 (HOUBA.geo.dec.com).
*** Request Sent: Synchronous Invoke.
*** Method: 7368090a6e58.02.10.1f.a0.9b.00.00.00.
*** MethodServerClass: 508c0a7f9532.1d.40.33.45.06.70.2e.d9
*** Marshalled Buffer: 728
*** Allocated Buffer : 1930
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Info: Registering the ObjectManagerImpl to the agent.
*** Queuing Event: Register Implementation.
Info: ObjectManagerImpl successfully registered.
Info: Registering the ManagedObjectImpl to the agent.
*** Queuing Event: Register Implementation.
Info: ManagedObjectImpl successfully registered.
Info: Activating the ObjectManagerImpl.
*** Request Sent: Synchronous Invoke.
*** Method: 65e448ecbd2d.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 668
*** Allocated Buffer : 1998
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Info: ObjectManagerImpl successfully activated.
Info: Activating the ManagedObjectImpl.
*** Request Sent: Synchronous Invoke.
*** Method: 65e448ecbd2d.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 668
*** Allocated Buffer : 1998
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Info: ManagedObjectImpl successfully activated.
Invoke: Server.run
scanInterval = 30,
)
Info: Starting timer with a callback routine (not yet implemented).
Info: entering main loop.
*** Dispatching Register Implementation Event
*** Dispatching Register Implementation Event
*** Request Received: Synchronous Invoke.
*** Method: 7bf82ed6c1d9.02.10.2c.30.11.00.00.00
*** Implementation Instance ID: 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
*** Deferred Callback Id: 0
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Dispatching Invocation Event
*** Loading operation context
*** No context defined in operation.
Info: entering method ObjectManagerImpl.createManagedObject
Info: ManagedObject properties:
ID = <7c1835157ac7.02.10.b8.50.10.00.00.0>
name = <ManagedObject_1>
command = <>
processID = <>
scanInterval = <30>
startPriority = <5>
stopPriority = <5>
state = Created
Info: method ObjectManagerImpl.createManagedObject completed.
*** Request Sent: Completion Callback.
*** Marshalled Buffer: 516
*** Allocated Buffer : 1685
*** Deferred Sync Callback Id: <NOVALUE>
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Request Received: Disconnect.
*** Dispatching Disconnect Event
*** Request Received: Synchronous Invoke.
*** Method: 7c030d3e5f0d.02.c8.01.01.03.00.00.00
*** Implementation Instance ID: 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
*** Deferred Callback Id: 0
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Dispatching Invocation Event
*** Loading operation context
*** No context defined in operation.
Info: starting the managed object ManagedObject_1.
**** Skip Method Selection, OpInfo Created by STUB
**** Implementation Selection
**** Static Implementation Skipping Implementation Selection
**** Server Instance Selection
Implementation location field: <HOUBA.geo.dec.com>
*** Request Sent: Synchronous Invoke.
*** Method: 65e448f20f7c.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 604
*** Allocated Buffer : 1923
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Server selected from Implementation Location: 7c1835accafc.02.10.b8.50.10.00.00.00 (HOUBA.geo.dec.com).
*** Request Sent: Deferred Synchronous Invoke.
*** Method: 7bf82ed6c1d4.02.10.2c.30.11.00.00.00.
*** MethodServerClass: 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
*** Marshalled Buffer: 1348
*** Allocated Buffer : 2717
*** Deferred Sync Callback Id: 0
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Info: ManagedObject properties:
ID = <7c1835157ac7.02.10.b8.50.10.00.00.0>
name = <ManagedObject_1>
command = <>
processID = <>
scanInterval = <30>
startPriority = <5>
stopPriority = <5>
state = Starting
Info: method ObjectManagerImpl.startManagedObjects completed.
*** Request Sent: Completion Callback.
*** Marshalled Buffer: 88
*** Allocated Buffer : 1157
*** Deferred Sync Callback Id: <NOVALUE>
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Request Received: Disconnect.
*** Dispatching Disconnect Event
*** Request Received: Synchronous Invoke.
*** Method: 7bf82ed6c1d3.02.10.2c.30.11.00.00.00
*** Implementation Instance ID: 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
*** Deferred Callback Id: 0
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Dispatching Invocation Event
*** Loading operation context
*** No context defined in operation.
Info: message notification, the Thu Apr 17 15:02:00 1997
Name = "ManagedObject_1", Id = "7c1835157ac7.02.10.b8.50.10.00.00.0", State = Started
Body = []
*** Request Sent: Completion Callback.
*** Marshalled Buffer: 88
*** Allocated Buffer : 1157
*** Deferred Sync Callback Id: <NOVALUE>
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Request Received: Synchronous Invoke.
*** Method: 7bf82ed6c1d9.02.10.2c.30.11.00.00.00
*** Implementation Instance ID: 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
*** Deferred Callback Id: 0
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Dispatching Invocation Event
*** Loading operation context
*** No context defined in operation.
Info: entering method ObjectManagerImpl.createManagedObject
Info: ManagedObject properties:
ID = <7c1835157ac9.02.10.b8.50.10.00.00.0>
name = <ManagedObject_2>
command = <>
processID = <>
scanInterval = <30>
startPriority = <5>
stopPriority = <5>
state = Created
Info: method ObjectManagerImpl.createManagedObject completed.
*** Request Sent: Completion Callback.
*** Marshalled Buffer: 516
*** Allocated Buffer : 1685
*** Deferred Sync Callback Id: <NOVALUE>
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Request Received: Disconnect.
*** Dispatching Disconnect Event
*** Request Received: Synchronous Invoke.
*** Method: 7c030d3e5f0d.02.c8.01.01.03.00.00.00
*** Implementation Instance ID: 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
*** Deferred Callback Id: 0
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Dispatching Invocation Event
*** Loading operation context
*** No context defined in operation.
Info: starting the managed object ManagedObject_2.
**** Skip Method Selection, OpInfo Created by STUB
**** Implementation Selection
**** Static Implementation Skipping Implementation Selection
**** Server Instance Selection
Implementation location field: <HOUBA.geo.dec.com>
*** Request Sent: Synchronous Invoke.
*** Method: 65e448f20f7c.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 604
*** Allocated Buffer : 1923
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Server selected from Implementation Location: 7c183694afc8.02.10.b8.50.10.00.00.00 (HOUBA.geo.dec.com).
*** Request Sent: Deferred Synchronous Invoke.
*** Method: 7bf82ed6c1d4.02.10.2c.30.11.00.00.00.
*** MethodServerClass: 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
*** Marshalled Buffer: 1348
*** Allocated Buffer : 2717
*** Deferred Sync Callback Id: 0
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Info: ManagedObject properties:
ID = <7c1835157ac9.02.10.b8.50.10.00.00.0>
name = <ManagedObject_2>
command = <>
processID = <>
scanInterval = <30>
startPriority = <5>
stopPriority = <5>
state = Starting
Info: method ObjectManagerImpl.startManagedObjects completed.
*** Request Sent: Completion Callback.
*** Marshalled Buffer: 88
*** Allocated Buffer : 1157
*** Deferred Sync Callback Id: <NOVALUE>
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
*** Request Received: Disconnect.
*** Dispatching Disconnect Event
|
| HOUBA::BOUCHETF_S8>mgdobjsrv -verbose -id "7c1835157ac7.02.10.b8.50.10.00.00.0"
Display: list of arguments.
[0] name = <-verbose>, value = NULL
[1] name = <-id>, value = <7c1835157ac7.02.10.b8.50.10.00.00.0>
Info: initializing the ORB.
Info: ORB initialization successfully completed.
Info: initializing the BOA.
Info: BOA initialization successfully completed.
Info: Registering the ManagedObjectImpl to the agent.
*** Load Authentication implementation Trusted
FamilyName<3> <TRS>
ImagePath<26> <sys$share:obb$security.exe>
LibraryName: sys$share:obb$security.exe
*** Load Network implementation TCP
FamilyName<5> <TCPIP>
ImagePath<31> <sys$share:obb$transport_tcp.exe>
LibraryName: sys$share:obb$transport_tcp.exe
*** Load Agent implementation OrbV12
FamilyName<3> <OBB>
ImagePath<30> <sys$share:obb$agent_client.exe>
LibraryName: sys$share:obb$agent_client.exe
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
List of server supported sec. types isn't known yet. Trying client sec types in turn
Number of client supported security types: 1
Trying each of the sectypes from above list
Trying to get security key using Trusted package
Successfully obtained key/established context using security package Trusted
Info: ManagedObjectImpl successfully registered.
Info: the server has been started manually.
Info: setting he server id of the registered implementation to 7c1835157ac7.02.10.b8.50.10.00.00.0.
Info: Activating the ManagedObjectImpl.
Registering with the Trusted Security package
Status of registering with supported security package(s): %OBB-S-SUCCESS, Successful completion.
Signing messsage from Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
to Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
Using Trusted Security package to sign message.
Status of signing message: %OBB-S-SUCCESS, Successful completion.
*** Request Sent: Synchronous Invoke.
*** Method: 65e448ecbd2d.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 708
*** Allocated Buffer : 2033
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
Trying to verify message from client UUID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted security package to verify signed message
Stauts of verifying signed message: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Info: ManagedObjectImpl successfully activated.
Info: entering customed main loop.
Info: Starting timer with a callback routine (not yet implemented).
Info: entering main loop.
*** Dispatching Register Implementation Event
========Received request for implementation id 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted Security package to verify request
@@@ Proxy Lookup:
RemoteHost: HOUBA
RemoteUser: BOUCHETF
OpenKey failed - Proxies\HOUBA\BOUCHETF
OpenKey failed <1>
000. :Facility: OBB_REG :Severity: Error
:Status: (LOBIT) %X048BDDEA
Parameters <1>
KEYNAME : HOUBA
OpenKey failed <1>
000. :Facility: OBB_REG :Severity: Error
:Status: (LOBIT) %X048BDDEA
Parameters <1>
KEYNAME : Proxies\Default\Default
No Proxy Found
**** Status of security verification of request: %OBB-S-SUCCESS, Successful completion.
*** Dispatching Invocation Event
*** Loading operation context
*** No context defined in operation.
Info: message notification, the Thu Apr 17 15:02:00 1997
Name = "ManagedObject_1", Id = "7c1835157ac7.02.10.b8.50.10.00.00.0", State = Started
Body = []
**** Server Instance Selection
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
List of server supported sec. types isn't known yet. Trying client sec types in turn
Number of client supported security types: 1
Trying each of the sectypes from above list
Trying to get security key using Trusted package
Successfully obtained key/established context using security package Trusted
Signing messsage from Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
to Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
Using Trusted Security package to sign message.
Status of signing message: %OBB-S-SUCCESS, Successful completion.
*** Request Sent: Synchronous Invoke.
*** Method: 65e448f20f7c.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 564
*** Allocated Buffer : 1888
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
Trying to verify message from client UUID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted security package to verify signed message
Stauts of verifying signed message: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
Number of matched server sec. types:
1
Trying each of the sectypes from above list
Trying to get security key using Trusted package
Successfully obtained key/established context using security package Trusted
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
Number of matched server sec. types:
1
Trying to get security key using previously established sectype: Trusted
Successfully obtained key/esatablished context using security package Trusted
Signing messsage from Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
to Impl ID 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
Using Trusted Security package to sign message.
Status of signing message: %OBB-S-SUCCESS, Successful completion.
*** Request Sent: Synchronous Invoke.
*** Method: 7bf82ed6c1d3.02.10.2c.30.11.00.00.00.
*** MethodServerClass: 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
*** Marshalled Buffer: 844
*** Allocated Buffer : 2036
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
Trying to verify message from client UUID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted security package to verify signed message
Stauts of verifying signed message: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
|
| Some more information. It seems the problem comes from the client side. I
have been able to re-produce the problem with a simple client program (see
below). I have also appended the server log file showing that the managed
object server is active and refuses systematically all requests.
I really need your help on this one !!!
Cheers.
Frederic
[Simple client program -------------------------------------------------------]
...
#define OBJECT_MANAGER_OBJREF "/ObjectManager"
...
void main(int argc, char *argv[])
{
/*
** Local variables
*/
CORBA_Object theORB = NULL;
CORBA_Object theNamingService = NULL;
OMGR_ObjectManager theObjectManager = NULL;
CORBA_Environment theEnvironment;
CosNaming_NameComponent theNameComponent;
CosNaming_Name theName;
OMGR_ManagedObject theManagedObject1 = NULL;
OMGR_ManagedObject theManagedObject2 = NULL;
...
theORB = CORBA_ORB_init(
&argc, argv,
CORBA_DEC_ORB_ID,
&theEnvironment);
...
theNamingService = CORBA_ORB_resolve_initial_references(
theORB,
CORBA_NAMESERVICE_INITNAME,
&theEnvironment);
...
theNameComponent.id = OBJECT_MANAGER_OBJREF;
theNameComponent.kind = NULL;
theName._length = 1;
theName._maximum = 1;
theName._buffer = &theNameComponent;
theObjectManager = CosNaming_NamingContext_resolve(
theNamingService,
&theEnvironment,
&theName);
...
theManagedObject1 = OMGR_ObjectManager_createManagedObject(
theObjectManager, &theEnvironment,
"directory", "ManagedObject_1", "ID1", 5, 5, 30);
...
theManagedObject2 = OMGR_ObjectManager_createManagedObject(
theObjectManager, &theEnvironment,
"directory", "ManagedObject_2", "ID2", 5, 5, 30);
...
OMGR_ManagedObject_start(
theManagedObject1, &theEnvironment, theObjectManager,
"directory", "ManagedObject_1", "ID1", 5, 5, 30);
...
OMGR_ManagedObject_start(
theManagedObject2, &theEnvironment, theObjectManager,
"directory", "ManagedObject_2", "ID2", 5, 5, 30);
...
OMGR_ManagedObject_stop(
theManagedObject1, &theEnvironment);
...
OMGR_ManagedObject_stop(
theManagedObject2, &theEnvironment);
...
OMGR_ManagedObject_delete(
theManagedObject1, &theEnvironment);
...
OMGR_ManagedObject_delete(
theManagedObject2, &theEnvironment);
...
}
... : I have removed some code such as the exception handling for clarity
purpose.
[Log file for ManagedObject1 --------------------------------------------------]
$ SET OUTPUT_RATE=:0:0.01
$ DELETE/SYMBOL/LOCAL/ALL
$ DELETE/SYMBOL/GLOBAL/ALL
$ DEFINE/JOB/NOLOG SYS$LOGIN FBO_ROOT:[000000]
$ DEFINE/JOB/NOLOG SYS$SCRATCH FBO_ROOT:[000000]
$ PRCNAM = F$GETJPI(0,"PID")
$ SET PROCESS/NAME=OBB_20200E42
$ SET DEFAULT FBO_ROOT:[000000]
$ DEFINE "OBB_SERVER_UUID" "7c1d26baf9b9.02.10.b8.50.10.00.00.00"
$ DEFINE "OBB_INIT_FILE" "SYS$SPECIFIC:[OBB.SCRATCH.HOUBA]OBB202008a50065.TMP"
$ IF F$SEARCH("FBO_ROOT:[000000]OBB$LOGIN.COM") .NES. ""
$ THEN
$ @FBO_ROOT:[000000]OBB$LOGIN.COM
$ @fbo_root:[mtn.project]setup.com
$ obb :== application/broker
$!
$! Definition of directories
$!
$ define MTN$ROOT dsa1:[bouchet.mtn.project.]/trans=(concealed,terminal)
$!
$ define MTN$INCLUDE MTN$ROOT:[include]
$ define MTN$COMMON MTN$ROOT:[common]
$ define MTN$OBJMGRSRV MTN$ROOT:[objmgrsrv]
$ define MTN$OBJMGRADM MTN$ROOT:[objmgradm]
$ define MTN$OBJMGRNOT MTN$ROOT:[objmgrnot]
$ define MTN$MGDOBJSRV MTN$ROOT:[mgdobjsrv]
$!
$ define OBB_USER_CONTEXT MTN$ROOT:[000000]omgr.co
$ define OBB_REPOSITORY MTN$ROOT:[000000]OMGR.IR
$ define LNK$LIBRARY SYS$LIBRARY:VAXCRTL
$!
$ objmgradm :== $MTN$OBJMGRADM:objmgradm.exe
$ objmgrnot :== $MTN$OBJMGRNOT:objmgrnot.exe
$ objmgrsrv :== $MTN$OBJMGRSRV:objmgrsrv.exe
$ mgdobjsrv :== $MTN$MGDOBJSRV:mgdobjsrv.exe
$!
$ exit
$ define OBB_TRACE_FLAGS IPQO
$exit
$ ENDIF
$ mgdobjsrv -verbose
Display: list of arguments.
[0] name = <-verbose>, value = NULL
Info: initializing the ORB.
Info: ORB initialization successfully completed.
Info: initializing the BOA.
Info: BOA initialization successfully completed.
Info: Registering the ManagedObjectImpl to the agent.
*** Load Authentication implementation Trusted
FamilyName<3> <
FamilyName<3> <TRS
FamilyName<3> <TRS>
ImagePath<26> <
ImagePath<26> <sys$share:obb$security.exe
ImagePath<26> <sys$share:obb$security.exe>
LibraryName: sys$share:obb$security.exe
*** Load Network implementation TCP
FamilyName<5> <
FamilyName<5> <TCPIP
FamilyName<5> <TCPIP>
ImagePath<31> <
ImagePath<31> <sys$share:obb$transport_tcp.exe
ImagePath<31> <sys$share:obb$transport_tcp.exe>
LibraryName: sys$share:obb$transport_tcp.exe
*** Load Agent implementation OrbV12
FamilyName<3> <
FamilyName<3> <OBB
FamilyName<3> <OBB>
ImagePath<30> <
ImagePath<30> <sys$share:obb$agent_client.exe
ImagePath<30> <sys$share:obb$agent_client.exe>
LibraryName: sys$share:obb$agent_client.exe
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
List of server supported sec. types isn't
List of server supported sec. types isn't known yet. Trying client sec types in turn
Number of client supported security types: 1
Trying each of the sectypes from above list
Trying to get security key using Trusted package
Successfully obtained key/established
Successfully obtained key/established context using security package Trusted
Info: ManagedObjectImpl successfully registered.
Info: the server has been automatically started.
Info: getting the implementation definition of the started object.
Info: getting the server id of the implementation definition.
Info: setting he server id of the registered implementation to ID1.
Info: Activating the ManagedObject.
Registering with the Trusted Security package
Status of registering with supported security package(s): %OBB-S-SUCCESS, Successful completion.
Signing messsage from Client ID
Signing messsage from Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
to Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
Using Trusted Security package to sign message.
Status of signing message: %OBB-S-SUCCESS, Successful completion.
*** Request Sent: Synchronous Invoke.
*** Method: 65e448ecbd2d.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 712
*** Allocated Buffer : 2037
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
Trying to verify message from client UUID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted security package to verify signed message
Stauts of verifying signed message: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Info: ManagedObjectImpl successfully activated.
Info: entering customed main loop.
Info: Starting timer with a callback routine (not yet implemented).
Info: entering main loop.
*** Dispatching Register Implementation Event
========Received request for implementation id 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted Security package to verify request
@@@ Proxy Lookup:
RemoteHost:
RemoteHost: HOUBA
RemoteHost: HOUBA
RemoteUser:
RemoteUser: BOUCHETF
RemoteUser: BOUCHETF
OpenKey failed - Proxies\HOUBA\BOUCHETF
OpenKey failed <1>
000. :Facility: OBB_REG :Severity: Error
:Status: (LOBIT) %X048BDDEA
Parameters <1>
KEYNAME :
KEYNAME : HOUBA
KEYNAME : HOUBA
OpenKey failed <1>
000. :Facility: OBB_REG :Severity: Error
:Status: (LOBIT) %X048BDDEA
Parameters <1>
KEYNAME :
KEYNAME : Proxies\Default\Default
KEYNAME : Proxies\Default\Default
No Proxy Found
**** Status of security verification of request: %OBB-S-SUCCESS, Successful completion.
*** Dispatching Invocation Event
*** Loading operation context
*** No context defined in operation.
Info: spawning the command "directory"
Info: message notification, the Fri Apr 18 14:37:02 1997
Name = "ManagedObject_1", Id = "ID1", State = Started
Body = [20200E43]
**** Server Instance Selection
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
List of server supported sec. types isn't
List of server supported sec. types isn't known yet. Trying client sec types in turn
Number of client supported security types: 1
Trying each of the sectypes from above list
Trying to get security key using Trusted package
Successfully obtained key/established
Successfully obtained key/established context using security package Trusted
Signing messsage from Client ID
Signing messsage from Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
to Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
Using Trusted Security package to sign message.
Status of signing message: %OBB-S-SUCCESS, Successful completion.
*** Request Sent: Synchronous Invoke.
*** Method: 65e448f20f7c.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 564
*** Allocated Buffer : 1888
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
Trying to verify message from client UUID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted security package to verify signed message
Stauts of verifying signed message: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
Number of matched server sec. types:
1
Trying each of the sectypes from above list
Trying to get security key using Trusted package
Successfully obtained key/established
Successfully obtained key/established context using security package Trusted
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
Number of matched server sec. types:
1
Trying to get security key using previously
Trying to get security key using previously established sectype: Trusted
Successfully obtained key/esatablished
Successfully obtained key/esatablished context using security package Trusted
Signing messsage from Client ID
Signing messsage from Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
to Impl ID 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
Using Trusted Security package to sign message.
Status of signing message: %OBB-S-SUCCESS, Successful completion.
*** Request Sent: Synchronous Invoke.
*** Method: 7bf82ed6c1d3.02.10.2c.30.11.00.00.00.
*** MethodServerClass: 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
*** Marshalled Buffer: 820
*** Allocated Buffer : 2012
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
Trying to verify message from client UUID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted security package to verify signed message
Stauts of verifying signed message: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
========Received request for implementation id 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted Security package to verify request
@@@ Proxy Lookup:
RemoteHost:
RemoteHost: HOUBA
RemoteHost: HOUBA
RemoteUser:
RemoteUser: BOUCHETF
RemoteUser: BOUCHETF
OpenKey failed - Proxies\HOUBA\BOUCHETF
OpenKey failed <1>
000. :Facility: OBB_REG :Severity: Error
:Status: (LOBIT) %X048BDDEA
Parameters <1>
KEYNAME :
KEYNAME : HOUBA
KEYNAME : HOUBA
OpenKey failed <1>
000. :Facility: OBB_REG :Severity: Error
:Status: (LOBIT) %X048BDDEA
Parameters <1>
KEYNAME :
KEYNAME : Proxies\Default\Default
KEYNAME : Proxies\Default\Default
No Proxy Found
**** Status of security verification of request: %OBB-S-SUCCESS, Successful completion.
*** Dispatching Invocation Event
*** Loading operation context
*** No context defined in operation.
Error: cannot delete the spawned subprocess.
Info: message notification, the Fri Apr 18 14:37:22 1997
Name = "ManagedObject_1", Id = "ID1", State = Aborted
Body = []
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
Number of matched server sec. types:
1
Trying to get security key using previously
Trying to get security key using previously established sectype: Trusted
Successfully obtained key/esatablished
Successfully obtained key/esatablished context using security package Trusted
Signing messsage from Client ID
Signing messsage from Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
to Impl ID 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
Using Trusted Security package to sign message.
Status of signing message: %OBB-S-SUCCESS, Successful completion.
*** Request Sent: Synchronous Invoke.
*** Method: 7bf82ed6c1d3.02.10.2c.30.11.00.00.00.
*** MethodServerClass: 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
*** Marshalled Buffer: 812
*** Allocated Buffer : 2003
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
Trying to verify message from client UUID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted security package to verify signed message
Stauts of verifying signed message: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
========Received request for implementation id 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted Security package to verify request
@@@ Proxy Lookup:
RemoteHost:
RemoteHost: HOUBA
RemoteHost: HOUBA
RemoteUser:
RemoteUser: BOUCHETF
RemoteUser: BOUCHETF
OpenKey failed - Proxies\HOUBA\BOUCHETF
OpenKey failed <1>
000. :Facility: OBB_REG :Severity: Error
:Status: (LOBIT) %X048BDDEA
Parameters <1>
KEYNAME :
KEYNAME : HOUBA
KEYNAME : HOUBA
OpenKey failed <1>
000. :Facility: OBB_REG :Severity: Error
:Status: (LOBIT) %X048BDDEA
Parameters <1>
KEYNAME :
KEYNAME : Proxies\Default\Default
KEYNAME : Proxies\Default\Default
No Proxy Found
**** Status of security verification of request: %OBB-S-SUCCESS, Successful completion.
*** Dispatching Invocation Event
*** Loading operation context
*** No context defined in operation.
Info: the managed object has been succesfully deleted.
Info: message notification, the Fri Apr 18 14:37:36 1997
Name = "ManagedObject_1", Id = "ID1", State = Deleted
Body = []
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
Number of matched server sec. types:
1
Trying to get security key using previously
Trying to get security key using previously established sectype: Trusted
Successfully obtained key/esatablished
Successfully obtained key/esatablished context using security package Trusted
Signing messsage from Client ID
Signing messsage from Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
to Impl ID 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
Using Trusted Security package to sign message.
Status of signing message: %OBB-S-SUCCESS, Successful completion.
*** Request Sent: Synchronous Invoke.
*** Method: 7bf82ed6c1d3.02.10.2c.30.11.00.00.00.
*** MethodServerClass: 7bf82ed6c1d6.02.10.2c.30.11.00.00.00
*** Marshalled Buffer: 812
*** Allocated Buffer : 2005
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
Trying to verify message from client UUID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted security package to verify signed message
Stauts of verifying signed message: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Info: exiting main loop.
Info: deactivating the ManagedObjectImpl.
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
List of server supported sec. types isn't
List of server supported sec. types isn't known yet. Trying client sec types in turn
Number of client supported security types: 1
Trying each of the sectypes from above list
Trying to get security key using Trusted package
Successfully obtained key/established
Successfully obtained key/established context using security package Trusted
Signing messsage from Client ID
Signing messsage from Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
to Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
Using Trusted Security package to sign message.
Status of signing message: %OBB-S-SUCCESS, Successful completion.
*** Request Sent: Synchronous Invoke.
*** Method: 65e448ed1b58.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 336
*** Allocated Buffer : 1455
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
Trying to verify message from client UUID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted security package to verify signed message
Stauts of verifying signed message: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Info: ManagedObjectImpl successfully deactivated.
Info: unregistering the ManagedObjectImpl.
Signing messsage from Client ID
Signing messsage from Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
to Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
Using Trusted Security package to sign message.
Status of signing message: %OBB-S-SUCCESS, Successful completion.
*** Request Sent: Synchronous Invoke.
*** Method: 65e448ed1b58.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 336
*** Allocated Buffer : 1455
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
Trying to verify message from client UUID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted security package to verify signed message
Stauts of verifying signed message: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Info: ManagedObjectImpl successfully unregistered.
$ EXIT $STATUS
BOUCHETF logged out at 18-APR-1997 14:37:38.88
[Log file for ManagedObject2 --------------------------------------------------]
$ SET OUTPUT_RATE=:0:0.01
$ DELETE/SYMBOL/LOCAL/ALL
$ DELETE/SYMBOL/GLOBAL/ALL
$ DEFINE/JOB/NOLOG SYS$LOGIN FBO_ROOT:[000000]
$ DEFINE/JOB/NOLOG SYS$SCRATCH FBO_ROOT:[000000]
$ PRCNAM = F$GETJPI(0,"PID")
$ SET PROCESS/NAME=OBB_20200E45
$ SET DEFAULT FBO_ROOT:[000000]
$ DEFINE "OBB_SERVER_UUID" "7c1d26baf9ba.02.10.b8.50.10.00.00.00"
$ DEFINE "OBB_INIT_FILE" "SYS$SPECIFIC:[OBB.SCRATCH.HOUBA]OBB202008a50067.TMP"
$ IF F$SEARCH("FBO_ROOT:[000000]OBB$LOGIN.COM") .NES. ""
$ THEN
$ @FBO_ROOT:[000000]OBB$LOGIN.COM
$ @fbo_root:[mtn.project]setup.com
$ obb :== application/broker
$!
$! Definition of directories
$!
$ define MTN$ROOT dsa1:[bouchet.mtn.project.]/trans=(concealed,terminal)
$!
$ define MTN$INCLUDE MTN$ROOT:[include]
$ define MTN$COMMON MTN$ROOT:[common]
$ define MTN$OBJMGRSRV MTN$ROOT:[objmgrsrv]
$ define MTN$OBJMGRADM MTN$ROOT:[objmgradm]
$ define MTN$OBJMGRNOT MTN$ROOT:[objmgrnot]
$ define MTN$MGDOBJSRV MTN$ROOT:[mgdobjsrv]
$!
$ define OBB_USER_CONTEXT MTN$ROOT:[000000]omgr.co
$ define OBB_REPOSITORY MTN$ROOT:[000000]OMGR.IR
$ define LNK$LIBRARY SYS$LIBRARY:VAXCRTL
$!
$ objmgradm :== $MTN$OBJMGRADM:objmgradm.exe
$ objmgrnot :== $MTN$OBJMGRNOT:objmgrnot.exe
$ objmgrsrv :== $MTN$OBJMGRSRV:objmgrsrv.exe
$ mgdobjsrv :== $MTN$MGDOBJSRV:mgdobjsrv.exe
$!
$ exit
$ define OBB_TRACE_FLAGS IPQO
$exit
$ ENDIF
$ mgdobjsrv -verbose
Display: list of arguments.
[0] name = <-verbose>, value = NULL
Info: initializing the ORB.
Info: ORB initialization successfully completed.
Info: initializing the BOA.
Info: BOA initialization successfully completed.
Info: Registering the ManagedObjectImpl to the agent.
*** Load Authentication implementation Trusted
FamilyName<3> <
FamilyName<3> <TRS
FamilyName<3> <TRS>
ImagePath<26> <
ImagePath<26> <sys$share:obb$security.exe
ImagePath<26> <sys$share:obb$security.exe>
LibraryName: sys$share:obb$security.exe
*** Load Network implementation TCP
FamilyName<5> <
FamilyName<5> <TCPIP
FamilyName<5> <TCPIP>
ImagePath<31> <
ImagePath<31> <sys$share:obb$transport_tcp.exe
ImagePath<31> <sys$share:obb$transport_tcp.exe>
LibraryName: sys$share:obb$transport_tcp.exe
*** Load Agent implementation OrbV12
FamilyName<3> <
FamilyName<3> <OBB
FamilyName<3> <OBB>
ImagePath<30> <
ImagePath<30> <sys$share:obb$agent_client.exe
ImagePath<30> <sys$share:obb$agent_client.exe>
LibraryName: sys$share:obb$agent_client.exe
Obtaining Security Key for Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
List of server supported sec. types isn't
List of server supported sec. types isn't known yet. Trying client sec types in turn
Number of client supported security types: 1
Trying each of the sectypes from above list
Trying to get security key using Trusted package
Successfully obtained key/established
Successfully obtained key/established context using security package Trusted
Info: ManagedObjectImpl successfully registered.
Info: the server has been automatically started.
Info: getting the implementation definition of the started object.
Info: getting the server id of the implementation definition.
Info: setting he server id of the registered implementation to ID2.
Info: Activating the ManagedObject.
Registering with the Trusted Security package
Status of registering with supported security package(s): %OBB-S-SUCCESS, Successful completion.
Signing messsage from Client ID
Signing messsage from Client ID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
to Impl ID 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
Using Trusted Security package to sign message.
Status of signing message: %OBB-S-SUCCESS, Successful completion.
*** Request Sent: Synchronous Invoke.
*** Method: 65e448ecbd2d.0c.7e.0b.00.00.00.00.00.
*** MethodServerClass: 65e448ecbd2c.0c.7e.0b.00.00.00.00.00
*** Marshalled Buffer: 712
*** Allocated Buffer : 2037
*** Transport Status: %OBB-S-SUCCESS, Successful completion.
Trying to verify message from client UUID 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted security package to verify signed message
Stauts of verifying signed message: %OBB-S-SUCCESS, Successful completion.
*** Operation Status: %OBB-S-SUCCESS, Successful completion.
Info: ManagedObjectImpl successfully activated.
Info: entering customed main loop.
Info: Starting timer with a callback routine (not yet implemented).
Info: entering main loop.
*** Dispatching Register Implementation Event
========Received request for implementation id 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted Security package to verify request
**** Status of security verification of request: %OBB-E-INV_NOTAUTHORIZ, Client user is not authorized to access server.
*** Dispatching Invocation Event
========Received request for implementation id 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted Security package to verify request
**** Status of security verification of request: %OBB-E-INV_NOTAUTHORIZ, Client user is not authorized to access server.
*** Dispatching Invocation Event
========Received request for implementation id 7bf82ed6c1d0.02.10.2c.30.11.00.00.00
Using Trusted Security package to verify request
**** Status of security verification of request: %OBB-E-INV_NOTAUTHORIZ, Client user is not authorized to access server.
*** Dispatching Invocation Event
*** Dispatching Disconnect Event
|
| An interesting point it that it works when the object reference of the
ManagedObject1 is released before before the start the ManagedObject2.
...
#define OBJECT_MANAGER_OBJREF "/ObjectManager"
...
theORB = CORBA_ORB_init(
&argc, argv,
CORBA_DEC_ORB_ID,
&theEnvironment);
...
theNamingService = CORBA_ORB_resolve_initial_references(
theORB,
CORBA_NAMESERVICE_INITNAME,
&theEnvironment);
...
theNameComponent.id = OBJECT_MANAGER_OBJREF;
theNameComponent.kind = NULL;
theName._length = 1;
theName._maximum = 1;
theName._buffer = &theNameComponent;
theObjectManager = CosNaming_NamingContext_resolve(
theNamingService,
&theEnvironment,
&theName);
...
theManagedObject1 = OMGR_ObjectManager_createManagedObject(
theObjectManager, &theEnvironment,
"directory", "ManagedObject_1", "ID1", 5, 5, 30);
...
OMGR_ManagedObject_start(
theManagedObject1, &theEnvironment, theObjectManager,
"directory", "ManagedObject_1", "ID1", 5, 5, 30);
...
OMGR_ManagedObject_stop(
theManagedObject1, &theEnvironment);
...
OMGR_ManagedObject_delete(
theManagedObject1, &theEnvironment);
...
CORBA_Object_release (
theManagedObject1, &theEnvironment);
...
theManagedObject2 = OMGR_ObjectManager_createManagedObject(
theObjectManager, &theEnvironment,
"directory", "ManagedObject_2", "ID2", 5, 5, 30);
...
OMGR_ManagedObject_start(
theManagedObject2, &theEnvironment, theObjectManager,
"directory", "ManagedObject_2", "ID2", 5, 5, 30);
...
OMGR_ManagedObject_stop(
theManagedObject2, &theEnvironment);
...
OMGR_ManagedObject_delete(
theManagedObject2, &theEnvironment);
...
|