Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » No results displayed for eclipse application
No results displayed for eclipse application [message #95379] Wed, 11 April 2007 13:43 Go to next message
Pradnya is currently offline PradnyaFriend
Messages: 4
Registered: July 2009
Junior Member
Hello,

I want to modify the functionality of few of the eclipse plug-ins like
org.eclipse.jst.pagedesigner, org.eclipse.ui.ide etc. I have created the
plug-in development project (PDE) and it's running fine with the modified
functionality. Now I want to monitor the performance of this application
using TPTP. Eclipse version of eclipse I am using 3.3.0. I am following
the instructions given on following link for TPTP
usage:http://www.eclipse.org/tptp/platform/documents/tutoria ls/jvmti/Java_Application_Profiling_using_TPTP-v2.0.html.
Since my application is of type PDE, I click on 'Eclipse Application' in
'Profile As' on right click of plug-in modified in my project. But I am
facing following problems:

1) With tptp 4.3:
When I right click on eclipse application and select ‘Profile As’
following error is displayed:

Plug-in org.eclipse.hyades.trace.ui was unable to load class
org.eclipse.hyades.trace.ui.internal.launcher.ProfileRuntime WorkbenchShortcut.
org/eclipse/pde/internal/ui/launcher/RuntimeWorkbenchShortcu t

I read that this version of tptp is not compatible with eclipse 3.3 so I
went for TPTP 4.4

2) With tptp 4.4:
When downloaded the tptp 4.4 from following link,
http://www.eclipse.org/downloads/download.php?file=/tptp/4.4 .0/TPTP-4.4.0-200702211545/tptp.runtime.allInOne.win32.win32 .x86-
TPTP-4.4.0-200702211545.zip

and added the plug-ins into eclipse 3.3, it is not implementing the
following expected things:
a) Display of tab ‘Profiling and Logging’ under windows -> preferences
(setting of agent controller needs to be done here)
b) Profiler icon is displayed only when perspective is set to J2EE and
showing for JAVA perspective.

Could you please tell me the URL to download the complete and working
version of TPTP 4.4?

3) With some working version of tptp plug-ins :
I have some plug-in set of TPTP downloaded previously, don't know which
version but doesn't give any problem while setup or while profiling. I
start the agent controller by executing the <agent controller installation
folder>\bin\ACServer.exe,
execute the command to run the java profiler in controlled mode providing
the eclipse application mode.
When PDE is profiled as an eclipse application, it do not display any
error and starts profiling, you can see the entry added in ‘Profiling
Monitor’ tab, but table under Time Analysis remains blank. It does not
show any results. I am not getting why this is happening and how should
get the desired output.
I don't think this kind of application should be monitored as a java
application but still tried that option. When monitored as a java
application, it asks for a main class displaying a type selection window.
After selecting some main class, the analysis shown is not of the
application selected to profile but it is of some standard java classes,
probably the main class selected in a type selection window.
Please suggest me the correct way of profiling this kind of project.

Thanks and Regards,
Pradnya
Re: No results displayed for eclipse application [message #95451 is a reply to message #95379] Wed, 11 April 2007 18:33 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Pradnya,

>
> 2) With tptp 4.4: When downloaded the tptp 4.4 from following link,
> http://www.eclipse.org/downloads/download.php?file=/tptp/4.4 .0/TPTP-4.4.0-200702211545/tptp.runtime.allInOne.win32.win32 .x86-
> TPTP-4.4.0-200702211545.zip
>
> and added the plug-ins into eclipse 3.3, it is not implementing the
> following expected things:
> a) Display of tab �Profiling and Logging� under windows -> preferences
> (setting of agent controller needs to be done here) b) Profiler icon is
> displayed only when perspective is set to J2EE and showing for JAVA
> perspective.
>
> Could you please tell me the URL to download the complete and working
> version of TPTP 4.4?

