Discussion:
[omniORB] Remote call not accepted?
Steve Donovan
2007-02-27 18:09:29 UTC
Permalink
Hi guys,

I'm writing a C++ client using OmniORB to speak to a Java server. I
can make calls to the server object, but when I pass one of my objects
to the server, the server cannot complete a callback. When I kill the
client, the call finishes in the server.

The relevant trace follows:
omniORB: Accepted connection from giop:tcp:146.64.150.69:3354 because
of this rule: "* unix,ssl,tcp"
omniORB: inputMessage: from giop:tcp:146.64.150.69:3354 432 bytes
omniORB: 128 bytes out of 432
4749 4f50 0102 0000 0000 01a4 0000 0005 GIOP............
0300 0000 0000 0000 0000 000e fe9a 16e4 ................
4500 000c 9000 0000 0000 0001 0000 000c E...............
7265 6365 6976 6544 6174 6100 0000 0004 receiveData.....
0000 0011 0000 0002 0002 0000 0000 0001 ................
0000 000c 0000 0000 0001 0001 0001 0109 ................
4e45 4f00 0000 0002 0014 0002 0000 0006 NEO.............
0000 00aa 0000 0000 0000 0028 4944 4c3a ...........(IDL:
omniORB: Receive codeset service context and set TCS to
(ISO-8859-1,UTF-16)
omniORB: POA for root<0> (active) in HOLDING state; waiting...

Anything ring a bell? I'm using 4.1.0, with the Java 1.6 SDK.

It doesn't _look_ like an error, but my method isn't called....

thanks,
steve donovan.
--
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.

CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html

CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html

For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
***@csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
Duncan Grisby
2007-02-27 20:04:23 UTC
Permalink
Post by Steve Donovan
I'm writing a C++ client using OmniORB to speak to a Java server. I
can make calls to the server object, but when I pass one of my objects
to the server, the server cannot complete a callback. When I kill the
client, the call finishes in the server.
[...]
Post by Steve Donovan
omniORB: POA for root<0> (active) in HOLDING state; waiting...
As the message says, the POA is in the holding state, so it's holding
your call. You need to call activate() on the POA's POAManager.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Steve Donovan
2007-02-27 20:15:37 UTC
Permalink
Thanks, Duncan! A few very crucial lines missing ;)

Curiously enough, it works fine _one way_!!

steve d.
Post by Steve Donovan
I'm writing a C++ client using OmniORB to speak to a Java server. I
can make calls to the server object, but when I pass one of my
objects
Post by Steve Donovan
to the server, the server cannot complete a callback. When I kill the
client, the call finishes in the server.
[...]
Post by Steve Donovan
omniORB: POA for root<0> (active) in HOLDING state; waiting...
As the message says, the POA is in the holding state, so it's holding
your call. You need to call activate() on the POA's POAManager.

Cheers,

Duncan.
--
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.

CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html

CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html

For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
***@csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
Continue reading on narkive:
Loading...