opengoofy / hippo4j

📌 异步线程池框架,支持线程池动态变更&监控&报警,无需修改代码轻松引入。Asynchronous thread pool framework, support Thread Pool Dynamic Change & monitoring & Alarm, no need to modify the code easily introduced.
https://hippo4j.cn
Apache License 2.0
5.59k stars 1.18k forks source link

[Bug] The jvm args do not take effect in docker start script #1537

Open lewis-wu opened 5 months ago

lewis-wu commented 5 months ago

Search before asking

Environment

Mac

Hippo4j version

develop

What happened

The JVM args should be before the jar file name. However, there are the code java -jar hippo4j-server. jar ${JAVA-OPT} in script file 'docker/docker-startup.sh', the jvm args and program args are placed together after the jar file name.

image The screenshot above also shows that the original intention was to output GC information to a specified file, but in reality, there was no corresponding GC log file generated

How to reproduce

Pealse ,restart application ,You can see there are no any gc logs.

Debug logs

image

Are you willing to submit PR?

Code of Conduct