Page tree

You might want to change the default location of the var folder. This is a common customization and requires minor changes to the Program D configuration file, web.xml.

To change the default location of the var folder

  1. Open the Program D web.xml file with any standard XML editor.
    By default this file is in the following location:
    C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\programd\web-inf
  2. Locate the <param-value> tag.
    This tag contains the path to the var folder. The default path is <param-value>[file:/var/programd/conf/core.xml]</param-value>.
  3. Change the path to the appropriate location.
    For example, if you moved the var folder under the BMCChat folder, change the path as follows:
    <param-value>[file:/BMCSoftware/BMCChat/var/programd/conf/core.xml]</param-value>

    If the var folder resides on a drive other than C, the new path might be as follows:
    <param-value>[file:///D:/bmcdata/chat/var/programd/conf/core.xml]</param-value>
  4. Save the changes.
  5. Repeat these changes for all load-balanced mid-tier servers running Program D.
  6. Restart Apache Tomcat on all mid-tier servers running Program D.
  • No labels

2 Comments

  1.  
  2. I had error in Tomcat log file until I removed '[' and ']' and the string became as follows:

    <param-value>file:/C:/Program Files/BMC Software/BMCVirtualAgent/VirtualAgentComponents/var/programd/conf/core.xml</param-value>