figured out myself:
question 1: you have to create a "deploy to" configuration as follows:
right-click the project -> deploy to... -> fill in the hot deploy directory of the Fuse ESB installation.
question 2: in IDE the log is written to the console, whereas in Fuse ESB, it is written to the log file /data/log/fuseesb.log.
If you have started the ESB, and have connected to the running server using the JMX integration (or as a fabric). Then Fuse IDE knows about this, and the Deploy To should have the ESB listed.
I know i'm posting into an old thread, but I am having the same issue here.
I cannot see the local FuseESB instance in the JMX Explorer.
I am wondering if there is something missing in either the IDE or ESB configuration that is blocking the JMX integration from working?
This is with Fuse IDE Version: 7.1.60 and Fuse ESB (7.1.0.fuse-047).
Edit: Also using JDK1.7 on Win7 32-bit
Edited by: paul.crossley on Mar 6, 2013 1:54 AM
Could you please try using JDK 1.6 instead? I think that version of Fuse IDE has had problems with Java 7 in the JMX discovery. We already fixed that issue in the upcoming version of IDE.
Thanks for the reply.
I installed JDK1.6.0_43, and I am seeing the same behavior.
The JAVA_HOME has been set to point to JDK 1.6, and I have set the 'Installed JREs' and 'JMX Explorer|Tools' preferences to both point to JDK 1.6.
Ok, first thing to check is if there is anything displayed in the jmx explorer. Do u see any other VM's inside the JMX explorer, for example if you start another eclipse or java process. If yes, then its not the Java7 issue.
If you don't see anything, then you should check in the About Eclipse / Installation Details which JDK/JRE is used by Fuse IDE / Eclipse. It should be Java 6.
As an alternative you could try out the beta release of the upcoming version. You can download the RCP version here: http://repo.fusesource.com/beta/rcp/7.2.30/.
But be warned that this is a beta version and could contain bugs or stability issues.
Hope that helps.
The problem is now resolved. A big thanks for pointing me in the right direction. I am a bit of a Java rookie, so for others who may have a similar problem - these are the steps i went through to resolve the issue.
1. I checked the Eclipse JRE - and it was using JDK1.7. I updated the FuseIDE.ini file to specify to use JDK1.6.
2. The problem was still persisting. So I fired up SQuirreL. This VM did not show up in the JMX explorer. I then fired up JConsole - and noticed that all of the VMs (other than JConsole itself) were greyed out.
3. A bit of googling led me to this article on JConsole http://planeofthought.com/wp/connecting-jconsole-to-local-process-on-windows-7-and-java-6/ I followed the instructions (essentially renaming the %temp%\hsperfdata_%username% to use the correct case). When I checked again in JConsole, I could now see all VMs.
4. Back in FuseIDE, when I start the ESB, I can now see it as expected (and now also the JConsole and SQuirreL VMs as well)
5. I then switched the Eclipse JRE back to 1.7 - and while I could see all of the VMs, the Fuse ESB VM was just another VM, so I switched it back to 1.6.
Thanks again - PaulC
Thanks for sharing your solution and with the link to that article.