Re: java binding for orb



--- Frank Rehberger <Frank.Rehberger@web.de> wrote:
> mas wrote:
> 
> >Hi,
> >
> >Does anyone happen to know where I can find a java
> >binding for ORBit2? I'm trying to integrate some
> Jini
> >stuff with the GnomeDesktop and Sun's default Orb
> >implementation is complaining about connecting with
> >ORBit2 in Gnome.
> >
> please attach error message.

Here's what I get:

org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code:
201  completed: No
        at
com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148)
        at
com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65)
        at
com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67)
        at
com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652)
        at
com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:594)
        at
com.sun.corba.se.internal.corba.InitialNamingClient.getInitialServices(InitialNamingClient.java:997)
        at
com.sun.corba.se.internal.corba.InitialNamingClient.cachedServices(InitialNamingClient.java:967)
        at
com.sun.corba.se.internal.corba.InitialNamingClient.list_initial_services(InitialNamingClient.java:925)
        at
com.sun.corba.se.internal.corba.ORB.list_initial_services(ORB.java:2414)
        at
com.kiribi.tools.Kauai.<init>(Kauai.java:57)
        at com.kiribi.tools.Kauai.main(Kauai.java:136)


I'm pretty sure I'm not configuring things correctly.
If you have an example .orbitrc file and corresponding
entries I should use in org.com.CORBA.ORB.init, I'd be
extremely grateful :) I'd really like the get the
following to work (and I've been trying several
variations on the following init params with no luck)

String[] arg = {"-ORBInitialPort", "900",
"-ORBInitialHost", "localhost"};
props.put("ORBInitialPort", "900");
props.put("ORBInitialHost", "localhost");
org.omg.CORBA.ORB orb =
org.omg.CORBA_2_3.ORB.init(arg, props);
System.out.println("Orb Test:
"+orb.resolve_initial_references("NameService"));

This is what my .orbitrc file looks like:

ORBIIOPIPv4=1
ORBIIOPIPv6=1
ORBIIOPUNIX=0
ORBIIOPIrDA=0

My environment is RedHat 8.0 with Sun's j2sdk1.4.2

Thanks :)
  - Mike

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]