Skip to content

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

@lewis-wu

Description

@lewis-wu

Search before asking

  • I had searched in the issues and found no similar issues.

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?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions