From 775e8c8416e030604360b7237e3f613cfaf7df1b Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 25 Dec 2011 12:54:20 +0100 Subject: [PATCH] =?utf8?q?Startskripte=20f=C3=BCr=20Jetty=20und=20Tomcat?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- cachecontrol-examples/jetty.sh | 11 +++++++++++ cachecontrol-examples/pom.xml | 6 ++++++ cachecontrol-examples/tomcat.sh | 11 +++++++++++ 3 files changed, 28 insertions(+) create mode 100755 cachecontrol-examples/jetty.sh create mode 100755 cachecontrol-examples/tomcat.sh diff --git a/cachecontrol-examples/jetty.sh b/cachecontrol-examples/jetty.sh new file mode 100755 index 00000000..4950796b --- /dev/null +++ b/cachecontrol-examples/jetty.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# + +# OutOfMemoryException beim "mvn jetty:run" umgehen und +# Parameter zum nachträglichen anhängen eines Debuggers +# setzen +export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m -XX:-UseGCOverheadLimit -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n" + +rm -v src/main/webapp/WEB-INF/lib/juplo* + +mvn jetty:run diff --git a/cachecontrol-examples/pom.xml b/cachecontrol-examples/pom.xml index b9ff4437..6d057d3e 100644 --- a/cachecontrol-examples/pom.xml +++ b/cachecontrol-examples/pom.xml @@ -79,6 +79,12 @@ runtime --> + + org.slf4j + ${slf4j.binding} + ${slf4j.version} + runtime + diff --git a/cachecontrol-examples/tomcat.sh b/cachecontrol-examples/tomcat.sh new file mode 100755 index 00000000..4378a128 --- /dev/null +++ b/cachecontrol-examples/tomcat.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# + +# OutOfMemoryException beim "mvn jetty:run" umgehen und +# Parameter zum nachträglichen anhängen eines Debuggers +# setzen +export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m -XX:-UseGCOverheadLimit -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n" + +rm -v src/main/webapp/WEB-INF/lib/juplo* + +mvn tomcat:run-war -- 2.20.1