• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Completed maybe

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CORBA Exception: completed maybe.
What exactly does it mean when a CORBA calls completion status is maybe, and what causes this.
 
Author
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CORBA synchronous invocations consist of matched Request/Reply messages that travel back and forth across the network. If a client sends a Request but never receives the matching Reply, it cannot determine the completion status of the invocation.
For example, if a client makes a remote invocation on a server and the server crashes before sending the matching Reply, the ORB raises a CORBA system exception with status COMPLETED_MAYBE on the client side.
------------------
Fintan Bolton
Author of Pure Corba
 
Chris Huisman
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply. I have experienced this problem in a different manner though. A NullPointerException on the server caused the ORB to raise a COMPLETED_MAYBE exception. Can you explain this too me?
 
Fintan Bolton
Author
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Chris,

Originally posted by Chris Huisman:
Thanks for the reply. I have experienced this problem in a different manner though. A NullPointerException on the server caused the ORB to raise a COMPLETED_MAYBE exception. Can you explain this too me?


I guess you mean that you encountered a NullPointerException in the midst of a method that implements an IDL operation. If the exception is allowed to propagate up to the ORB level, the ORB should convert it into a CORBA system exception of type CORBA::UNKNOWN with completion status COMPLETED_MAYBE. The completion status is set to COMPLETED_MAYBE because the ORB has no way of knowing whether or not the NullPointerException prevented your IDL operation from running to completion.
I hope this explains it!
------------------
Fintan Bolton
Author of Pure Corba
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic