[jboss-jira] [JBoss JIRA] (WFLY-320) Allow jconsole to be launched as a modular application
Darran Lofthouse (JIRA)
issues at jboss.org
Thu Jul 24 08:39:29 EDT 2014
[ https://issues.jboss.org/browse/WFLY-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987665#comment-12987665 ]
Darran Lofthouse edited comment on WFLY-320 at 7/24/14 8:38 AM:
----------------------------------------------------------------
Just marking this as out of date as now the client jar is referenced making a switch to module based class loading redundant.
A switch to modular class loading would actually be bad now as the current situation makes it easier to move the jconsole script to another machine without needing to duplicate modules.
was (Author: dlofthouse):
Just marking this as out of date as now the client jar is referenced making a switch to module based class loading redundant.
A switch to modular class loading would actually be mad now as the current situation makes it easier to move the jconsole script to another machine without needing to duplicate modules.
> Allow jconsole to be launched as a modular application
> ------------------------------------------------------
>
> Key: WFLY-320
> URL: https://issues.jboss.org/browse/WFLY-320
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JMX, Scripts
> Reporter: Brian Stansberry
> Assignee: Darran Lofthouse
> Fix For: 9.0.0.Beta1
>
>
> Make the jconsole scripts launch jconsole as as a modular application. Get rid of the classpath building that resulted in AS7-6498.
> Some (mildly edited) discussion:
> bstansberry: BTW, I filed a JIRA to make the vault tool a proper modular app in AS next. I'm not sure if that's doable for jconsole
> [10:37am] darranl: bstansberry: Yes vault should be modular - I don't believe jconsole is as easily possible unless we add a module for the jconsole classes
> [10:38am] darranl: bstansberry: the problem with jconsole was that we actually needed to call jconsole which I think was a binary so we were just created an extended classpath for that binary to use
> [10:38am] bstansberry: darranl: ok, will do. I didn't file a JIRA for modular jconsole because I figured there would be problems
> [10:39am] darranl: bstansberry: having said that it may be possible now to just switch to use the client jar - that did not exist at the time the jconsole script was first written
> [10:40am] darranl: but at this point may be safer to just update the root of the modules folder and switch to client later
> [10:40am] bstansberry: darranl: this will become more of an issue once we have patching
> [10:40am] bstansberry: since this script won't pick up any patches we may have issued for the listed modules
> [10:40am] bstansberry: and no way are we going to add that to the script
> [10:43am] dmlloyd: I've booted jconsole from within modules before
> [10:43am] dmlloyd: it's possible
> [10:43am] darranl: If it is possbile then maybe we can just make it modular
> [10:44am] dmlloyd: java -jar ~/.m2/repository/org/jboss/modules/jboss-modules/1.1.4.GA/jboss-modules-1.1.4.GA.jar -jar ~/local/jdk/home/lib/jconsole.jar
> [10:44am] dmlloyd: easy as bananas
> [10:45am] dmlloyd: if you use -cp you can also add dependencies via -dep
> [10:45am] dmlloyd: or we could create a jconsole module from openjdk even
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list