Discussion:
[omniORB] running examples
dhanya v
2009-01-30 12:00:56 UTC
Permalink
Dear All,

I am newbie omniORB user. I downloaded and compiled latest version of
omniORB on my Vista os. And made changes in the registry as suggested.

When I try to run my first example I get following error:
C:\Users\Public\tools\omniORB\omniORB-4.1.3\src\examples\anyExample>anyExample_impl.exe
omniORB: ORB_init failed: Bad parameter () for ORB configuration option
InitRef, reason: Invalid argument, expect <ObjectID>=<ObjectURI> Caught
CORBA::INITIALIZE

What argument I need to pass?

Also direct me to documentation for running all other examples as well.

thanks and regards,
Vishnu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20090130/5a496172/attachment.htm
Martin Trappel
2009-01-30 13:13:43 UTC
Permalink
Post by dhanya v
Dear All,
I am newbie omniORB user. I downloaded and compiled latest version of
omniORB on my Vista os. And made changes in the registry as suggested.
C:\Users\Public\tools\omniORB\omniORB-4.1.3\src\examples\anyExample>anyExample_impl.exe
omniORB: ORB_init failed: Bad parameter () for ORB configuration option
InitRef, reason: Invalid argument, expect <ObjectID>=<ObjectURI> Caught
CORBA::INITIALIZE
What argument I need to pass?
You don't need to pass any argument, you need to correct/update the
registry entries.

What do you have in: HKEY_LOCAL_MACHINE\SOFTWARE\omniORB\InitRef ?
I have:
"0" (String) set to: "NameService=corbaname::localhost"

br,
Martin
dhanya v
2009-01-30 14:42:38 UTC
Permalink
Dear Martin,

For HKEY_LOCAL_MACHINE\SOFTWARE\omniORB\InitRef
I have two entries
1. Default (Name) REZ_SZ (Type) value not set (Data)
2. 0 (Name) REZ_SZ (Type) "NameService=corbaname::localhost" (Data)

But I still get same error.

regards,
Vishnu
Post by Martin Trappel
Post by dhanya v
Dear All,
I am newbie omniORB user. I downloaded and compiled latest version of
omniORB on my Vista os. And made changes in the registry as suggested.
C:\Users\Public\tools\omniORB\omniORB-4.1.3\src\examples\anyExample>anyExample_impl.exe
omniORB: ORB_init failed: Bad parameter () for ORB configuration option
InitRef, reason: Invalid argument, expect <ObjectID>=<ObjectURI> Caught
CORBA::INITIALIZE
What argument I need to pass?
You don't need to pass any argument, you need to correct/update the
registry entries.
What do you have in: HKEY_LOCAL_MACHINE\SOFTWARE\omniORB\InitRef ?
"0" (String) set to: "NameService=corbaname::localhost"
br,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20090130/61f148cd/attachment.htm
Loading...