[jboss-jira] [JBoss JIRA] (WFLY-1392) jconcole.sh - correct PATH for calling jconsole
Aleksandar Kostadinov (JIRA)
jira-events at lists.jboss.org
Mon Aug 19 15:27:26 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797740#comment-12797740 ]
Aleksandar Kostadinov commented on WFLY-1392:
---------------------------------------------
It seems like the script crafted from some other one. Setting $JAVA is useless because it is not used anywhere. Instead $JCONSOLE needs to be set and later called.
> jconcole.sh - correct PATH for calling jconsole
> ------------------------------------------------
>
> Key: WFLY-1392
> URL: https://issues.jboss.org/browse/WFLY-1392
> Project: WildFly
> Issue Type: Bug
> Components: Scripts
> Affects Versions: 8.0.0.Alpha1
> Reporter: Frank Langelage
> Assignee: Brian Stansberry
> Priority: Minor
>
> jconsole.sh checks for correct setting of JAVA_HOME and adds libraries from JAVA_HOME to the CLASSPATH.
> But at the end, jconsole is called with out path.
> So if jconsole is found somewhere else this is used.
> Last line shoud be changed from
> jconsole -J-Djava.class.path="$CLASSPATH"
> to
> $JAVA_HOME/bin/jconsole -J-Djava.class.path="$CLASSPATH"
> to make sure that libs and bin are used from the same directory.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list