Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Server Adapter Issue?

Hi Vince,

I don't know which dialog you're talking about, but since I don't recognize the tabs I don't think it comes from WTP. All we really need from a WTP server standpoint is a launch configuration to exist for the 'profile' launch mode, and everything else is handled by your launch configuration and/or TPTP.

If you don't want to deal with TPTP directly, there is an old hook that allows most server types to inject profiling into the launch configuration without knowing much about profiling. Take a look at the use of ServerProfilerDelegate in Tomcat's launch configuration delegate (org.eclipse.jst.server.tomcat.core.internal.TomcatLaunchConfigurationDelegate). If your (or Glassfish's) launch configuration does something similar it should be all you need to get basic profiling going.

Hope this helps,
Tim deBoer

From: Vince Kraemer <Vince.Kraemer@xxxxxxx>
To: wtp-dev@xxxxxxxxxxx
Date: 07/27/2009 08:32 PM
Subject: [wtp-dev] Server Adapter Issue?


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...

I have tried to define the
org.eclipse.hyades.trace.ui.launchconfigMechanismAssociator, but that
had no effect on the Profile on Server dialog (as best I can tell)...

Any pointers would be appreciated,

wtp-dev mailing list

Back to the top