| Products | Versions |
|---|---|
| TIBCO BusinessWorks Container Edition | 2.9.1 |
A new property bwce.component.auto.start.override has been added to control the automatic startup behavior of components in BWCE.
Behavior Scenarios:
When the property is set:
Components with auto-start enabled will start and execute normally.
Components with auto-start disabled will not start.
When the property is not set (default behavior):
All components are started regardless of their auto-start configuration.
Components with auto-start disabled will still not start, as per their design.
Product: TIBCO BusinessWorks Container Edition (BWCE)
Version: BWCE 2.9.1 and above
Applies To: All platforms where BWCE is supported (Docker, Kubernetes, TIBCO Platform)
To enable conditional component startup using the bwce.component.auto.start.override property, you must configure it appropriately based on the environment: Design Time (Studio) or Runtime (AppNode).
Design Time (Studio)
To apply this in TIBCO Business Studio, add the following VM argument under:
Run → Debug Configurations → Arguments Tab → VM Arguments
Example:
-Dbw.appnode=BWEclipseAppNode
-Xms256m
-Xmx2048m
-Dorg.eclipse.emf.ecore.EPackage.Registry.INSTANCE=com.tibco.tpcl.org.eclipse.emf.OSGiEnabledPackageRegistry
-Dosgi.bundles.defaultStartLevel=5
-Dosgi.compatibility.bootdelegation=true
-Dosgi.contextClassLoaderParent=ext
-Dosgi.parentClassloader=ext
-Dorg.osgi.framework.system.packages=org.osgi.framework
-Dorg.osgi.framework.startlevel.beginning=10
-Dosgi.classloader.copy.natives=true
-Dosgi.classloader.type=parallel
-Dosgi.bundlefile.limit=20
-Declipse.stateSaveDelayInterval=10000
-Declipse.ignoreApp=true
-Dosgi.noShutdown=true
-Dorg.osgi.service.http.port=8090
-DTIBCO_HOME="C:/tibco/bw6"
-DBW_HOME="C:/tibco/bw6/bw/6.3"
-Dbw.governance.enabled=true
-Dbwce.component.auto.start.override=true
Runtime (AppNode)
For deployed applications, add the following entry to the java.extended.properties in your AppNode's TRA file (e.g., AppNode.tra):
java.extended.properties = -Xmx1024m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dbwce.component.auto.start.override=true
BWCE now supports conditional component startup using a newly introduced property. This allows users to control which components should be started at runtime, providing more flexibility in application behavior.