The commcfg.ini file provides the following users the ability to override the generated communication type and communications parameters at the time a given flow is executed.
#
# CA Gen
# Copyright (c) 2013 CA. All rights reserved.
#
# commcfg.ini - Communications configuration file for cooperative clients.
#
# This file should be modified to associate TRANCODEs with the locations of
# the target cooperative servers. It can also be used to control some runtime
# behaviors of cooperative client runtimes.
#
# Refer to the FILE LOCATION and MULTIPLE OVERRIDE SUPPORT section below for
# possible locations and overrides of this file
#
############## TRANCODES #################
#
# To associate TRANCODEs with hosts, an entry must exist in this file to point
# to the associated host. The format of a line within this file is dependant
# on what communication type will be used. <...> is required, {...} is optional.
# For TCP/IP the format is:
# <TRANCODE> TCP <host> <service/port> {connection_persistence}
# connection_persistence: optional, controlled by client runtime
# Not Specified - for persistent connection
# 'Y' - for persistent connections
# 'N' - for non persistent connections
# For IMS TCP/IP Direct Connect the format is:
# <TRANCODE> ITP <host> <service/port> {connection_persistence}
# connection_persistence: optional, controlled by client runtime
# Not Specified - for persistent connection
# 'Y' - for persistent connections
# 'N' - for non persistent connections
# For MQSeries (MQS) the format is:
# <TRANCODE> MQS <Queue Name> <Queue Manager> {Reply Queue Name}
# For MQSeries (MQI-client) the format is:
# <TRANCODE> MQSC <Queue Name> <Queue Manager> {Reply Queue Name}
# For ECI the format is: (Use the ECI exit to control the system, hostName, portNumber)
# <TRANCODE> ECI <ECI System Name> {hostName} {portNumber}
# For Client Manager the format is:
# <TRANCODE> CM
# For EJBRMI, the format is:
# <TRANCODE> EJBRMI {Initial Factory Class} {Name Manager URL}
# For NET the format is:
# <TRANCODE> NET <hostName> <portNumber> <protocolCode>
# protocolCode can be : 'S' for Http/Soap
# 'B' for Http/Binary
# For Web Services the format is:
# <TRANCODE> WS <baseURL> <contextType>
# baseURL: Scheme, Domain and Port of a Web Service end point URL
# ex: http://<hostname>:CA Portal
# contextType: part of the path of a Gen Web Service end point URL
# 'P' to use ProcedureStep Name (with WebLogic)
# 'L' to use LoadModule Name (everywhere else)
#
# It is possible to declare "wild-card" style TRANCODEs. This is
# accomplished by ending the TRANCODE with a '*'. An example use is:
#
# ABCD TCP myhost1 2008 N
# ABC* TCP myhost2 2008 Y
# A* TCP myhost3 2008
# * TCP myhost4 2008
#
# This example would:
# - Route an exact match of ABCD to myhost1 using non persistent socket
# connections
# - Route all TRANCODEs starting with ABC (but not ABCD) to myhost2 using
# persistent socket connections
# - Route all TRANCODEs starting with A (but not ABC) to myhost3 using
# persistent socket connections
# - Route all other TRANCODEs to myhost4 using persistent socket connections
#
############## CACHING ####################
#
# The commcfg.ini file may also be used to control how the client runtimes
# cache this ini file. By default caching is not performed and the file is
# reread and reparsed for each flow out of the running process. This allows
# file changes to be reflected immediately.
#
# That default behavior may not be ideal in all environments. Therefore the
# special token 'CACHETIMEOUT' can be set to control the number of seconds to
# wait between rereading of the file. All flows that occur between the read
# and the timeout use the cached version of the file in memory. The first flow
# after the timeout has expired will force the file to be reread and the timeout
# to restart. An example is:
#
# CACHETIMEOUT 0 (no timeout, default)
# CACHETIMEOUT 180 (3 minute timeout)
# CACHETIMEOUT NEVER (cache will never be reread)
#
# The timeout is only useful within one process. The NEVER setting will require
# the process to be stopped and the client runtime DLL to be unloaded before
# rereading the file.
#
############### TRACING ##################
#
# The commcfg.ini file can be used to enable and disable tracing within the
# client runtimes. Use the special token 'CMIDEBUG' to enable and disable the
# tracing. Examples of the use of this token are:
#
# CMIDEBUG ON (turn tracing on)
# CMIDEBUG OFF (turn tracing off)
#
# The tokens can appear multiple times within the file, but the last one
# encountered will be the setting that is in effect. The trace will be
# written to a file called trace-<procname>-<procid>.out (where <procname>
# is the application name and <procid> is the application's process id)
# within the %USERPROFILE%\AppData\Local\CA\Gen 8.5\logs\client directory.
#
############## FILE LOCATION ###############
########## MULTIPLE OVERRIDE SUPPORT #######
#
#
# By default there exists only one copy of this file. The installed location
# is the CA Gen installation directory. As there is only one file all client
# applications must use this same file.
# Alternatively, a Client Application will search for this file in the following
# order:
#
# 1) %COMMCFG_HOME% - The directory value contained within this environment
# variable
# 2) %USERPROFILE%\AppData\Local\CA\Gen 8.5\cfg\client
# 3) %ALLUSERSPROFILE%\CA\Gen 8.5\cfg\client
# 4) %PATH% - In each of the path components within this environment variable
#
# Unix/Linux only
# 1) $COMMCFG_HOME - The directory value contained within this environment
# variable
# 2) $PATH - In each of the path components within this environment variable
#
#
# If the file is not found in one of these places, it is assumed to not exist.
# In case there is more than one copy of the file, the order of precedence
# is as described above. The use of this search order is defined below:
#
# %COMMCFG_HOME%, $COMMCFG_HOME:
# The environment variable COMMCFG_HOME can be set to point to a
# directory containing the commcfg.ini file to be used by the invoking
# application. This will allow customization on an application by
# application basis.
#
# %USERPROFILE%\AppData\Local\CA\Gen 8.5\cfg\client (Windows only):
# If the commcfg.ini file is stored in this location, it is accessable by
# all applications executed by a particular user on the system.
#
# %ALLUSERSPROFILE%\CA\Gen 8.5\cfg\client (Windows only):
# If the commcfg.ini file is stored in this location, it is accessable by
# all applications executed by all users on the system.
#
# %PATH%, $PATH:
# If the commcfg.ini file has not been found in the other 3 locations above,
# all paths listed in the PATH environment variable will be searched. By
# default, CA Gen is part of the PATH environment variable.
#
###########################################
#
|
Copyright © 2014 CA.
All rights reserved.
|
|