Announcement Announcement Module
No announcement yet.
Using Soap with JMX Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using Soap with JMX


    I have successfully exposed my bean for JMX using default RMI support. But how to accomplish this using SOAP? Section SOAP in Spring's JMX documentation is not very helpfull .

    I've added such bean section to my working xml conf:

    <bean id="serverConnector" class=" rverFactoryBean">
    <property name="objectName" value="connector:name=soap"/>
    <property name="serviceUrl" value="service:jmx:soap://localhost:18888/axis/services"/>

    But I got such Unsupported protocol: soap.

    What should I do to be able to use Spring JMX support to expose my mbeans using SOAP?

  • #2
    SOAP is not supported by the JMX specs. Some implementations do though, like mx4j(the reference documentation mentions this, if I recall correctly).


    • #3
      Yes, SOAP, Hessian/Burlap protocols are not defined by the JSR 160, but these connectors can be plugged according to this spec.

      Let me rephrase my question...

      In Spring 2.0 docs there is an example how Burlap can be used:

      <bean id="serverConnector" class=" rverFactoryBean">
      <property name="objectName" value="connector:name=burlap"/>
      <property name="serviceUrl" value="service:jmx:burlap://localhost:9874"/>

      My question is "How to SOAP-enable my Spring-crafted MBean server?". Google brings nothing here...


      • #4
        I'm not sure if I understand your question but if you want to use soap or burlap you'll have to use an implementation that supports them (like mx4j). The mx4j documentation explains how to use it if you already have a jmx implementation in the classpath (jdk1.5 for example).