Skip to content

Commit

Permalink
Merge pull request DSpace#10031 from saschaszott/patch-53
Browse files Browse the repository at this point in the history
Allow remote debugging (replacing CATALINA_OPTS with JAVA_TOOL_OPTIONS)
  • Loading branch information
kshepherd authored Jan 29, 2025
2 parents ca7851f + 2a4beee commit d95c8fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ RUN apt-get update \
EXPOSE 8080 8000
# Give java extra memory (2GB)
ENV JAVA_OPTS=-Xmx2000m
# Set up debugging
ENV CATALINA_OPTS=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:8000
# enable JVM debugging via JDWP
ENV JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000
# On startup, run DSpace Runnable JAR
ENTRYPOINT ["java", "-jar", "webapps/server-boot.jar", "--dspace.dir=$DSPACE_INSTALL"]

0 comments on commit d95c8fe

Please sign in to comment.