Use the following environment:
1. Install Eclipse 3.3 M6
2. Install EMF 2.3 (this is probably the reason why the TPTP 4.4 plugins
didn't work)
3. Install the latest TPTP 4.4 Candidate build from the following link:
http://www.eclipse.org/tptp/home/downloads/?buildId=TPTP-4.4 .0-200703270100D
- Download the "All TPTP Plugins (runtime)" package and extract to the
Eclipse 3.3M6 directory.
- Download and install the Agent controller for your platform. The Agent
controller includes the runtime files for the new JVMTI profiler.


>
> 3) With some working version of tptp plug-ins : I have some plug-in set
> of TPTP downloaded previously, don't know which version but doesn't give
> any problem while setup or while profiling. I start the agent controller
> by executing the <agent controller installation
> folder>\bin\ACServer.exe, execute the command to run the java profiler
> in controlled mode providing the eclipse application mode.
> When PDE is profiled as an eclipse application, it do not display any
> error and starts profiling, you can see the entry added in �Profiling
> Monitor� tab, but table under Time Analysis remains blank. It does not
> show any results. I am not getting why this is happening and how should
> get the desired output.
> I don't think this kind of application should be monitored as a java
> application but still tried that option. When monitored as a java
> application, it asks for a main class displaying a type selection
> window. After selecting some main class, the analysis shown is not of
> the application selected to profile but it is of some standard java
> classes, probably the main class selected in a type selection window.
> Please suggest me the correct way of profiling this kind of project.
>

Eclipse plugins should be profiled with the Eclipse Plugin launch
configuration. This should work fine with the latest TPTP version (BTW -
the Heap profiler will not work in this case due to a known bug. You can
resolve this by downloading the latest Agent Controller Development
build). If you don't see any data, try changing the default filters.
Maybe you're classes are filtered out...

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Re: No results displayed for eclipse application [message #95496 is a reply to message #95451] Thu, 12 April 2007 08:38 Go to previous messageGo to next message
Pradnya is currently offline PradnyaFriend
Messages: 4
Registered: July 2009
Junior Member
Hi Asaf,

Thanks a lot for quick reply!
I followed the procedute you mentioned. Also added the New Java Profiler
client (JVMTI client), New Java Profiler Runtime plug-ins as mentined in
the steps 2.2, 2.3 on following link. But when I tried to profile the
plug-in in from a my PDE project, following error was displayed in the
console. Could you please tell me the possible reason and correction
required.

!SESSION 2007-04-12 12:56:17.523
-----------------------------------------------
eclipse.buildId=I20070323-1616
java.version=1.5.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.sdk.ide Application/'
Application/dev.properties' -pdelaunch
Command-line arguments: -product org.eclipse.sdk.ide -data
D:\eclipse-SDK-3.3M6-win32\workspace/../runtime-EclipseAppli cation
Application/' -dev
'file:D:/eclipse-SDK-3.3M6-win32/workspace/.metadata/.plugin s/org.eclipse.pde.core/Eclipse
Application/dev.properties' -pdelaunch -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2007-04-12 12:56:19.836
!MESSAGE Error reading configuration:
D:\eclipse-SDK-3.3M6-win32\eclipse\'file:D:\eclipse-SDK-3.3M 6-win32\workspace\.metadata\.plugins\org.eclipse.pde.core\Ec lipse\org.eclipse.osgi\.manager\.fileTableLock
(The filename, directory name, or volume label syntax is incorrect)
!STACK 0
java.io.FileNotFoundException:
D:\eclipse-SDK-3.3M6-win32\eclipse\'file:D:\eclipse-SDK-3.3M 6-win32\workspace\.metadata\.plugins\org.eclipse.pde.core\Ec lipse\org.eclipse.osgi\.manager\.fileTableLock
(The filename, directory name, or volume label syntax is incorrect)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at
org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.loc k(Locker_JavaNio.java:30)
at
org.eclipse.osgi.storagemanager.StorageManager.lock(StorageM anager.java:388)
at
org.eclipse.osgi.storagemanager.StorageManager.open(StorageM anager.java:695)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileMa nager(BaseStorage.java:162)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize (BaseStorage.java:139)
at
org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(B aseAdaptor.java:124)
at
org.eclipse.osgi.framework.internal.core.Framework.initializ e(Framework.java:174)
at
org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:147)
at
org.eclipse.osgi.framework.internal.core.OSGi.createFramewor k(OSGi.java:90)
at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:279)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:167)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 476)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
at org.eclipse.equinox.launcher.Main.run(Main.java:1141)
at org.eclipse.equinox.launcher.Main.main(Main.java:1116)
at org.eclipse.core.launcher.Main.main(Main.java:24)
java.io.FileNotFoundException:
D:\eclipse-SDK-3.3M6-win32\eclipse\'file:D:\eclipse-SDK-3.3M 6-win32\workspace\.metadata\.plugins\org.eclipse.pde.core\Ec lipse\config.ini
(The filename, directory name, or volume label syntax is incorrect)
Re: No results displayed for eclipse application [message #95873 is a reply to message #95496] Sun, 15 April 2007 06:29 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
I think the error you see is documented under Bugzilla 179489
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=179489).

