Environment Variables

This section lists the environment variables that can used for TIBCO BusinessWorks™ Container Edition application deployment.

Environment Variable Default Values Description
BW_LOGLEVEL ERROR Used to set a log level for the TIBCO BusinessWorks™ Container Edition application. The default value is ERROR. Supported values are:
  • INFO
  • DEBUG
  • WARN
  • ERROR
BW_ENGINE_THREADCOUNT 8 Used to set engine thread count for the TIBCO BusinessWorks™ Container Edition application.
BW_ENGINE_STEPCOUNT -1 Used to set engine step count for the TIBCO BusinessWorks™ Container Edition application.
BW_APPLICATION_JOB_FLOWLIMIT n/a Used to set flow limit for TIBCO BusinessWorks™ Container Edition application.
APP_CONFIG_PROFILE default Name of the application profile that is to be used from a configuration management system such as ZUUL, Spring Cloud Config and so on.
BW_PROFILE n/a Used to set the name of the BusinessWorks profile from the application.
BW_JAVA_OPTS n/a Used to set Java properties that are used at run time. The properties are specified using name-value pairs and are separated by spaces.

For example,

BW_JAVA_OPTS="-Dname=value -Dname=value"
MASHERY_SERVICE_CONFIG

Applications can pass TIBCO Mashery configuration through the MASHERY_SERVICE_CONFIG environment variable.

The value of the environment variable is a JSON string with the required TIBCO Mashery configuration.

For more information, see Integrating with TIBCO Mashery.

ENABLE_SERVICE_DIRECT_REGISTRATION false If set to true, an application will be registered using its host IP and port instead of the application route.
CONSUL_SERVER_URL Used to set Consul server configuration.

For example,

CONSUL_SERVER_URL=http://127.0.0.1:8085.

This must be set if you intend to use Consul for application configuration or for service registration and discovery.

EUREKA_SERVER_URL Used to set Eureka server configuration.

For example,

EUREKA_SERVER_URL=http://127.1.0.1:8080/eureka

This must be set if you intend to use Eureka for service registration and discovery.

CF_TARGET None To add an Elastic Runtime self-signed certificate automatically at runtime, set CF_TARGET to the API endpoint of your Elastic Runtime instance.

For example,

CF_TARGET=https://api.cf.demo.com.

This is useful when using Spring Cloud Services in your application.

BW_JMX_CONFIG n/a Used to set JMX configuration (JMX port) for monitoring TIBCO BusinessWorks™ Container Edition application.

For example,

BW_JMX_CONFIG: 8050

BW_JAVA_GC_OPTS -XX:+UseG1GC Used to set JAVA GC configuration. The value should be one of the standard Java GC VM Options.

For example,

BW_JAVA_GC_OPTS: -XX:+UseParallelGC

DISABLE_BWCE_EAR_VALIDATION False Used to deploy the ActiveMatrix BusinessWorks 6.x application EAR file on TIBCO BusinessWorks Container Edition without converting project to Container Edition and rebuilding EAR file from TIBCO Business Studio for BusinessWorks
Note: Ensure that the ActiveMatrix BusinessWorks 6.x EAR file is exported. ActiveMatrix BusinessWorks 6.x EAR file should only have TIBCO BusinessWorks Container Edition supported activities and features.
BREAK_CIRCUIT_ON_404_ERROR True Used to change the behavior of the Circuit Breaker functionality. By default, circuit breaks for 404 (Not Found) error code.

It does not break the circuit for 404 error code on specifying the value of the variable as false.

SPRING_CLOUD_CONFIG_VAULT_TOKEN n/a Used to pass the Vault token for Pivotal Platform application, while using Vault as backend for Spring Cloud Config.
CUSTOM_LOGBACK False Used for customizing logs.