Skip to main content
Summary How to avoid common mistakes made when enabling snoop logging
Article Number 13760
Environment Orbix 6.x
All Supported Operating Systems
Question/Problem Description Common Problems When Enabling GIOP Snoop logging
Problem configuring GIOP Snoop logging
GIOP Snoop logging configured, but not present
Error "could not resolve initial reference" when snoop logging is configured
Error "" when snoop logging is configured
"IT_GIOP:SERVER_BINDING_LIST_UNKNOWN_FACTORY" exception when snoop logging is configured

Clarifying Information  
Error Message  
Defect/Enhancement Number  
Cause  
Resolution

 

The GIOP snoop plug-in allows GIOP segments to be traced as they pass to and from Orbix applications.
 
Below is a selection points to look out for when configuring Snoop logging, along with their corresponding error messages. Please note: Most of these error messages will only be printed if the logging sub-system is enabled.
 
 
# The "giop_snoop" plug-in must be placed between the "giop" and "iiop" plug-ins in the ORB plug-in list.
 
 orb_plugins = [... "giop", "giop_snoop", "iiop" ...];
 
Failing to do so will result in an "InvalidNAme" exception, similar to the following:
 
  (IT_CORE:200) E - could not resolve initial reference for IT_GIOP_ServerFactoryManager: not registered or configured
  Unexpected CORBA exception: InvalidName (IDL:omg.org/CORBA/ORB/InvalidName:1.0)
  Server exiting
 
 
# The GIOP_SNOOP factory must be listed before the "GIOP IIOP" binding in the client-side bindings list. Failing to do so will produce no additional output from the GIOP snoop plug-in.
 
  binding:client_binding_list = [... "GIOP GIOP_SNOOP IIOP", "GIOP IIOP" ...];
 
 
# Similarly, the GIOP_SNOOP factory must be listed before the "GIOP" binding in the server-side bindings list. Failing to do so will produce no additional output from the GIOP snoop plug-in.
 
  plugins:giop:message_server_binding_list = [... "GIOP_SNOOP GIOP", "GIOP" ...];
 
 
# If the GIOP Snoop plug-in configuration settings are made in the global scope, please ensure the corresponding configuration adjustments have also been made in the "iona_services" scope. Typically, the orb_plugins configuration variable is redefined within the services' scope and does not include the giop_snoop plug-in by default.
 
  If the GIOP Snoop plug-in configuration settings are made in the global scope, and overridden in a lower scope, the following error would be reported:
 
  (IT_GIOP:32) ? - The GIOP server side message interceptor factory 'GIOP_SNOOP' specified in configuration setting
 'plugins:giop:message_server_binding_list' is unknown.
 Unexpected CORBA exception: IDL:omg.org/CORBA/INITIALIZE:1.0: minor = 0x49540201
 (IT_GIOP:SERVER_BINDING_LIST_UNKNOWN_FACTORY), completion status = NO
 Server exiting


For more information on Snoop logging, please see the Orbix Administrator's Guide.
Workaround  
Notes Orbix 6 Product Documentation:
http://supportline.microfocus.com/productdoc.aspx (select CORBA Middleware)
Direct Link:
http://supportline.microfocus.com/Documentation/Orbix/Orbix636.htm
Attachment  
Created date: 06 September 2011
Last Modified: 12 February 2013
Last Published: 28 August 2012
First Published date: 09 September 2011

#Orbix
#KnowledgeDocs