summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/common/shared/conf/tomcat.conf6
-rw-r--r--base/deploy/config/pkislots.cfg1
-rw-r--r--base/deploy/src/scriptlets/pkiparser.py2
3 files changed, 4 insertions, 5 deletions
diff --git a/base/common/shared/conf/tomcat.conf b/base/common/shared/conf/tomcat.conf
index 7b8f87cb5..57a3d1509 100644
--- a/base/common/shared/conf/tomcat.conf
+++ b/base/common/shared/conf/tomcat.conf
@@ -14,10 +14,6 @@
# (see, for instance, /etc/sysconfig/tomcat)
#
-if [ -f /etc/pki/pki.conf ] ; then
- . /etc/pki/pki.conf
-fi
-
# Where your java installation lives
#JAVA_HOME="/usr/lib/jvm/jre"
@@ -37,7 +33,7 @@ CATALINA_TMPDIR=[PKI_TMPDIR]
#JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Djava.awt.headless=true -Xmx128M"
# RESTEasy
-JAVA_OPTS="$JAVA_OPTS -DRESTEASY_LIB=${RESTEASY_LIB}"
+JAVA_OPTS="$JAVA_OPTS -DRESTEASY_LIB=[PKI_RESTEASY_LIB]"
# What user should run tomcat
TOMCAT_USER="[PKI_USER]"
diff --git a/base/deploy/config/pkislots.cfg b/base/deploy/config/pkislots.cfg
index ee75154ce..1cb463bfe 100644
--- a/base/deploy/config/pkislots.cfg
+++ b/base/deploy/config/pkislots.cfg
@@ -65,6 +65,7 @@ PKI_PROXY_SECURE_PORT_SLOT=[PKI_PROXY_SECURE_PORT]
PKI_PROXY_UNSECURE_PORT_SLOT=[PKI_PROXY_UNSECURE_PORT]
PKI_RANDOM_NUMBER_SLOT=[PKI_RANDOM_NUMBER]
PKI_REGISTRY_FILE_SLOT=[PKI_REGISTRY_FILE]
+PKI_RESTEASY_LIB_SLOT=[PKI_RESTEASY_LIB]
PKI_SECURE_PORT_SLOT=[PKI_SECURE_PORT]
PKI_SECURE_PORT_CONNECTOR_NAME_SLOT=[PKI_SECURE_PORT_CONNECTOR_NAME]
PKI_SECURE_PORT_SERVER_COMMENT_SLOT=[PKI_SECURE_PORT_SERVER_COMMENT]
diff --git a/base/deploy/src/scriptlets/pkiparser.py b/base/deploy/src/scriptlets/pkiparser.py
index 8f351ac55..e4a6aed85 100644
--- a/base/deploy/src/scriptlets/pkiparser.py
+++ b/base/deploy/src/scriptlets/pkiparser.py
@@ -562,6 +562,8 @@ class PKIConfigParser:
"<!--"
config.pki_master_dict['PKI_TMPDIR_SLOT'] =\
config.pki_master_dict['pki_tomcat_tmpdir_path']
+ config.pki_master_dict['PKI_RESTEASY_LIB_SLOT'] =\
+ config.pki_master_dict['resteasy_lib']
config.pki_master_dict['PKI_RANDOM_NUMBER_SLOT'] =\
config.pki_master_dict['pki_one_time_pin']
config.pki_master_dict['PKI_SECURE_PORT_SLOT'] =\