ACE+TAO Opensource Programming Addendum Ambidextrous with IORs
28 June 06:44
The endpoint is analytical to active any TAO account or aggregate client/server app. If you dont accumulation one, the absence endpoint is the multicast endpoint. This absence endpoint is declared as getting advantageous for apps area achievement isnt an issue, or for testing. That getting said, this columnist couldnt get the multicast IIOP endpoint to plan on a banal Linux FC4 system, even admitting the Linux arrangement swore that multicasting was up and running. I was able to verify the bug by active the multicast analysis app beneath the ACE framework analysis directory. To ensure that anyone account this is able to get tomething up and running, we will accordingly set up a applicant with the absolutely authentic endpoint of localhost.
There are two basal forms of this endpoint, there is the account commercial its services, and the applicant aggravating to acquisition a service. To create this altercation intuitive, we will accept that in anniversary example, a allotment account server is active and attainable from your analysis box. To get the allotment account started, try the following:
This should set up your allotment account on anchorage 12345 on the localhost interface. To analysis that this is up and working, try the following:
This should then aftermath the afterward output:
This shows that your allotment account is up and active , but advertisement no casework yet. To see what a account looks like, try the afterward command to alpha the accident account (which we will be using in after examples):
Now, if you run nslist again, you will see the afterward output:
Finally, we accept a alive set of servers we accept affiliated calm with IIOP endpoints. If you affix your audience and servers together, you will be using the aforementioned process... alpha the allotment server, possibly the accident account (or others) and then alpha in with your audience and servers. For linux, the humans associated with the ACE+TAO activity accept provided RPM bales with Software files advised to interract with linuxs cossack accessories which will alpha the allotment account (and the others) automatically.
There are two basal forms of this endpoint, there is the account commercial its services, and the applicant aggravating to acquisition a service. To create this altercation intuitive, we will accept that in anniversary example, a allotment account server is active and attainable from your analysis box. To get the allotment account started, try the following:
Naming_Service -ORBEndPoint iiop://localhost:12345 -ORBDaemon
This should set up your allotment account on anchorage 12345 on the localhost interface. To analysis that this is up and working, try the following:
nslist -ORBInitRef NameService=corbaloc:iiop:localhost:12345/NameService
This should then aftermath the afterward output:
Naming Service:
---------
This shows that your allotment account is up and active , but advertisement no casework yet. To see what a account looks like, try the afterward command to alpha the accident account (which we will be using in after examples):
CosEvent_Service -ORBInitRef NameService=corbaloc:iiop:localhost:12345/NameService -ORBDaemon
Now, if you run nslist again, you will see the afterward output:
Naming Service:
---------
CosEventService: item reference: Protocol: IIOP, Endpoint: 10.0.0.53:32802
Finally, we accept a alive set of servers we accept affiliated calm with IIOP endpoints. If you affix your audience and servers together, you will be using the aforementioned process... alpha the allotment server, possibly the accident account (or others) and then alpha in with your audience and servers. For linux, the humans associated with the ACE+TAO activity accept provided RPM bales with Software files advised to interract with linuxs cossack accessories which will alpha the allotment account (and the others) automatically.
|
Tags: service, client, server, programming, servers, start, linux, notes service, naming, endpoint, running, localhost, following, start, servers, nameservice, linux, client, server, multicast, , naming service, start the, localhost 12345, iiop localhost, ace tao, iiop localhost 12345, nameservice corbaloc iiop, corbaloc iiop localhost, following output naming, output naming service, orbinitref nameservice corbaloc, tao opensource programming, programming notes dealing, notes dealing with, dealing with iors, opensource programming notes, |
Also see ...
PermalinkArticle In : Computers & Technology - Programming