This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 64402 - [j2ee app profiling] confusing dialog Select Java Platform for Profiling
Summary: [j2ee app profiling] confusing dialog Select Java Platform for Profiling
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-15 09:04 UTC by Pavel Rehak
Modified: 2007-02-20 18:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Rehak 2005-09-15 09:04:39 UTC
Product Version       = NetBeans IDE Dev (Build 200509141800)
  Operating System      = Windows XP version 5.1 running on x86
  Java; VM; Vendor      = 1.5.0_04-ea; Java HotSpot(TM) Client VM 1.5.0_04-ea-
b02; Sun Microsystems Inc
Profiler Build050915
----
Started with clean userdir, calibrated jdk1.5.0_04.
Added Sun Java Web App server 8.1PE (SJWA).
Created new WebApl with this SJWA. (note its using same jdk as netbeans itself)
When i try to Profile Main Project warning window
"Select Java Platoform for Profiling" appears with confusing:
"The Java Platform for this project cannot be used for profiling."
(as i understand it it should be: "The Java Platform of this project cannot
be used for profiling").

And dialog itself offers selection with only one JDK in it, which is exactly same
JDK as webapp/profiler (use java platform defined in project)/netbeans is already 
using.
Comment 1 Jiri Sedlacek 2005-09-15 10:49:24 UTC
In fact the message means that JDK set for starting the server is not supported 
by the Profiler.

For Tomcat this works, because it has the 1.5 set as default in its customizer. 
However, SJSAS doesn't have similar setting which JDK will be used so the user 
has to define it on its own.

If you set concrete JDK for profiling in Profiler global settings, it will be 
used for starting the server automatically.

The dialog message will be updated accordingly.
Comment 2 Jiri Sedlacek 2005-12-05 11:21:23 UTC
Changed message 
 "The Java Platform for this project cannot be used for profiling."
to
 "The Java Platform this project runs on cannot be used for profiling."

For J2SE project this means that Java Platform of the project (defined in 
project's customizer) cannot be used for profiling.

For J2EE/Web project this means that Java Platform of the server (defined in 
server's customizer) cannot be used for profiling.

Fixed for M12.
Comment 3 Pavel Rehak 2006-03-22 11:10:06 UTC
Seems more clean for me now :-)
Verified.
Comment 4 Alexander Kouznetsov 2007-02-20 10:23:19 UTC
Closing old issues
Comment 5 Alexander Kouznetsov 2007-02-20 18:09:10 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.