[omniORB] Trouble getting omniORB 4.0.4 server and JavaORB 2.2.7 client running

Diez B. Roggisch deets at web.de
Tue Nov 16 15:11:30 GMT 2004


Hi,

I'm trying to access my omniORB 4.0.4 based server using JavaORB. What works 
so far is to obtain a initial reference to the omninames service, and get a 
reference to my bound object "Authenticator". I can call a method on that, 
which returns me a DomainManager instance. Then I get a list of domain names 
from that, works too.

But when I try to get a domain by a name, things fail on the clientside with 

org.omg.CORBA.COMM_FAILURE:   vmcid: 0x0  minor code: 0 completed: Maybe
    [junit] org.omg.CORBA.COMM_FAILURE:   vmcid: 0x0  minor code: 0 completed: 
Maybe
    [junit]     at 
JavaORB.iiop.ClientStackIIOP.receive(ClientStackIIOP.java:131)
    [junit]     at JavaORB.iiop.ClientStackIIOP.read(ClientStackIIOP.java:176)
    [junit]     at 
JavaORB.iiop.ClientConnectionIIOP.readBuffer(ClientConnectionIIOP.java:2275)
    [junit]     at 
JavaORB.iiop.ClientConnectionIIOP.receiveReply(ClientConnectionIIOP.java:1900)
    [junit]     at 
JavaORB.iiop.ClientConnectionIIOP.invoke(ClientConnectionIIOP.java:843)
    [junit]     at JavaORB.CORBA.portable.Delegate.invoke(Delegate.java:1145)
    [junit]     at 
org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    [junit]     at 
de.ehotel.omphalos._DomainManagerStub.get(_DomainManagerStub.java:65)

In my server logs appear these lines:

omniORB: From endpoint: giop:tcp:192.168.1.3:35389. Detected GIOP 1.2 protocol 
error in input 
message. ../../../../../src/lib/omniORB/orbcore/giopImpl12.cc:789. Connection 
is closed.


Any idea what goes wrong? The same service works with omniORB only, so I don't 
think thats an application problem.

Regards,

Diez B. Roggisch



More information about the omniORB-list mailing list