6 This test creates a distributed DT ie. a DT that spans multiple
7 hosts/processes. In this test they span two hosts/processes. The DT on
8 one host/process makes a remote invocation on another host/process and
9 hence executes in the context of the second host/process before
10 returning to the first host/process. The DT makes a one-way and a
11 two-way invocations. In a one-way invocation a new DT is created to
12 continue servicing the request. In the case of a two-way invocation
13 the same DT executes on the second host/process.
15 The DT information is propagated across hosts/processes via the
16 service contexts. The service context is populated with the DT info
17 using the Client Interceptor when sending a request. The DT info is
18 retreived from the service context on the server using the Server
19 Interceptor when receiving the request.
21 This test also illustrates the propagation of the
22 CORBA::THREAD_CANCELLED exception to the point of origin of the DT
23 when it is cancelled on a remote host/process it is currently
29 Start the following processes in that order.
31 ./test_server -f <ior_filename>
33 -f <ior_filename> --> Name of the file in which the server IOR will be written
36 ./test_client -f <ior_filename>
38 -f <ior_filename> --> Name of the file in which the server IOR was written
46 Server_Interceptor::receive_request_service_contexts
47 Server_Interceptor::receive_request
48 Request from Distributable Thread
50 One-Way Message = file:///project/ace/yamuna/ior_file
51 Server_Interceptor::send_reply
52 Server_Interceptor::receive_request_service_contexts
53 Server_Interceptor::receive_request
54 Request from Distributable Thread
56 Two-Way Message = file:///project/ace/yamuna/ior_file
57 Server_Interceptor::send_reply
58 Distributable Thread - 1 is cancelled
59 Server_Interceptor::receive_request_service_contexts
60 Server_Interceptor::receive_request
61 Invalid Service Request
62 Server_Interceptor::send_reply
67 Making a one-way request
68 Client_Interceptor::send_request
70 Client_Interceptor::receive_other
71 Making a two-way request
72 Client_Interceptor::send_request
73 Client_Interceptor::receive_exception
74 Received Exception IDL:omg.org/CORBA/THREAD_CANCELLED:1.0
75 Distributable Thread - 1 is cancelled
76 (8752|1024) EXCEPTION, Caught exception:
77 system exception, ID 'IDL:omg.org/CORBA/THREAD_CANCELLED:1.0'
78 TAO exception, minor code = 0 (unknown location; unspecified errno), completed = NO
79 Client_Interceptor::send_request
80 Client_Interceptor::receive_other