Re: IOR Repository ID Miss Match ref: ORBit-0.5.17 not working with MICO 2.3.7?
- From: <dahaverk rockwellcollins com>
- To: alex anvil co uk
- Cc: dahaverk rockwellcollins com, michael ximian com,orbit-list gnome org
- Subject: Re: IOR Repository ID Miss Match ref: ORBit-0.5.17 not working with MICO 2.3.7?
- Date: Tue, 30 Jul 2002 08:43:26 -0500
I should have looked at this message first. :-) We did some more
looking this AM and what we are doing is including the CosNaming.IDL and it
has a Pragma Prefix "omg.org" in it. We ended up doing exactly what was
suggested here to fix the problem.
This does bring to mind... What should the expected behavior be for an
included IDL file that has a #pragma prefix in it... Should the scope be
the included file only? Maybe later this week I'll peruse the related
sections in the OMG spec and see if it has any guidance.
Aparently MICO and JacORB have limited the scope of a pragma prefix to the
file it is in since we didn't have this problem with them.
-Dave
On Mon, 2002-07-29 at 21:06, dahaverk@rockwellcollins.com wrote:
>
>
> Why does the ORBit Repository ID not match the MICO Repository ID?
>
> At this point I am making the assumption ORBit is wrong.... especially
> since the IOR profile is wrong when I trace a MICO client attempted
connect
> to a ORBit server.
>
> Thanks,
>
> Dave Haverkamp
>
> ________________________
>
> decode of ORBit IOR:
>
> Repo Id: IDL:omg.org/MyIDLmodulename/ADSDataItem:1.0
>
> [snip]
>
> Mico Narrow is looking for this repoid:
>
> IDL:MyIDLmodulename/ADSDataItem:1.0
Looks like a bug in the preprocessing of IDL in ORBit.
I think a #pragma prefix "omg.org" from the ORB idls is leaking into
your IDL. A quick fix may be to place
#pragma prefix ""
after the includes but before any decls in your IDL.
TAO had a similar bug in pragma handling - a pragma prefix should really
only affect the file it is in, not all files that include it.
Cheers,
Alex.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]