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.
Clicking on "Start JConsole Management Console" does not cause jconsole to start - an extra "java.exe" is started but no UI is visible. Subsequently, shutting down of IDE is prompt with a running task of JConsole. Starting jconsole.exe directly does start the program up correctly. Product Version: NetBeans IDE Dev (Build 200711191200) Java: 1.6.0_10-ea; Java HotSpot(TM) Client VM 1.6.0_10-ea-b07 System: Windows Vista version 6.0 running on x86; Cp1252; en_GB (nb)
I cannot see Start JConsole Management Console in the IDE. Where can I find it? Do you use any additional plugin?
Oh - silly me :P You'll need the JMX plug-in from the standard dev UC.
I'm able to invoke JConsole window via "Run" -> "Start JConsole ..." Product Version: NetBeans IDE Dev (Build 20071205045329) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
On my machine the JConsole window never appears. On the other hand, I can run JConsole normally outside of the IDE without any issues. Output Tab: JConsole starting... C:\Program Files\Programming\JavaSE\1.6.0_10\bin\java -classpath "C:\Program Files\Programming\NetBeans\6.1- 200712041200\platform7\lib\boot.jar;C:\Program Files\Programming\NetBeans\6.1-200712041200\platform7\lib\org-openide- modules.jar;C:\Program Files\Programming\NetBeans\6.1-200712041200\platform7\lib\org-openide-util.jar;C:\Program Files\Programming\JavaSE\1.6.0_10\lib\dt.jar;C:\Program Files\Programming\JavaSE\1.6.0_10 \lib\tools.jar;null;C:\Program Files\Programming\JavaSE\1.6.0_10\lib\jconsole.jar" sun.tools.jconsole.JConsole - interval=4 JConsole started --------------------------- Product Version: NetBeans IDE Dev (Build 200712041200) Java: 1.6.0_10-ea; Java HotSpot(TM) Client VM 1.6.0_10-ea-b08 System: Windows Vista version 6.0 running on x86; Cp1252; en_GB (nb)
What is the netbeans JMX module spec and impl number? We fixed a similar problem for netbeans 6.0 FCS (release 3.0). I think that you have installed the JMX module that comes from the dev UC, in this module the bug could occur. Let me know. Thanks.
release60 and trunk have been merged. If you rebuild the JMX module, you will get the fix.
Still reproducible on: Product Version: NetBeans IDE Dev (Build 200712080000) Java: 1.6.0_10-ea; Java HotSpot(TM) Client VM 1.6.0_10-ea-b08 System: Windows Vista version 6.0 running on x86; Cp1252; en_GB (nb) JMX module reports: Version: 3.0.0.30
I don't manage to reproduce on Vista and JDK1.6. I pasted the JConsoe Tab output. I am using Netbeans 6.0 FCS and JMX Module 3.0.0.30 Did you do a fresh install (removal of .netbeans)? JConsole starting... c:\Program Files\Java\jdk1.6.0_03\bin\java -classpath c:\Program Files\NetBeans 6.0\platform7\lib\boot.jar;c:\Program Files\NetBeans 6.0\platform7\lib\org-openide-modules.jar;c:\Program Files\NetBeans 6.0\platform7\lib\org-openide- util.jar;c:\Program Files\Java\jdk1.6.0_03\lib\dt.jar;c:\Program Files\Java\jdk1.6.0_03\lib\tools.jar;null;c:\Program Files\Java\jdk1.6.0_03\lib\jconsole.jar sun.tools.jconsole.JConsole -interval=4 JConsole started
It is indeed a freah install. Note that I'm using JDK6uN(b08), which could potentially be the culprit. However, when I paste the line from the Output Tab into Command Prompt JConsole does start up normally.
Could you past the exact command line that is displayed using JMX 3.0 JMX module? Thanks.
Created attachment 54163 [details] Command line as shown in Output tab
Just to be sure - the JMX module has indeed started up an instance of java.exe in the background, however it is permanently hidden and would need to be forcefully shut down ("Exit IDE") when trying to close down NetBeans IDE.
I am now using latest JDK 6. java version "1.6.0_10-ea" Java(TM) SE Runtime Environment (build 1.6.0_10-ea-b08) Java HotSpot(TM) Client VM (build 1.6.0_10-ea-b08, mixed mode, sharing) Still not able to reproduce... Could you go to Tools/Options/Miscellaneous/JConsole and : 1) Check that you don't have any value in Default Target. This could cause a bad connection to a never responding old process... 2) Please add into the Arguments area: -debug JConsole will then display inside the output tab any exception that could occur. If nothing is displayed, could you connect JConsole to the background process in order to look at running Thread (in the Thread tab). Perhaps that stack will give infos. You can also check for deadlock. Thanks.
Created attachment 54173 [details] Options for JConsole
Created attachment 54174 [details] JConsole Overview
Created attachment 54175 [details] JConsole Memory
Created attachment 54176 [details] JConsole Threads
Created attachment 54177 [details] JConsole VM Summary
After adding "-debug" to the Arguments options, JConsole now starts up properly even if I remove the option later on. So it seems to have something to do with a fresh installtion of the IDE. Every time I upgrade to a new nightly build, I always remove ".nbi" and ".netbeans" (the program directory is removed automatically).
So I think that we run into a kind of Options related persistency problem that I can't explain. I was thinking that all custom data was located inside de .netbeans file, but it seems that it is not the case. Thanks for you investigations. If you don't mind, I will close this bug. Jean-Francois
I have just did a fresh reinstall to the latest nightly build, and even then I was not able to reproduce the issue anymore. Thus I would agree with your conclusions and shall close this issue. Thanks for your kind attention.