jconsole.bat is not passing command line arguments down to jconsole.exe in JBoss EAP 6.4
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.4 CP1
Issue
- jconsole.bat is not passing command line arguments down to jconsole.exe in JBoss EAP 6.4
Resolution
See which cumulative patch (CP) resolves it: This content is not included.jconsole.bat not passing command line arguments to jconsole.exe
Or modify the jconsole.bat to fix it as shown below:
Workaround:
Edit %JBOSS_HOME%/bin/jconsole.bat
Change this line from:
"%JAVA_HOME%\bin\jconsole.exe" "-J-Djava.class.path=%CLASSPATH%"
To:
if "%*" == "" (
"%JAVA_HOME%\bin\jconsole.exe" "-J-Djava.class.path=%CLASSPATH%"
) else (
"%JAVA_HOME%\bin\jconsole.exe" "-J-Djava.class.path=%CLASSPATH%" %*
)
Root Cause
This content is not included.jconsole.bat not passing command line arguments to jconsole.exe
SBR
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.