Skip to content

Commit

Permalink
Merge pull request #424 from terrestris/fix-warning
Browse files Browse the repository at this point in the history
Set -Djdk.serialSetFilterAfterRead=true to hide keycloak warning in logs
  • Loading branch information
dnlkoch authored Feb 15, 2022
2 parents b48c63f + 1c1d355 commit 5b7d3a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@
<container>
<jvmFlags>
<jvmFlag>-Djava.security.egd=file:/dev/./urandom</jvmFlag>
<jvmFlag>-Djdk.serialSetFilterAfterRead=true</jvmFlag>
</jvmFlags>
<creationTime>EPOCH</creationTime>
</container>
Expand Down
2 changes: 1 addition & 1 deletion shogun-boot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ENTRYPOINT [ \
"mvn", \
"spring-boot:run", \
"-Dspring-boot.run.profiles=base,boot", \
"-Dspring-boot.run.jvmArguments=-Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4711", \
"-Dspring-boot.run.jvmArguments=-Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4711 -Djdk.serialSetFilterAfterRead=true", \
# enable this line when using a custom application.yml
# "-Dspring.config.location=/config/application.yml", \
"-Djava.security.egd=file:/dev/./urandom", \
Expand Down

0 comments on commit 5b7d3a4

Please sign in to comment.