Forum Home » Enterprise Products » Fuse HQ

Thread: Fuse HQ with Fuse ESB 4.3.1 - InvocationTargetException in agent

 
This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Mar 28, 2011 10:10 PM Last Post By: ubhole Threads: [ Previous | Next ]
sdv0967

Posts: 8
Registered: 03/23/11
Fuse HQ with Fuse ESB 4.3.1 - InvocationTargetException in agent
Posted: Mar 23, 2011 4:38 PM
 
  Click to reply to this thread Reply
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.
ubhole

Posts: 139
Registered: 05/12/08
Re: Fuse HQ with Fuse ESB 4.3.1 - InvocationTargetException in agent
Posted: Mar 28, 2011 10:10 PM   in response to: sdv0967 in response to: sdv0967
 
  Click to reply to this thread Reply
Can you attach full agent log to this post?

Regards,

Ulhas Bhole