[java-idp-plugin-jetty] 02/02: JJETTY-18 Discussion: Where to put the jetty temporary location

Rod Widdowson rdw at steadingsoftware.com
Tue Sep 16 19:30:45 UTC 2025


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-idp-plugin-jetty.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-jetty.git;a=commit;h=b320f1ca72c5e07b3d4067fffc9a02cd04906322

commit b320f1ca72c5e07b3d4067fffc9a02cd04906322
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Sep 16 16:34:33 2025 +0100

    JJETTY-18 Discussion: Where to put the jetty temporary location
    
    https://shibboleth.atlassian.net/browse/JJETTY-18
    
    Explicitly create JETTY_TMP for in runjetty.sh
---
 .../main/resources/net/shibboleth/idp/module/jetty/runjetty.sh | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/runjetty.sh b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/runjetty.sh
index 9631562..0d0ac69 100644
--- a/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/runjetty.sh
+++ b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/runjetty.sh
@@ -8,6 +8,7 @@ declare JETTY_BASE
 
 declare JVM_ARGS
 declare JETTY_ARGS
+declare JETTY_TMP
 
 LOCATION=$(dirname $0)
 
@@ -39,7 +40,14 @@ if [ ! -d "$JETTY_BASE/start.d" ] ; then
   exit 1
 fi
 
-JVM_ARGS="-Didp.home=$IDP_HOME -Djdk.tls.ephemeralDHKeySize=2048 -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.Slf4jLog -Djava.io.tmpdir=$JETTY_BASE/tmp -XX:+UseG1GC"
+JETTY_TMP=$IDP_HOME/jetty-dist/jetty-tmp
+if [ ! -e "$JETTY_TMP" ] ; then
+  echo "Creating $JETTY_TMP"
+  mkdir "$JETTY_TMP"
+fi
+
+
+JVM_ARGS="-Didp.home=$IDP_HOME -Djdk.tls.ephemeralDHKeySize=2048 -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.Slf4jLog -Djava.io.tmpdir=$JETTY_TMP -XX:+UseG1GC"
 
 JETTY_ARGS="jetty.base=$JETTY_BASE jetty.logging.dir=$IDP_HOME/logs"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list