Why does JBoss EAP run.sh script uses "eval" to launch the java process?
Issue
In the $JBOSS_HOME/bin/run.sh
script, an eval
is used to launch java
eval "$JAVA" $JAVA_OPTS
Previously, in the old script, this was not done
"$JAVA" $JAVA_OPTS
This change broke our start-up scripts that initialize a bunch of JVM/JBoss parameters and call run.sh.
Any reason why this change was made?
Environment
JBoss Enterprise Application Server (EAP) 5.0.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.