Hi,
I'm new to CORBA and I'm having a little trouble.
I've successfully created a remote interface and bound
the object to the nameserver (tnameserv).
I successfully find the context and entity in the
nameserver and resolve the object in the client.
However, when the client invokes any methods...that's
it. It just stops. Nothing happens. Java gets to the call
and then hangs. I've waited 15 minutes, nothing. No time
out, it just stops.
(To test this I can show that all statements up to the
remote invocation occur successfully. The invokation of
the local stub seems to cause the problem.)
At the time the server is running via a call to orb.run(),
and should simply respond.
Any ideas?
thanks!
Doug.
lizard43 - 19 Nov 2003 03:40 GMT
Hi Doug -
My reply is a few weeks after your post - I hope you've already found
the answer.
Your problem sounds like maybe the POA hasn't been activated. After
you get the POA, do you make an activate() call? Something like this:
// get the POA
org.omg.PortableServer.POA poa =
org.omg.PortableServer.POAHelper.narrow(
orb.resolve_initial_references("RootPOA"));
poa.the_POAManager().activate();
regards,
David
> Hi,
>
[quoted text clipped - 21 lines]
> thanks!
> Doug.