Bookmark and Share Share

EMML Reference Runtime Engine Configuration

Steps:

  1. Open the web-apps-home/emml/WEB-INF/classes/emml.config file in any text editor.

  2. Change values for any of the following properties:

    emml.sql.minEvictableIdleTimeMillis

    The minimum numerber of milliseconds that a connection may sit idle in connection pools used with EMML datasources before the connection can be discarded. Inactive connections are only discarded if validation/inactivity checks are enabled for the connection pool.

    emml.sql.numTestsPerEvictionRun

    The number of connections to test in any given test cycle for the connection pools used with EMML datasources. This is only applicable if validation/inactivity checks are enabled for the pool.

    emml.sql.timeBetweenEvictionRunsMillis

    The number of milliseconds before a connection pool used with EMML datasources should test for inactive or invalid connections. If you set this property to a number less than zero, validation/activity tests are not performed for these connection pools.

    emml.sql.validationCallTimeout

    The number of milliseconds before a connection validation/activity check for EMML datasources is considered to have failed. If the validation/activity check fails, the connection pool for this datasource invalidates and discards the connection. If you set this property to a number less than zero, validation/inactivity checks do not expire.

    httpProxy.enable

    Determines whether this EMML Engine should use a proxy server to access services. False by default.

    httpProxy.host

    The host name or IP address for the proxy server to use. Null by default.

    httpProxy.port

    The port number for the proxy server. Null by default.

    httpProxy.user

    The user name for login credentials to the proxy server. Null by default.

    httpProxy.password

    The password for login credentials to the proxy server. Null by default.

    httpProxy.CredentialsType

    Null (default) or NTLM. This parameter is only needed in a Windows NT Domain.

    httpProxy.ntDomain

    The name of the Windows NT Domain to use to access this proxy server. Null by default. This property only takes effect if httpProxy.CredentialsType = NTLM.

    httpProxy.bypassIPList

    A list of IP addresses, separated by commas, that the EMML Engine can access without the proxy server. You can use regular expression wildcards in IP addresses. For example:

    139.16..*, 10.20.42.14

    httpProxy.bypassHostList

    A list of host names, separated by commas, that the EMML Engine can access without the proxy server.

    httpProxy.bypassDomainList

    A list of domain names, separated by commas, that the EMML Engine can access without the proxy server. You can use regular expression wildcards in domain names. For example:

    .*.amazon.com

    timeout

    The default timeout period, in milliseconds, for <directinvoke> statements.

  3. Save your changes and restart the EMML Engine.