|
From: Alastair B. <a.g...@du...> - 2008-11-18 14:13:04
|
Hi,
I'm still having problems getting the messenger example to run:
Here is what I get:
$DDS_ROOT/bin/DCPSInfoRepo -ORBSvcConf tcp.conf -o repo.ior
(7715|47292643508304)INFO: not using file configuration - no configuration
file specified.
$ACE_ROOT/bin/catior -f repo.ior
reading the file repo.ior
here is the IOR
IOR:010000001e00000049444c3a4f70656e4444532f444350532f44435053496e666f3a312e3000000002000000000000008800000001010200120000006366616935372e636661692e6c6f63616c009ae73400000014010f004e5550000000190000000001000000526f6f74504f4100496e666f5265706f000000000001000000496e666f5265706f02000000000000000800000001000000004f415401000000180000000100000001000100010000000100010509010100000000000000000088000000010102000f0000006d6163312e6769672e6c6f63616c00619ae79ae73400000014010f004e5550000000190000000001000000526f6f74504f4100496e666f5265706f000000000001000000496e666f5265706f02000000000000000800000001000000004f41540100000018000000010000000100010001000000010001050901010000000000
decoding an IOR:
The Byte Order: Little Endian
The Type Id: "IDL:OpenDDS/DCPS/DCPSInfo:1.0"
Number of Profiles in IOR: 2
Profile number: 1
IIOP Version: 1.2
Host Name: cfai57.cfai.local
Port Number: 59290
Object Key len: 52
Object Key as hex:
14 01 0f 00 4e 55 50 00 00 00 19 00 00 00 00 01
00 00 00 52 6f 6f 74 50 4f 41 00 49 6e 66 6f 52
65 70 6f 00 00 00 00 00 01 00 00 00 49 6e 66 6f
52 65 70 6f
The Object Key as string:
....NUP............RootPOA.InfoRepo.........InfoRepo
The component <1> ID is 0 (TAG_ORB_TYPE)
ORB Type: 0x54414f00 (TAO)
The component <2> ID is 1 (TAG_CODE_SETS)
Component length: 24
Component byte order: Little Endian
Native CodeSet for char: Hex - 10001 Description - ASCII
Number of CCS for char 1
Conversion Codesets for char are:
1) Hex - 5010001 Description - Unknown CodeSet
Native CodeSet for wchar: Hex - 10109 Description - Unicode
Number of CCS for wchar 0
Profile number: 2
IIOP Version: 1.2
Host Name: mac1.gig.local
Port Number: 59290
Object Key len: 52
Object Key as hex:
14 01 0f 00 4e 55 50 00 00 00 19 00 00 00 00 01
00 00 00 52 6f 6f 74 50 4f 41 00 49 6e 66 6f 52
65 70 6f 00 00 00 00 00 01 00 00 00 49 6e 66 6f
52 65 70 6f
The Object Key as string:
....NUP............RootPOA.InfoRepo.........InfoRepo
The component <1> ID is 0 (TAG_ORB_TYPE)
ORB Type: 0x54414f00 (TAO)
The component <2> ID is 1 (TAG_CODE_SETS)
Component length: 24
Component byte order: Little Endian
Native CodeSet for char: Hex - 10001 Description - ASCII
Number of CCS for char 1
Conversion Codesets for char are:
1) Hex - 5010001 Description - Unknown CodeSet
Native CodeSet for wchar: Hex - 10109 Description - Unicode
Number of CCS for wchar 0
catior returned true
./publisher -ORBSvcConf tcp.conf -DCPSConfigFile pub.ini
(7736|46983677620864) EXCEPTION, ERROR: System Exception in
DomainParticipantFactoryImpl::create_participant
system exception, ID 'IDL:omg.org/CORBA/TRANSIENT:1.0'
OMG minor code (2), described as 'No usable profile in IOR.', completed =
NO
create_participant failed.
Can anyone suggest what is wrong? Or if there is an even simpler example
that I could try first...
Thanks...
|