summaryrefslogtreecommitdiff
path: root/TAO/tao/Profile.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-04-10 19:39:16 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-04-10 19:39:16 +0000
commit809c08ee92203ee0459ab2c87494067a5db64e5b (patch)
tree3cca8722378965014a81729f3cb8c0732efb611f /TAO/tao/Profile.cpp
parentd38ed05b84b3197d2db67a9c4d4e16fe25151dc7 (diff)
downloadATCD-809c08ee92203ee0459ab2c87494067a5db64e5b.tar.gz
ChangeLogTag:Tue Apr 10 12:37:38 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/Profile.cpp')
-rw-r--r--TAO/tao/Profile.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/TAO/tao/Profile.cpp b/TAO/tao/Profile.cpp
index 8df902622a0..5dfcfef48ce 100644
--- a/TAO/tao/Profile.cpp
+++ b/TAO/tao/Profile.cpp
@@ -255,16 +255,18 @@ TAO_Profile::verify_orb_configuration (CORBA::Environment &ACE_TRY_ENV)
{
// If the ORB isn't configured to support tagged components, then
// throw an exception.
- if (this->orb_core_->orb_params ()->std_profile_components () == 0)
+ if (this->orb_core_->orb_params ()->std_profile_components () == 0
+ || !this->orb_core_->orb ()->_use_omg_ior_format ())
{
if (TAO_debug_level > 0)
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("(%P|%t) Cannot add ")
ACE_TEXT ("IOP::TaggedComponent to profile.\n")
- ACE_TEXT ("(%P|%t) Standard profile components")
- ACE_TEXT ("have been disabled.\n")
- ACE_TEXT ("(%P|%t) Try")
- ACE_TEXT ("\"-ORBStdProfileComponents 1\"\n")));
+ ACE_TEXT ("(%P|%t) Standard profile components ")
+ ACE_TEXT ("have been disabled or URL style IORs\n")
+ ACE_TEXT ("(%P|%t) are in use. Try ")
+ ACE_TEXT ("\"-ORBStdProfileComponents 1\" and/or\n")
+ ACE_TEXT ("(%P|%t) \"-ORBObjRefStyle IOR\".\n")));
// According to the Portable Interceptor specification, we're
// supposed to throw a CORBA::BAD_PARAM exception if it isn't