Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ace-users] Error -- "No usable profile in IOR "

2,289 views
Skip to first unread message

Sitansu

unread,
Jan 19, 2010, 8:37:04 AM1/19/10
to ace-...@list.isis.vanderbilt.edu
Hi All,

I am getting error while running my client in different host(ubuntu 9.10) where as my server is running in the rhel 5

This is the error while i am running in client.

(16666|3079145168) EXCEPTION, Exception caught:
system exception, ID 'IDL:omg.org/CORBA/TRANSIENT:1.0'
OMG minor code (2), described as 'No usable profile in IOR.', completed = NO

Here i refereed to the below site for changing the host file.I changed /etc/hosts as per given instruction still it is not working.

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>


Aspect the quick reply is appreciable.


Regards,
Sitansu

Thomas Lockhart

unread,
Jan 19, 2010, 10:36:15 AM1/19/10
to Sitansu, ace-...@list.isis.vanderbilt.edu
> I am getting error while running my client in different host(ubuntu
> 9.10) where as my server is running in the rhel 5
...

> 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

sch...@dre.vanderbilt.edu

unread,
Jan 19, 2010, 3:42:57 PM1/19/10
to Sitansu, ace-user...@list.isis.vanderbilt.edu, ace-...@list.isis.vanderbilt.edu
Hi,

Please use the problem report form so we know what version of TAO you are using.

Thanks,

Doug
Sent from my BlackBerry® smartphone with SprintSpeed

-----Original Message-----
From: Sitansu <sita...@gmail.com>
Date: Tue, 19 Jan 2010 19:07:04
To: <ace-...@list.isis.vanderbilt.edu>
Subject: [ace-users] Error -- "No usable profile in IOR "

_______________________________________________
ace-users mailing list
ace-...@list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/ace-users

Thomas Lockhart

unread,
Jan 20, 2010, 9:19:04 AM1/20/10
to Sitansu Sekhar Dash, Sitansu, Lockhart, Thomas G (388G), ace-...@list.isis.vanderbilt.edu
> Thanks for your suggestion. I tried the method as you said given below steps
> 1. Method

> $ host my_ip_address
> and then comparing that to what your client machine thinks:
> $ host my_server_machine_name
> -->> But still is not working the above way.

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

Sitansu Sekhar Dash

unread,
Jan 20, 2010, 3:44:30 AM1/20/10
to Thomas Lockhart, Sitansu, ace-...@list.isis.vanderbilt.edu
Hello Thomas,



Thanks for your suggestion. I tried the method as you said given below steps

1. Method

$ host my_ip_address

and then comparing that to what your client machine thinks:
$ host my_server_machine_name

-->> But still is not working the above way.

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.

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.



So i am requesting is there any other clue to proceed further ?


Sitansu
0 new messages