standalone.sh version commands use standalone.conf JAVA_OPTS and can move and delete in use GC logs

Solution Unverified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 7.x
    • 8.x

Issue

  • Upon running a version command likestandalone.sh -v, standalone.sh -V, or standalone.sh --version, GC logs were modified, moved to backupgc.log or deleted

Resolution

  • Await improvement in a later EAP 8 update and avoid checking version info through standalone.sh in the meantime. This can be checked instead through other options mentioned in How to check the JBoss EAP 6/7/8 version?

Root Cause

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.