Adding Additional Context

To add additional context:

  1. Log on to Parallels Pro Control Panel as the root user.
  2. Change directory to /var/tomcat4/conf/sites.xml.d.
  3. Create a new file site1.xml.custom.
  4. Add new context to this file.
  5. Save the file.
  6. Regenerate the file /var/tomcat4/conf/server.xml using the following command.

    m4 /var/tomcat4/conf/server.xml.template > /var/tomcat4/conf/server.xml

  7. To restart Tomcat, type the following command.

    /etc/rc.d/init.d/tomcat4 restart