Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / CORBA / November 2003

Tip: Looking for answers? Try searching our database.

COBRA just stops on remote invocation...

Thread view: 
Doug - 31 Oct 2003 00:01 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.