[FOLIO-995] docker_entrypoint.sh script only accepts one argument in JAVA_OPTS environment variable Created: 19/Dec/17  Updated: 12/Nov/18  Resolved: 20/Dec/17

Status: Closed
Project: FOLIO
Components: Continuous Integration
Affects versions: None
Fix versions: None

Type: Bug Priority: P3
Reporter: Wayne Schneider Assignee: John Malconian
Resolution: Won't Do Votes: 0
Labels: ci, sprint29
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
blocks FOLIO-968 Container RAM usage is getting out of... Closed
Sprint:

 Description   

The standard docker_entrypoint.sh for Java modules launches using this command:

exec java "$JAVA_OPTS" -jar ${VERTICLE_HOME}/module.jar "$@"

Because the variable in the command line is enclosed in quotes, the JVM interprets all switches as one switch.

May also be true of the parameters ($@) – I haven't tested.



 Comments   
Comment by John Malconian [ 20/Dec/17 ]

I've updated all projects to use a new base Docker image that uses a different startup script.

Generated at Thu Feb 08 23:10:03 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.