uyuni-project / tomcat-serverxml-tool

A simple tool to add/remove contexts from the server.xml file of a Tomcat server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Archived project

This tool has been deprecated, instead Tomcat now uses xsltproc to perform all the changes in server.xml file. If you want to resume work, please contact us at GitHub Discussions or the devel channel at Gitter

=====

A simple tool to add/remove tags and elements from/to the server.xml file of a Tomcat server.

Call tomcat-serverxml-tool.sh without arguments for help

Example

./serverxml-tool.sh add-context.xslt docBase=/usr/share/tomcat/tomcat-webapps/host-manager path=/host-manager contextXml=/usr/share/tomcat/tomcat-webapps/host-manager/META-INF/context.xml

where:

  • add-context.xslt is an xslt file in src/com/suse/tcserverxml/
  • docBase, path and contextXml are the parameters in add-context.xslt

About

A simple tool to add/remove contexts from the server.xml file of a Tomcat server

License:GNU General Public License v2.0


Languages

Language:XSLT 47.4%Language:Java 40.7%Language:Shell 11.9%