summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB_Core.cpp')
-rw-r--r--TAO/tao/ORB_Core.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index 3b7089d28aa..658135a32b8 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -1072,7 +1072,17 @@ TAO_ORB_Core::init (int &argc, char *argv[] )
arg_shifter.consume_arg ();
}
+ else if (0 != (current_arg = arg_shifter.get_the_parameter
+ (ACE_TEXT("-ORBForwardInvocationOnObjectNotExist"))))
+ {
+ int forward = ACE_OS::atoi (current_arg);
+ if (forward)
+ this->orb_params_.forward_invocation_on_object_not_exist (true);
+ else
+ this->orb_params_.forward_invocation_on_object_not_exist (false);
+ arg_shifter.consume_arg ();
+ }
////////////////////////////////////////////////////////////////
// catch any unknown -ORB args //
////////////////////////////////////////////////////////////////
@@ -1121,7 +1131,7 @@ TAO_ORB_Core::init (int &argc, char *argv[] )
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("ERROR: Environment variable ")
ACE_TEXT ("TAO_ORBENDPOINT set to invalid value ")
- ACE_TEXT ("<%s>.\n"),
+ ACE_TEXT ("<%C>.\n"),
env_endpoint));
}