Editing Configuration File (optional)

Warning: Use the Edit the Configuration File page with extreme caution. Do not use the page unless the configuration.xml is backed up and specific knowledge about the TIBCO Silver Fabric system is being applied. This interface can be used for more advanced customizations and normally it should be left alone.

For more information, refer to "The configure.xml File" section in TIBCO Silver® Fabric Developer’s Guide.

As an example, if a user wants to change the default maximum java heap size, the following XML example code described, accomplishes this when used in the Edit configuration file text field.

<containerConfig>
   <configFiles baseDir="${TIBCO_HOME}" include="adapter/adfiles/7.0/bin/adfilesagent.tra">
      <regex pattern="java.heap.size.max=1024" replacement="java.heap.size.max=2048" />
   </configFiles>
</containerConfig>

The property, baseDir, in the <configFiles> element specifies the path that includes the file to be updated. You can modify it if required.

The property, include, in <configFiles> element specifies which files are to be replaced. It can specify whatever files you want to change. The asterisk wild card can be used to represent a string of characters, for instance: "*.tra" to change all of the .tra files in %baseDir%.

The property, pattern, in the <regex> element specifies the contents that are to be replaced within the previously specified files. The value of pattern can be a regular expression. The property, replacement, in <regex> element specifies the new contents of the node specified by the pattern property value.