[jbosstools-issues] [JBoss JIRA] (JBIDE-17315) Investigate org.eclipse.jst.server.core.serverProfilers ext.pt.

Rob Stryker (JIRA) issues at jboss.org
Tue Jan 27 07:02:48 EST 2015


     [ https://issues.jboss.org/browse/JBIDE-17315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker resolved JBIDE-17315.
---------------------------------
      Assignee: Rob Stryker
    Resolution: Rejected


The extension point doesn't seem useful for us.  We don't need the agent jar to properly profile the server (which we can do via simple jmx requests for the most part, unless we need instrumentation).  We also don't need to customize any launch args or do anything else. Basically, jvmmonitor provides it all 100% for free. 

> Investigate org.eclipse.jst.server.core.serverProfilers ext.pt.
> ---------------------------------------------------------------
>
>                 Key: JBIDE-17315
>                 URL: https://issues.jboss.org/browse/JBIDE-17315
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: jmx, server
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>             Fix For: 4.3.0.Alpha1
>
>
> The extension point provided in upstream WTP for declaring server profilers is called org.eclipse.jst.server.core.serverProfilers.
> The primary function of the implementation class org.eclipse.jst.server.core.ServerProfilerDelegate is adding arguments to launches in order to enable the proper agent. 
> If used with other profilers, arguments may need to be appended to the launch in order to enable the profiling. 
> If used via JVM Monitor, though, no real arguments are required, as JVM Monitor can install its agent directly without any changes on the part of the launch. 
> However, if we assume that JBIDE-17313 is solved and we can detect the duplicates, we could prevent the agent from being installed. We would be preventing the auto-detector from being added to the view. On our server startup, then, and only when profiling is enabled, we would connect the underlying jvmmonitor's agent and allow profiling. 
> This could be accomplished via a custom attribute on the launch configuration which could be flipped by the user via a radio / check button to enable or disable the profiler. 



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list