Hi Vince,

You need to add the association of the launch configuration with the data 
collector defined in TPTP extension point 
org.eclipse.hyades.trace.ui.launchConfigMechanismAssociator

An example here
        <!-- Make the associations between the launch configurations and 
the data collectors -->
        <extension
 point="org.eclipse.hyades.trace.ui.launchConfigMechanismAssociator">
 
                <!-- Apache Tomcat -->
                <association 
                        launchConfigID = 
"org.eclipse.jst.server.tomcat.core.launchConfigurationType">
 
                        <mechanism mechanismID = 
"org.eclipse.tptp.trace.ui.jvmpiMechanism"> 
                            <configuration
                                        launchDelegate = 
"org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.PIAttachLauncherDelegate"
                                        configurationId = 
"org.eclipse.tptp.trace.ui.jvmpiConfiguration"
                                        associatedAgent = 
"org.eclipse.tptp.trace.ui.jvmpiAgent"
                                        filter = 
"org.eclipse.tptp.platform.profile.server.core.internal.PICollectorFiltration"> 
 
                                </configuration> 
                        </mechanism> 
 
                        <mechanism mechanismID = 
"org.eclipse.tptp.trace.jvmti.jvmtiMechanism"> 
                            <configuration
                                        launchDelegate = 
"org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIAttachLauncherDelegate"
                                        configurationId = 
"org.eclipse.tptp.trace.jvmti.tiConfiguration"
                                        associatedAgent = 
"org.eclipse.tptp.platform.jvmti.TIAgent" 
                                        filter = 
"org.eclipse.tptp.platform.profile.server.core.internal.TICollectorFiltration"> 
 
                                </configuration> 
                        </mechanism> 
 
                </association>

Please look at plugin org.eclipse.tptp.platform.profile.server.core for 
more information.

Regards
___________________________________________

Eugene Chan
IBM Toronto Lab, Canada





From:
Vince Kraemer <vince.krae...@sun.com>
To:
tptp-tracing-profiling-tools-dev@eclipse.org
Date:
07/29/2009 02:21 PM
Subject:
[tptp-tracing-profiling-tools-dev] Server Adapter Issue?
Sent by:
tptp-tracing-profiling-tools-dev-boun...@eclipse.org



Hi,

I am trying to extend the server adapter for GlassFish published by the 
glassfishplugins project to support Profiling with TPTP.

I have gotten to the point where the 'Profile' item is enabled in the 
'right-click' menu of a GlassFish Server.

When I click the 'Profile' item, a dialog opens.  The title is 'Profile 
on Server'.

There are two tabs on the dialog: Monitor and Destination

The Monitor tab is selected.

There is instructions to select data collectors and analysis types... 
but there is nothing to select.

Obviously, my plugin is missing 'something', but I have not been able to 
find what that something is...

Any pointers would be appreciated,
vbk

_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev


_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to