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.
It is not possible to select JDK for Glassfish. When profiling application on Glassfish, it is not possible to select JDK. You can see the dialog with available JDKs, but use selection of JDK is not reflected in Glassfish.
It needs more investigation. Maybe it is bug in Glassfish server plugin.
*** Issue 96286 has been marked as a duplicate of this issue. ***
Preparations for HOL showed that this is a real usability issue. User is confusing which JDK he/she is asked about. There are two JDKs that involved in the process and there is no information that Profiler is not able to make sure that they are both selected correctly and match each other.
Looks like this doesn't work from beginning, the same happens to me also for NB 5.5 and 5.0. To change the JDK GlassFish runs on the AS_JAVA entry in asenv config file has to be modified. Appropriate code provided by the Profiler to modify asenv is in ConfigureProfiler.modifyAsEnvScriptFile, however this method seems to be never called.
Well... it looks like this doesn't work for any of the servers (except for Tomcat). All the J2eePlatforms return null for getJavaPlatform.
Please, detail your request stated in INCOMPLETE keyword. What is missing from this issue description?
The problem isn't related to J2eePlatform.getJavaPlatform(). This issue reports the problem that GlassFish doesn't use JavaPlatform defined in ProfilerServerSettings.getJavaPlatform() when starting in profiling mode.
BTW currently only 3 serverplugins support profiling: Tomcat, AppServer and JBoss. Both Tomcat and JBoss use correct ProfilerServerSettings.getJavaPlatform() for profiling so "this doesn't work for any of the servers" is quite strong statement:o)
whatever
http://deadlock.nbextras.org/fisheye/changelog/netbeans/serverplugins?cs=MAIN:vkraemer:20070423201043
Verified in latest NetBeans continuous build.