1 Reply Latest reply on Jun 10, 2009 6:22 AM by Torsten Mielke

    JMX Unmarshalling Error

    Kevan Moran Newbie

      I was trying to use jconsole to invoke the send operation on a servicemix http endpoint and got a java.rmi.UnmarshalException.

       

      After some searching I realised that I needed to set the jconsole's class path to include the servicemix-jbi jar as follows:

       

      jconsole -J-Djava.class.path="C:\Documents and Settings\kmoran\.m2\repository\org\apache\servicemix\servicemix-jbi\3.3.1.1

      2-fuse\servicemix-jbi-3.3.1.12-fuse.jar;C:\Program Files\Java\jdk1.6.0_13\lib\tools.jar;C:\Program Files\Java\jdk1.6.0_13\lib\jconsole.jar;"

       

      All is now happiness in that I can read the error message returned by the jmx server:

      Do not understand pattern: String

       

      The send operation is complaining that I haven't set it's third parameter properly.

       

      Where would  I find documentation on the various operations exposed via JMX?