![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
This section explains the runtime properties for the Core Engine and the Central Logger component of the gateway. The properties are defined in the asg.properties and asg_cl.properties files respectively.
• By using the Config UI. To set the properties on the home page, select the Gateway Engine Properties from the drop-down list next to the icon.
• By using a text editor to directly edit the asg.properties and asg_cl.properties files. The files are located in the ASG_CONFIG_HOME directory.The properties for the Core Engine are defined in the asg.properties file located in ASG_CONFIG_HOME directory.
Table 15 Core Engine Properties If the value is set to true, the client sends an synchronous request for HTTP transport. If the value is set to false, an asynchronous request is sent for HTTP transport.The default is false. The number of threads used for HTTP Client. This is relevant only if the value of the useSynchHttpClient is false (that is, when an asynchronous request is sent for HTTP transport).The default is 10. The default is _LOCAL.asg.north.request. The default is TIBCO.ASG.INTERNAL. The default is false.
• If this property is set, the configuration value specified for this property takes precedence over the configuration specified by asg-engine command-line option such as asg-engine.exe -a <Config project name>.For example, the root directory for default configuration is: C:/ProgramData/ASG200/tibco/cfgmgmt/asg/default For example, the home directory for the examples directory is:ASG_HOME/examples
− The default value is application/json. The default is false. The default is 30000. Set this field to enable the detail level logging for the Central Logger component. If the value is 1,the Central Logger records all the details of transaction. If the value is 0, the Central Logger records high level transaction. The default is 10. The default value is anon. The default queue name is asg.out.request. The default queue name is asg.out.request.reply.0.0 The default queue name is asg.out.request. The default queue name is asg.out.request.reply.0.1 The default queue name is asg.out.request. Specifies the queue name for an ESB channel (three) communication for the target operation response.The default queue name is asg.out.request.reply.0.2 The default queue name is asg.in.request. The default queue name is asg.in.request.reply.0 The default queue name is asg.soap.in.request. The default queue name is asg.soap.in.request.reply.0 The default queue name is asg.soap.forward. The default queue name is asg.soap.forward.reply.0 The default is tcp://localhost:7222. The default is tibjmsnaming://localhost:7222. The default is TopicConnectionFactory. The default is QueueConnectionFactory. The default is admin. The default is admin. The default is tcp://localhost:7222 The default value is tibjmsnaming://localhost:7222 The default value is TopicConnectionFactory The default value is QueueConnectionFactory The default value is admin The default value is admin The default is tcp://localhost:7222 The default value is tibjmsnaming://localhost:7222 The default value is TopicConnectionFactory The default value is QueueConnectionFactory The default value is admin The default value is admin default is tcp://localhost:7222 The default value is tibjmsnaming://localhost:7222 The default value is TopicConnectionFactory The default value is QueueConnectionFactory The default value is admin The default value is admin The default value is tcp://localhost:7222 The default value is tibjmsnaming://localhost:7222 The default value is TopicConnectionFactory The default value is QueueConnectionFactory The default value is admin Specifies the user name for logging into the EMS server used to send client requests at facade side.The default value is admin The default value is tcp://localhost:7222 The default value is tibjmsnaming://localhost:7222 The default value is TopicConnectionFactory The default value is QueueConnectionFactory The default value is admin The default value is admin The default value is 9222 The default value is 9233 This is a boolean field which indicates if SSL should be enabled for accepting HTTPs requests. If set to true SSL is enabled to accept the requests using HTTPs transport.
−
• Set the IdentityFileType property to url for Identity File type.
•
• If the IdentityFileType property is set to url, set the IdentityType,IdentityURL , and IdentityFilePassword properties.
• If the IdentityFileType property is set to certPlusKeyURL, set the CertificateURL, KeyURL and IdentityFilePassword properties. Specifies the type of the file if the IdentityFileType property is set to url. The supported values are as follows:
−
−
−
− For example, C:\keystore.jks
•
• if the IdentityFileType property is set to certPlusKeyURL, this refers the password for the private key. Specifies the URL to the certificate file if the IdentityFileType property is set to certPlusKeyURL.For example, C:\mydomain.csr Specifies the URL to the private key in certificate file if the IdentityFileType property is set to certPlusKeyURL.For example, C:\keystore.jks When this field is set to true, the Trusted Certificates Folder becomes enabled so that you can specify a location containing the list of trusted certificate authorities. Specifies the password to access the certificate stored in the folder defined by TrustedCertificateFolder property. Required when the RequiresClientAuthentication property is set to true. The default value is 9322. The default value 9333. A boolean field which indicates if SSL should be enabled for accepting HTTPS requests for OAuth APIs and servlets. If set to true SSL is enabled to accept the requests using HTTPS transport for the OAuth server.The default value is true. The default value is /DefaultImplementation/SharedResources/HTTP/OAuthIdentityResource.id
−
• Set the IdentityFileType property to url for Identity File type.
• Set the IdentityFileType property to certPlusKeyURL for Certificate/Private Key type.
−
−
−
− Specifies the URL to the identity file if the Identity file type is of the type Identity File for OAuth server SSL connection.For example, C:\keystore.jks
• if the IdentityFileType property is set to url, this refers the password for the identity file.
• if the IdentityFileType property is set to certPlusKeyURL, this refers the password for the private key. Indicates a boolean flag to enable or disable mutual SSL authentication for HTTPs transport used for OAuth server requests from the requestor. When this field is set to true, the Trusted Certificates Folder becomes enabled so that you can specify a location containing the list of trusted certificate authorities. Required when the RequiresClientAuthentication property is set to true. Specifies a folder in the project containing one or more certificates from trusted certificate authorities, which is required for mutual SSL authentication.This folder is checked when a client connects to ensure that the client is trusted. Example: tcp://localhost:7222 Specifies the name of TopicConnectionFactory object stored in JNDI. This object is used to create a topic connection with JMS server for the Central Logger.The default value is TopicConnectionFactory Specifies the name of QueueConnectionFactory object stored in JNDI. This object is used to create a queue connection with JMS server for the Central Logger.The default value is QueueConnectionFactory Example, admin For example, asg.cl.transaction.queue The default value is queue. Specifies an identity resource used to provide the SSL properties for JMS transport. The default value is: /Common/SharedResources/JMS/CL_JMSConnIdentityResource.id Specifies the password to access the certificate stored in the folder defined by the Trusted Certificate Folder field. The certificate is required for SSL connection. Specifies whether SSL tracing should be enabled during the SSL connection. If the value is set to true, the SSL connection messages are logged and sent to the console. Specifies whether the host you are connecting to is the expected host. The host name in the digital certificate of the host is compared against the value in the Expected Host Name field. If the host name does not match the expected host name, the connection is refused. Specifies the name of the host you are expecting to connect to. This field is only relevant if the Verify Host Name field is set to true. If the name of the host in the digital certificate of host does not match the value specified in this field, the connection is refused. When this field is set to true, this specifies the minimum strength of the cipher suites that can be specified with the bw.plugin.security.strongcipher.minstrength custom engine property. See TIBCO ActiveMatrix BusinessWorks Administration for more information about this property. The default value of the property disables cipher suites with an effective key length below 128 bits. When this field is set to false, only cipher suites with an effective key length of up to 128 bits can be used.
−
−
−
−
−
− Specifies the location of the certificate (which includes the private key) if Identity Type is set to url. Specifies the password for the certificate if Identity Type is of certPlusKeyURL type. Specifies the URL to the certificate file if Identity Type is of certPlusKeyURL type. Specifies the URL to the private key in the certificate file if Identity Type is of certPlusKeyURL type.
• The default value is ASG-OAuth-Tokens For example, tcp://machine1_IP_Address:6300 Specifies the expiration time (in minutes) for an access token. The default value is 60 minutes. When the access token passes expiration time as specified by this property, it is no longer valid but still remains in the database. The access token is removed from the database based on the value specified by the tibco.clientVar.oauth.access.token.space.ttl property. Specifies the retention period (in minutes) for an access token. The default value is 1440 minutes (1 day) . When the access token passes retention period as specified by this property, the token is removed from the database. By default, the access token is removed from the database after 1 day.
−
− If the Database is set, you must define the properties for database server connection. For example, if the value is specified as /examples/Adapters/resources, the custom adapter looks for the resources such as properties file in the directory ASG_HOME/examples/Adapters/resources. For example, for file based owner adapter interface, value specified as: com.tibco.asg.oauth.identity.provider.file.OwnerAdapterService Enables the Core Engine to remove quotes from the incoming SOAPAction header of the facade request.Set this property to true to remove single or double quotes from SOAPAction header of the request. If the property is set to false or has no value, the single or double quotes from SOAPAction header are not removed, which is the default behavior. Set this property to UTF-8 to enable the Core Engine to handle non-ASCII characters in the request and response payloads of the request sent to TIBCO API Exchange Gateway using the RV channel through the Apache server. Set this property to true to copy the HTTP headers of northbound request to southbound request when the pass-through mapping is configured for forward mapper of the target operation. Do not configure any values for the Headers To Forward field of target operation when setting this property to true.The properties for the Central Logger are defined in the asg_cl.properties file located in ASG_CONFIG_HOME directory.
Table 16 Central Logger Properties Specifies the name of the transactions log file used by the Core Engine to record the transactions. This is used only for the records which is filtered by the tibco.clientVar.CL/Logging/fileFilter property.The default value is trans_log.txt The default value is 1000 The default value is TIBCO.ASG.INTERNAL The default value is 7500 The default value is asguser For oracle database, the value is defined as: oracle.jdbc.OracleDriverFor MS SQL server, the value is defined as: com.microsoft.sqlserver.jdbc.SQLServerDriver For oracle database, the value is defined as: jdbc:oracle:thin:@localhost:1521:asgstatFor MS SQL server, the value is defined as: sqlserver://localhost:1433;databaseName=asgstat Example: tcp://localhost:7222 Specifies the name of TopicConnectionFactory object stored in JNDI. This object is used to create a topic connection with JMS server for the Central Logger.The default value is TopicConnectionFactory Specifies the name of QueueConnectionFactory object stored in JNDI. This object is used to create a queue connection with JMS server for the Central Logger.The default value is QueueConnectionFactory Example, admin For example, asg.cl.transaction.queue The default value is queueThe Central Logger always listens on a queue. If the value of destination type is set to topic, the JMS administrator must configure a bridge between the topic and the queue. Specifies an identity resource used to provide the SSL properties for JMS transport. The default value is: /Common/SharedResources/JMS/CL_JMSConnIdentityResource.id Specifies the password to access the certificate stored in the folder defined by the Trusted Certificate Folder field. The certificate is required for SSL connection. Specifies whether SSL tracing should be enabled during the SSL connection. If the value is set to true, the SSL connection messages are logged and sent to the console. Specifies whether the host you are connecting to is the expected host. The host name in the digital certificate of the host is compared against the value in the Expected Host Name field. If the host name does not match the expected host name, the connection is refused. Specifies the name of the host you are expecting to connect to. This field is only relevant if the Verify Host Name field is set to true. If the name of the host in the digital certificate of host does not match the value specified in this field, the connection is refused. When this field is set to true, this specifies the minimum strength of the cipher suites that can be specified with the bw.plugin.security.strongcipher.minstrength custom engine property. See TIBCO ActiveMatrix BusinessWorks Administration for more information about this property. The default value of the property disables cipher suites with an effective key length below 128 bits. When this field is set to false, only cipher suites with an effective key length of up to 128 bits can be used.
−
−
−
−
−
− Specifies the location of the certificate (which includes the private key) if Identity Type is set to url. Specifies the password for the certificate if Identity Type is of certPlusKeyURL type. Specifies the URL to the certificate file if Identity Type is of certPlusKeyURL type. Specifies the URL to the private key in the certificate file if Identity Type is of certPlusKeyURL type.
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |