I'm trying to profile an old application which was built on Eclipse 3.0x
(2004_0916), and get the following error.
(Moving to Java 5.0 is not an option.)
[YourKit Java Profiler 4.0.14] Using JVMPI
[YourKit Java Profiler 4.0.14] *** HINT ***: we recommend using Java 5.0 and JVMTI when possible!
[YourKit Java Profiler 4.0.14] Listening on port 2163...
Error querying the registry:The system cannot find the file specified.
I can the port is open and listening, but cannot connect from the YJP application.
Let me know if you need more info (where can i find the log files if any?).
Thanks.
Unable to profile Application built on Eclipse 3.0x
-
- Posts: 2
- Joined: Tue Jul 19, 2005 7:57 pm
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
1) What does profiler UI say when it cannot connect?Let me know if you need more info (where can i find the log files if any?)
2) Profiler's logs are in ~/.yjp/log directory. Please send them to [email protected]
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
-
- Posts: 2
- Joined: Tue Jul 19, 2005 7:57 pm
The text "Error querying .." is coming from my application. And the application does work without profiling when launched from Eclipse.
I'm using the following Java and Eclipse levels:
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
IDE:
Eclipse SDK
Version: 3.1.0
Build id: I20050627-1435
The IDE is used to launch another Eclipse based application which runs on an older Eclipse level:
Eclipse Platform
Version: 3.0.1.1
Build id: 200410121820
I backed-up the logs and tried to connect again. The log files did not show any errors:
2005-07-20 09:50:52.230 INFO com.yourkit.Main0 : ---------------------------------------------------------------------
2005-07-20 09:50:52.230 INFO com.yourkit.Main0 : Starting application. Build #564; build on Thu Jun 16 19:48:00 EDT 20
05
And YourKit shows a dialog saying "No application beign profiled found."
Note: I have been able to successfully profile with Yourkit before with a different Eclipse and target app. Though, I still consider myself a newbie.
Thanks in advance for your help.
I'm using the following Java and Eclipse levels:
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
IDE:
Eclipse SDK
Version: 3.1.0
Build id: I20050627-1435
The IDE is used to launch another Eclipse based application which runs on an older Eclipse level:
Eclipse Platform
Version: 3.0.1.1
Build id: 200410121820
I backed-up the logs and tried to connect again. The log files did not show any errors:
2005-07-20 09:50:52.230 INFO com.yourkit.Main0 : ---------------------------------------------------------------------
2005-07-20 09:50:52.230 INFO com.yourkit.Main0 : Starting application. Build #564; build on Thu Jun 16 19:48:00 EDT 20
05
And YourKit shows a dialog saying "No application beign profiled found."
Note: I have been able to successfully profile with Yourkit before with a different Eclipse and target app. Though, I still consider myself a newbie.
Thanks in advance for your help.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Could you please try the latest EAP build (http://www.yourkit.com/eap-download )?