http://www.qsyssoft.com/machaxor/?p=7
3) The last issue, might occur when you run your new project. If you get errors like "No usable profile in IOR" Then you will need to check your /etc/hosts file. Make sure the line "127.0.0.1 localhost" also has the name of your machine on the line.
ie. 127.0.0.1 localhost <mymachinename>
This is bogus advice. localhost must be only the internal interface (not
visible to any other machine); your network-connected machine needs its
own line in /etc/hosts.
But the problem is likely a discrepency between /etc/hosts or DNS on the
two machines you are trying to use. You can debug this by looking at
what the server machine thinks its name is:
$ host my_ip_address
and then comparing that to what your client machine thinks:
$ host my_server_machine_name
Another check to make is what the server machine is advertising in the
IOR, either by using nslist or by using tao_catior. Things need to match up!
A workaround is to use the "-ORBDottedDecimalAddresses 1" option on the
server.
hth
- Tom
What was the result? Without details we can not help.
> 2. Method
> Another check to make is what the server machine is advertising in the
> IOR, either by using nslist or by using tao_catior. Things need to match up!
> --> I copied the IOR file from server location which is in RHEL5 and
> placing the same IOR in my client where my client is
> running(Ubuntu),Still this is not working.
This still indicates a naming problem. So you are using an IOR file? But
if you had not copied the file earlier then how was the client getting
the IOR? And copying an IOR file with problematic host names will still
have problematic host names; you need to examine the *contents* of the
IOR file using tao_catior then compare the host name published by the
server with host names available to the client. Again, without details
on what you actually see we can not help.
> 3. Method
> A workaround is to use the "-ORBDottedDecimalAddresses 1" option on the
> server.
> --> I am sorry to say I could not understand method what you explained
> above.
If your server machine is written in TAO then your arguments to
CORBA::ORB_init() can contain the above as strings. If your program
accepts command line arguments which are then given to CORBA::ORB_init()
then put the above arguments on your command line.
> So i am requesting is there any other clue to proceed further ?
See above. But without the *results* of diagnostic steps we cannot help
further.
- Tom