Feel free to add yourself to the CC list of this bug to track our progress.

Thanks,
Asaf


Pradnya Bhoite wrote:
> Hi Asaf,
>
> Thanks a lot for quick reply!
> I followed the procedute you mentioned. Also added the New Java Profiler
> client (JVMTI client), New Java Profiler Runtime plug-ins as mentined in
> the steps 2.2, 2.3 on following link. But when I tried to profile the
> plug-in in from a my PDE project, following error was displayed in the
> console. Could you please tell me the possible reason and correction
> required.
>
> !SESSION 2007-04-12 12:56:17.523
> -----------------------------------------------
> eclipse.buildId=I20070323-1616
> java.version=1.5.0_10
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments: -product org.eclipse.sdk.ide Application/'
> Application/dev.properties' -pdelaunch
> Command-line arguments: -product org.eclipse.sdk.ide -data
> D:\eclipse-SDK-3.3M6-win32\workspace/../runtime-EclipseAppli cation
> Application/' -dev
> 'file:D:/eclipse-SDK-3.3M6-win32/workspace/.metadata/.plugin s/org.eclipse.pde.core/Eclipse
> Application/dev.properties' -pdelaunch -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.osgi 4 0 2007-04-12 12:56:19.836
> !MESSAGE Error reading configuration:
> D:\eclipse-SDK-3.3M6-win32\eclipse\'file:D:\eclipse-SDK-3.3M 6-win32\workspace\.metadata\.plugins\org.eclipse.pde.core\Ec lipse\org.eclipse.osgi\.manager\.fileTableLock
> (The filename, directory name, or volume label syntax is incorrect)
> !STACK 0
> java.io.FileNotFoundException:
> D:\eclipse-SDK-3.3M6-win32\eclipse\'file:D:\eclipse-SDK-3.3M 6-win32\workspace\.metadata\.plugins\org.eclipse.pde.core\Ec lipse\org.eclipse.osgi\.manager\.fileTableLock
> (The filename, directory name, or volume label syntax is incorrect)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
> at
> org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.loc k(Locker_JavaNio.java:30)
>
> at
> org.eclipse.osgi.storagemanager.StorageManager.lock(StorageM anager.java:388)
>
> at
> org.eclipse.osgi.storagemanager.StorageManager.open(StorageM anager.java:695)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileMa nager(BaseStorage.java:162)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize (BaseStorage.java:139)
>
> at
> org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(B aseAdaptor.java:124)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.initializ e(Framework.java:174)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:147)
>
> at
> org.eclipse.osgi.framework.internal.core.OSGi.createFramewor k(OSGi.java:90)
> at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:279)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:167)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 476)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1141)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1116)
> at org.eclipse.core.launcher.Main.main(Main.java:24)
> java.io.FileNotFoundException:
> D:\eclipse-SDK-3.3M6-win32\eclipse\'file:D:\eclipse-SDK-3.3M 6-win32\workspace\.metadata\.plugins\org.eclipse.pde.core\Ec lipse\config.ini
> (The filename, directory name, or volume label syntax is incorrect)
>
>
Previous Topic:A time-out occurred while attempting to launch the process
Next Topic:Profiling RCP applications - Heap Analysis
Goto Forum:
  


Current Time: Tue Mar 19 10:38:06 GMT 2024

Powered by FUDForum. Page generated in 0.01976 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top