# HG changeset patch
# User smith@nwoca.org
# Date 1452284651 0
# Node ID 6a4ba408b8c4a7e0a69360882077a88b60db97d7
# Parent 06461e89e3e521d4b936e3ca40b4030365398a2f
improve tomcat configuration
diff -r 06461e89e3e5 -r 6a4ba408b8c4 tomcat/Dockerfile
--- a/tomcat/Dockerfile Mon Dec 28 20:46:54 2015 -0500
+++ b/tomcat/Dockerfile Fri Jan 08 20:24:11 2016 +0000
@@ -10,6 +10,7 @@
WORKDIR /usr/local/tomcat
COPY setenv.sh bin/
+COPY tomcat-users.xml server.xml context.xml conf/
RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \
&& chmod +x bin/setenv.sh
diff -r 06461e89e3e5 -r 6a4ba408b8c4 tomcat/context.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tomcat/context.xml Fri Jan 08 20:24:11 2016 +0000
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
diff -r 06461e89e3e5 -r 6a4ba408b8c4 tomcat/server.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tomcat/server.xml Fri Jan 08 20:24:11 2016 +0000
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 06461e89e3e5 -r 6a4ba408b8c4 tomcat/setenv.sh
--- a/tomcat/setenv.sh Mon Dec 28 20:46:54 2015 -0500
+++ b/tomcat/setenv.sh Fri Jan 08 20:24:11 2016 +0000
@@ -2,8 +2,9 @@
#
echo "__________________________________________"
+export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseG1GC"
+export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseStringDeduplication "
export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseCompressedOops"
-
export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom"
echo "Using CATALINA_OPTS $CATALINA_OPTS"
diff -r 06461e89e3e5 -r 6a4ba408b8c4 tomcat/tomcat-users.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tomcat/tomcat-users.xml Fri Jan 08 20:24:11 2016 +0000
@@ -0,0 +1,9 @@
+
+
+
+
+
+
\ No newline at end of file