Runtime parameters

The following parameters can be passed to ADORB at runtime or defined in the Defaults system.

-trace YES - turns on tracing of the incoming and outgoing calls. By default tracing is off.
-ORBListenerPort <port-number> - specifies the port number for the server. By default the port is assigned by the system
-ORBNamingIOR <IOR> - specifies the Naming Service’s IOR. If no IOR for the Naming service is specified ADORB does not connect to the Naming Service.
-ORBNamingIORF <ior-file> - specifies the file path that contains the Naming Service’s IOR
-ORBNamingAddr <host> : <port> - specifies the host and the port of the Naming Service. If <host> is omitted then localhost is assumed
-ORBNamingURL <Corba URL> - specifies the CORBA URL of the Naming Service.
-ORBidl <idl-paths> - specifies the IDL files to be parsed in the colon separated idl-paths. All the idl files specified in the #include or #import directives in the provided files will be parsed too. For simplicity, a dedicated idl file can be created that imports all the needed idl files.
The idl files can be parsed programmatically as well.
-ORBidlpath <idl-search-paths> - specifies the directories to search for IDL files in the colon separated idl-search-paths.
-defaultIIOPVersion <version> - specifies the default GIOP version version to use when creating the local objects. The version specifies the major and minor versions separated by the dot, for example 1.2. For the remote object references the IIOP version is taken from IOR.
-giop_max_minor <version> - specifies the maximum minor GIOP version version to use. The default value is 2.
-allowsIndirection NO - tells the framework not to use indirection when marshaling recursive and repeated TypeCodes. By default the framework uses indirection. Some ORB may not support indirection, so this parameter allows to disable it.
-ORBAllowsUndefinedKeys YES- tells the framework to ignore NSUndefinedKeyException during marshaling and un-marshaling requests/responses.
-debug options-string - Enables logging debug information. The following options are recognized:
  • 's' - log the being sent messages.
  • 'r' - log the being received messages.
  • 'S' - print invocation when sent (in and inout arguments only)
  • 'R' - print invocation after completed (out argumets and return value added and inout arguments updated)
  • 'V' - trace decoding