summaryrefslogtreecommitdiffstats
path: root/base/ocsp
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2013-11-28 03:25:24 -0500
committerEndi S. Dewata <edewata@redhat.com>2014-03-17 11:22:15 -0400
commit4c1ce953681c3cac9c6d0b4325a48ba66619f553 (patch)
tree6dc07525b8f2bbf295450c6b883c9a682f927628 /base/ocsp
parentae38b34e717b386f06407db9e5a4723472b77775 (diff)
downloadpki-4c1ce953681c3cac9c6d0b4325a48ba66619f553.tar.gz
pki-4c1ce953681c3cac9c6d0b4325a48ba66619f553.tar.xz
pki-4c1ce953681c3cac9c6d0b4325a48ba66619f553.zip
Removed config path from web.xml.
Previously the CMSStartServlet always requires a cfgPath parameter pointing to the CS.cfg location. By default the parameter points to <instance>/conf/<subsystem>/CS.cfg unless it's manually changed by the admin after installation. Recently the servlet has been modified such that if the parameter is not specified it will generate the default path automatically. So it is no longer necessary to keep the cfgPath parameter in the web.xml templates because it will point to the same location. This patch removes the cfgPath parameters from all web.xml templates. This way newly created subsystems will not have this parameter, which will help direct deployment in the future. An upgrade script has been added to remove the parameter from existing instances if it points to the default location. If the parameter points to a different location that means the subsystem has been customized so it will not be changed. Ticket #748, #499
Diffstat (limited to 'base/ocsp')
-rw-r--r--base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml2
1 files changed, 0 insertions, 2 deletions
diff --git a/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml b/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml
index 249f1eb1b..21067d7d8 100644
--- a/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml
+++ b/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml
@@ -96,8 +96,6 @@
<servlet-class> com.netscape.cms.servlet.base.CMSStartServlet </servlet-class>
<init-param><param-name> AuthzMgr </param-name>
<param-value> BasicAclAuthz </param-value> </init-param>
- <init-param><param-name> cfgPath </param-name>
- <param-value> [PKI_INSTANCE_PATH]/conf/[PKI_SUBSYSTEM_TYPE]/CS.cfg </param-value> </init-param>
<init-param><param-name> ID </param-name>
<param-value> ocspstart </param-value> </init-param>
<load-on-startup> 1 </load-on-startup>