radamkie at kdm.pl ()
2007-02-06 20:00:40 UTC
Hi,
Question: is it possible to register object in Name Server, that after
resolving reference to this object with nameclt and catior it has an IP
in "Profiles:" section. Example:
I was started omniNames and one object was registered in it.
At first I try to generate IOR to NS
[***@host ~]$ genior "IDL:omg.org/CosNaming/NamingContextExt:1.0"
10.10.10.25 2809 "NameService"
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000060000000010102000c00000031302e31322e31372e393500f90a00000b0000004e616d6553657276696365000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
Then I list objects registered in NS by using generated IOR
[***@host ~]$ nameclt -ior
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000060000000010102000c00000031302e31322e31372e393500f90a00000b0000004e616d6553657276696365000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
list
Object1
Then I try get the IOR reference to the Object1
[***@host ~]$ nameclt -ior
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000060000000010102000c00000031302e31322e31372e393500f90a00000b0000004e616d6553657276696365000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
resolve Object1
IOR:010000002700000049444c3a6f72672f63736170692f63732f49704368617267696e674d616e616765723a312e300000010000000000000074000000010102001c0000006b6f6e646f722d727472342d73632e63656e74657274656c2e706c00c9af00000e000000fe7695c04500005a1e000000000000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
And at the end, I resolve IOR reference to the Object1 by using catior
[***@host ~]$ catior.omni
IOR:010000002700000049444c3a6f72672f63736170692f63732f49704368617267696e674d616e616765723a312e300000010000000000000074000000010102001c0000006b6f6e646f722d727472342d73632e63656e74657274656c2e706c00c9af00000e000000fe7695c04500005a1e000000000000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
Type ID: "IDL:Object1:1.0"
Profiles:
1. IIOP 1.2 host.mydomain.com. 50001 ".v..E..Z......"
TAG_ORB_TYPE omniORB
TAG_CODE_SETS char native code set: ISO-8859-1
char conversion code set: UTF-8
wchar native code set: UTF-16
wchar conversion code set: UTF-16
The problem is that I would like to receive a result with IP (no with DNS
name), like this:
Type ID: "IDL:Object1:1.0"
Profiles:
1. IIOP 1.2 10.10.10.25 50001 ".v..E..Z......"
TAG_ORB_TYPE omniORB
TAG_CODE_SETS char native code set: ISO-8859-1
char conversion code set: UTF-8
wchar native code set: UTF-16
wchar conversion code set: UTF-16
because the client application has problems with dns name resolving.
Thanks for any help.
Regards
R.
Question: is it possible to register object in Name Server, that after
resolving reference to this object with nameclt and catior it has an IP
in "Profiles:" section. Example:
I was started omniNames and one object was registered in it.
At first I try to generate IOR to NS
[***@host ~]$ genior "IDL:omg.org/CosNaming/NamingContextExt:1.0"
10.10.10.25 2809 "NameService"
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000060000000010102000c00000031302e31322e31372e393500f90a00000b0000004e616d6553657276696365000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
Then I list objects registered in NS by using generated IOR
[***@host ~]$ nameclt -ior
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000060000000010102000c00000031302e31322e31372e393500f90a00000b0000004e616d6553657276696365000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
list
Object1
Then I try get the IOR reference to the Object1
[***@host ~]$ nameclt -ior
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000060000000010102000c00000031302e31322e31372e393500f90a00000b0000004e616d6553657276696365000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
resolve Object1
IOR:010000002700000049444c3a6f72672f63736170692f63732f49704368617267696e674d616e616765723a312e300000010000000000000074000000010102001c0000006b6f6e646f722d727472342d73632e63656e74657274656c2e706c00c9af00000e000000fe7695c04500005a1e000000000000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
And at the end, I resolve IOR reference to the Object1 by using catior
[***@host ~]$ catior.omni
IOR:010000002700000049444c3a6f72672f63736170692f63732f49704368617267696e674d616e616765723a312e300000010000000000000074000000010102001c0000006b6f6e646f722d727472342d73632e63656e74657274656c2e706c00c9af00000e000000fe7695c04500005a1e000000000000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
Type ID: "IDL:Object1:1.0"
Profiles:
1. IIOP 1.2 host.mydomain.com. 50001 ".v..E..Z......"
TAG_ORB_TYPE omniORB
TAG_CODE_SETS char native code set: ISO-8859-1
char conversion code set: UTF-8
wchar native code set: UTF-16
wchar conversion code set: UTF-16
The problem is that I would like to receive a result with IP (no with DNS
name), like this:
Type ID: "IDL:Object1:1.0"
Profiles:
1. IIOP 1.2 10.10.10.25 50001 ".v..E..Z......"
TAG_ORB_TYPE omniORB
TAG_CODE_SETS char native code set: ISO-8859-1
char conversion code set: UTF-8
wchar native code set: UTF-16
wchar conversion code set: UTF-16
because the client application has problems with dns name resolving.
Thanks for any help.
Regards
R.