Hi,
I'm trying to monitor Fuse ESB 4.3.1 with Fuse HQ 4.3.0. The agent is not able to find any servicemix instance because of version number changes in installation path.
I adde the folowing server definition into servicemix-plugin.xml:
<server name="ServiceMix" version="4.3.1-fuse" include="4.3-fuse">
<config>
<!--option name="jmx.url" description="JMX URL to MBeanServer" default="service:jmx:rmi://localhost/jndi/rmi://localhost:1099/karaf-root"/-->
<option name="jmx.url" description="JMX URL to MBeanServer" default="service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root"/>
<option name="jmx.username" description="JMX username" optional="false" default="smx"/>
<option name="jmx.password" description="JMX password" optional="false" default="smx" type="secret"/>
<option name="process.query" description="Process Query" default="State.Name.eq=java,Args.*.ct=karaf.home"/>
</config>
<property name="PROC_HOME_PROPERTY" value="karaf.home"/>
<property name="VERSION_FILE" value="system/org/apache/servicemix/apache-servicemix/4.3.1-fuse*"/>
<property name="DEFAULT_LOG_FILE" value="data/log/servicemix.log"/>
</server>
After this change the agent was able to find servicemix instance, but still can't connect to it:
2011-03-23 19:13:39,043 DEBUG
Thread-2 AutoScan Running AutoServerDetector for: ServiceMix 4.3.1-fuse
2011-03-23 19:13:39,043 DEBUG
Thread-2 MxServerDetector State.Name.sw=java,Args.*.sw=-Dkaraf.home= matched 1 processes
2011-03-23 19:13:39,043 DEBUG
Thread-2 MxServerDetector VERSION_FILE=system/org/apache/servicemix/apache-servicemix/4.3.1-fuse* matches -> 4.3.1-fuse-00-00
2011-03-23 19:13:39,043 DEBUG
Thread-2 MxServerDetector classpath unchanged using: C:\apache-servicemix-4.3.1-fuse-00-00\bin\..
2011-03-23 19:13:39,059 DEBUG
Thread-2 MxServerDetector Cannot configure local jmx.url: State.Name.sw=java,Args.*.eq=-Dkaraf.home=C:\apache-servicemix-4.3.1-fuse-00-00\bin\.. java.lang.reflect.InvocationTargetException
Does anyone know how to solve this issue?
Thanks, Denis.