Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

uyuni-project/tomcat-serverxml-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published