Environment Variables

This section lists the environment variables that can be used for TIBCO BusinessWorks™ Container Edition application deployment on Docker and Docker based platforms.

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 n/a Name of the application profile that is to be used from a configuration management system such as ZUUL, Spring Cloud Config etc.
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 n/a

Applications can pass TIBCO Mashery configuration information using the MASHERY_SERVICE_CONFIG environment variable.

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

See Integrating with TIBCO Mashery for more information.

CONSUL_SERVER_URL n/a 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.

MEMORY_LIMIT 1024M To optimize memory usage at runtime, set this environment variable to the configured memory.

For example,

MEMORY_LIMIT=512M

when the Docker container is launched with 512M.

BW_JMX_CONFIG n/a Used to set JMX configuration (RMI host and JMX port) for monitoring TIBCO BusinessWorks™ Container Edition application. The value should be provided in RMI_HOST:JMX_PORT format.

For example,

BW_JMX_CONFIG=192.168.99.100: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

-e DISABLE_BWCE_EAR_VALIDATION=true None 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 Container Edition
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.