diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2013-02-05 19:57:38 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2013-02-05 19:57:38 -0500 |
commit | 8011267258e6d04af15f0b5cdacc939fb11a81f8 (patch) | |
tree | ea9666e02ac01a0891767b7255f59e75cd6d4fbe /base | |
parent | 991577dd40bbb18613893362783d0cd06cbdce79 (diff) | |
download | pki-direct-deployment.tar.gz pki-direct-deployment.tar.xz pki-direct-deployment.zip |
Deploying webapps from shared folder.direct-deploymentdev2
Diffstat (limited to 'base')
-rw-r--r-- | base/ca/shared/conf/Catalina/localhost/ca.xml | 3 | ||||
-rw-r--r-- | base/common/shared/conf/Catalina/localhost/ROOT.xml | 3 | ||||
-rw-r--r-- | base/deploy/src/scriptlets/webapp_deployment.py | 48 | ||||
-rw-r--r-- | base/kra/shared/conf/Catalina/localhost/kra.xml | 3 | ||||
-rw-r--r-- | base/ocsp/shared/conf/Catalina/localhost/ocsp.xml | 3 | ||||
-rw-r--r-- | base/tks/shared/conf/Catalina/localhost/tks.xml | 3 |
6 files changed, 34 insertions, 29 deletions
diff --git a/base/ca/shared/conf/Catalina/localhost/ca.xml b/base/ca/shared/conf/Catalina/localhost/ca.xml index 975ecabf1..bb3fc1bc9 100644 --- a/base/ca/shared/conf/Catalina/localhost/ca.xml +++ b/base/ca/shared/conf/Catalina/localhost/ca.xml @@ -22,7 +22,8 @@ See the License for the specific language governing permissions and limitations under the License. --> -<Context crossContext="true" allowLinking="true"> +<Context crossContext="true" allowLinking="true" + docBase="/usr/share/pki/ca/webapps/ca"> <Valve className="com.netscape.cms.tomcat.SSLAuthenticatorWithFallback" /> diff --git a/base/common/shared/conf/Catalina/localhost/ROOT.xml b/base/common/shared/conf/Catalina/localhost/ROOT.xml index c29b4586e..2634dbb98 100644 --- a/base/common/shared/conf/Catalina/localhost/ROOT.xml +++ b/base/common/shared/conf/Catalina/localhost/ROOT.xml @@ -22,6 +22,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<Context crossContext="true" allowLinking="true"> +<Context crossContext="true" allowLinking="true" + docBase="/usr/share/pki/server/webapps/ROOT"> </Context> diff --git a/base/deploy/src/scriptlets/webapp_deployment.py b/base/deploy/src/scriptlets/webapp_deployment.py index a3b459ab3..a85a6fdad 100644 --- a/base/deploy/src/scriptlets/webapp_deployment.py +++ b/base/deploy/src/scriptlets/webapp_deployment.py @@ -148,30 +148,30 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet): util.directory.create( master['pki_tomcat_webapps_subsystem_webinf_lib_path']) # establish Tomcat webapps subsystem WEB-INF lib symbolic links - util.symlink.create(master['pki_certsrv_jar'], - master['pki_certsrv_jar_link']) - util.symlink.create(master['pki_cmsbundle'], - master['pki_cmsbundle_jar_link']) - util.symlink.create(master['pki_cmscore'], - master['pki_cmscore_jar_link']) - util.symlink.create(master['pki_cms'], - master['pki_cms_jar_link']) - util.symlink.create(master['pki_cmsutil'], - master['pki_cmsutil_jar_link']) - util.symlink.create(master['pki_nsutil'], - master['pki_nsutil_jar_link']) - if master['pki_subsystem'] == "CA": - util.symlink.create(master['pki_ca_jar'], - master['pki_ca_jar_link']) - elif master['pki_subsystem'] == "KRA": - util.symlink.create(master['pki_kra_jar'], - master['pki_kra_jar_link']) - elif master['pki_subsystem'] == "OCSP": - util.symlink.create(master['pki_ocsp_jar'], - master['pki_ocsp_jar_link']) - elif master['pki_subsystem'] == "TKS": - util.symlink.create(master['pki_tks_jar'], - master['pki_tks_jar_link']) + # util.symlink.create(master['pki_certsrv_jar'], + # master['pki_certsrv_jar_link']) + # util.symlink.create(master['pki_cmsbundle'], + # master['pki_cmsbundle_jar_link']) + # util.symlink.create(master['pki_cmscore'], + # master['pki_cmscore_jar_link']) + # util.symlink.create(master['pki_cms'], + # master['pki_cms_jar_link']) + # util.symlink.create(master['pki_cmsutil'], + # master['pki_cmsutil_jar_link']) + # util.symlink.create(master['pki_nsutil'], + # master['pki_nsutil_jar_link']) + # if master['pki_subsystem'] == "CA": + # util.symlink.create(master['pki_ca_jar'], + # master['pki_ca_jar_link']) + # elif master['pki_subsystem'] == "KRA": + # util.symlink.create(master['pki_kra_jar'], + # master['pki_kra_jar_link']) + # elif master['pki_subsystem'] == "OCSP": + # util.symlink.create(master['pki_ocsp_jar'], + # master['pki_ocsp_jar_link']) + # elif master['pki_subsystem'] == "TKS": + # util.symlink.create(master['pki_tks_jar'], + # master['pki_tks_jar_link']) # set ownerships, permissions, and acls util.directory.set_mode(master['pki_tomcat_webapps_subsystem_path']) return self.rv diff --git a/base/kra/shared/conf/Catalina/localhost/kra.xml b/base/kra/shared/conf/Catalina/localhost/kra.xml index 975ecabf1..8e8627c48 100644 --- a/base/kra/shared/conf/Catalina/localhost/kra.xml +++ b/base/kra/shared/conf/Catalina/localhost/kra.xml @@ -22,7 +22,8 @@ See the License for the specific language governing permissions and limitations under the License. --> -<Context crossContext="true" allowLinking="true"> +<Context crossContext="true" allowLinking="true" + docBase="/usr/share/pki/kra/webapps/kra"> <Valve className="com.netscape.cms.tomcat.SSLAuthenticatorWithFallback" /> diff --git a/base/ocsp/shared/conf/Catalina/localhost/ocsp.xml b/base/ocsp/shared/conf/Catalina/localhost/ocsp.xml index 975ecabf1..5e8e1e77b 100644 --- a/base/ocsp/shared/conf/Catalina/localhost/ocsp.xml +++ b/base/ocsp/shared/conf/Catalina/localhost/ocsp.xml @@ -22,7 +22,8 @@ See the License for the specific language governing permissions and limitations under the License. --> -<Context crossContext="true" allowLinking="true"> +<Context crossContext="true" allowLinking="true" + docBase="/usr/share/pki/ocsp/webapps/ocsp"> <Valve className="com.netscape.cms.tomcat.SSLAuthenticatorWithFallback" /> diff --git a/base/tks/shared/conf/Catalina/localhost/tks.xml b/base/tks/shared/conf/Catalina/localhost/tks.xml index 975ecabf1..56e4e2133 100644 --- a/base/tks/shared/conf/Catalina/localhost/tks.xml +++ b/base/tks/shared/conf/Catalina/localhost/tks.xml @@ -22,7 +22,8 @@ See the License for the specific language governing permissions and limitations under the License. --> -<Context crossContext="true" allowLinking="true"> +<Context crossContext="true" allowLinking="true" + docBase="/usr/share/pki/tks/webapps/tks"> <Valve className="com.netscape.cms.tomcat.SSLAuthenticatorWithFallback" /> |