Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 3 Core Engine Configuration : Runtime Properties

Runtime Properties
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.
Runtime Properties of Core Engine
The properties for the Core Engine are defined in the asg.properties file located in ASG_CONFIG_HOME directory.
The following properties can be defined:
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 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 _LOCAL.asg.north.request.
The default is TIBCO.ASG.INTERNAL.
Set this field as true or false to enable or disable hot configuration updates.
For example, the root directory for default configuration is: C:/ProgramData/ASG200/tibco/cfgmgmt/asg/default
ASG_HOME/examples
The default value is application/json.
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 queue name is asg.out.request.reply.0.0
The default queue name is asg.out.request.reply.0.1
The default queue name is asg.out.request.reply.0.2
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.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 tcp://localhost:7222
The default value is tibjmsnaming://localhost:7222
The default value is TopicConnectionFactory
The default value is QueueConnectionFactory
The default is tcp://localhost:7222
The default value is tibjmsnaming://localhost:7222
The default value is TopicConnectionFactory
The default value is QueueConnectionFactory
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 tcp://localhost:7222
The default value is tibjmsnaming://localhost:7222
The default value is TopicConnectionFactory
The default value is QueueConnectionFactory
The default value is tcp://localhost:7222
The default value is tibjmsnaming://localhost:7222
The default value is TopicConnectionFactory
The default value is QueueConnectionFactory
Set the IdentityFileType property to certPlusKeyURL for Certificate/Private Key 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:
Specifies the URL to the identity file if the IdentityFileType property is set to url.
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.
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.
Required when the RequiresClientAuthentication property is set to true.
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 /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.
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
For example, asg.cl.transaction.queue
The possible values are queue and topic.
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 type of certificate file 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.
The default value is ASG-OAuth-Tokens
For example, tcp://machine1_IP_Address:6300;machine2_IP_Address:6300
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.
Runtime Properties of Central Logger
The properties for the Central Logger are defined in the asg_cl.properties file located in ASG_CONFIG_HOME directory.
The following properties can be defined, if the default values do not serve your purpose:
The default value is ASG_HOME/bin/logs
The default value is TIBCO.ASG.INTERNAL
For 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:asgstat
For 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
For example, asg.cl.transaction.queue
Possible values are queue or topic.
The 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 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 type of certificate file 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.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved