[omniORB] connect omniorb and visibroker

Heinrich Götzger Heinrich.Goetzger@exploding-systems.de
Sat Aug 24 00:15:01 2002


Steve,

thanks a lot, it works just as you adviced. I can see it all working in
the debug output.

The example isn't running even so because of some errors:
org.omg.CORBA.BAD_PARAM:   minor code: 0  completed: No
        at EchoHelper.narrow(EchoHelper.java:37)
        at EchoHelper.narrow(EchoHelper.java:16)
        at Client.main(Client.java:17)

But I try to figure this one tomorrow. If I fail I'll start a new thread
;-)

One question remains, where can I find information like this (naming
service issues using differrent ORBS, all these ORBInitRef variables and
so on) in a book or on the web?

regards

Heinrich

On Fri, 23 Aug 2002, Brenneis, Steve wrote:

> Heinrich,
>
> The osagent is a proprietary extension of VisiBroker. No other ORB is
> cognizant of it and I always recommend to VisiBroker users that they refrain
> from using it. You will need to pass in to VisiBroker the URI of the omniORB
> name server (corbaname URIs seem to work best when using VisiBroker and
> omniORB together). Vis:
>
> -VBJprop ORBInitRef=NameService=corbaname::somehost.somewhere.com:2809
>
> Remember that VisiBroker doesn't know the IANA port number for the name
> service so you have to specify.
>
> You can verify that omniNames is reachable with the VisiBroker name service
> utility:
>
> nsutil -VBJprop
> ORBInitRef=NameService=corbaname::somehost.somewhere.com:2809 list
>
> This should list any bindings in the name service default context.
>
> Good luck,
>
> Steve Brenneis
>
> > -----Original Message-----
> > From: Heinrich Götzger [mailto:Heinrich.Goetzger@exploding-systems.de]
> > Sent: Friday, August 23, 2002 10:28 AM
> > To: omniORB list
> > Subject: RE: [omniORB] connect omniorb and visibroker
> >
> >
> > Ok, I try to more specific. Sorry.
> >
> > Running OmniOrb 3.0.5 and using it's NameService for my application
> > server.
> >
> > VisiBroker:
> > /vbver -V ./osagent
> > Information for:        ./osagent
> > Version:                05.01.00.C1.10
> >
> > Java:
> > java version "1.3.0"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
> > Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)
> >
> > So what I try is following:
> > running eg3_impl as the echo Server and having a java client
> > working like
> > eg3_clt.cc as echo client.
> >
> > Starting omninames and the eg3_impl server is ok
> >
> > But now I'm in a trial and error state
> >
> > Do I need osagent, which parameters are neccessary?
> > How about nameserv?
> > And finally the URI ...hmm, I have no idea.
> >
> >
> > thanks
> >
> > Heinrich
> >
> >
> > On Fri, 23 Aug 2002, Brenneis, Steve wrote:
> >
> > > Heinrich,
> > >
> > > Are you using the VisiBroker or the omniORB name service?
> > Which version of
> > > VisiBroker are you using? Which version of Java are you
> > using? Are you using
> > > the CORBA name service API or are you using the
> > javax.naming API? What is
> > > the URI you are using to specify the name service?
> > >
> > > > -----Original Message-----
> > > > I try to connect a Java client using visibroker to a C++
> > server using
> > > > OmniORB by using the NameService. But due to some knowledge lacks
> > > > concerning name service this seems not obviously to me.
> > > >