Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | - |
Not Applicable | - |
There are many classpath related variables in the <application>.tra file, e.g. “tibco.env.CUSTOM_EXT_PREPEND_CP”, “tibco.env.CUSTOM_EXT_APPEND_CP”, “tibco.env.STD_EXT_CP”. If JAR files need to be added manually, which one should be changed?
The property which is used to generate classpath is called “tibco.class.path.extended”. All the above variables will be gathered together in this property. BW will also prepend two additional folders at the very beginning of this property after deployment. These two folders are normally used to store customer-defined JARs/resources in their project.
For example,
<----------------------------------
tibco.class.path.extended=C\:/tibco/tra/domain/BW511/application/getSetVariable/lib%PSP%C\:/tibco/tra/domain/BW511/application/getSetVariable/resource%PSP%%CUSTOM_EXT_PREPEND_CP%;%STD_EXT_CP%;%CUSTOM_EXT_APPEND_CP%%PSP%%TPCL_HOME%/tomcat/common/lib
---------------------------------->
All the JARs will be loaded/used with the above sequence, customer-defined JARs/resources, %CUSTOM_EXT_PREPEND_CP%, %STD_EXT_CP%, and %CUSTOM_EXT_APPEND_CP% . If you see any JAR file conflict issues or you need some JARs to be loaded before any other JARs, add them at the beginning of “tibco.class.path.extended” .