brabster
brabster

Reputation: 43560

What protocol provider to connect to JMX on WebSphere via SOAP?

I'd like to connect to the JMX server on a WebSphere application server instance using a SOAP over HTTP connector but I don't know where to find a compatible SOAP protocol provider.

I get a MalformedURLException when using a JMXServiceURL starting service:jmx:soap:... that says Unsupported protocol: soap. What jar(s)/protocol provider string do I need to include?


Update: I am playing with a standalone Java client.

Upvotes: 3

Views: 2559

Answers (2)

Andreas Veithen
Andreas Veithen

Reputation: 9154

Unfortunately, IBM only provides a proprietary API to connect with SOAP over HTTP. They don't provide an implementation of the standard JMX API for that protocol. I faced the same issue and I developed such a connector (which is basically a thin JMX compliant wrapper around IBM's proprietary API), which is now available as Open Source. You can find more information here:

https://github.com/kszbcss/xm4was/wiki/JmxClientConnector

The following document describes how to set up a standard JMX tool (VisualVM) to use that connector:

https://github.com/kszbcss/xm4was/wiki/VisualVMHowTo

As you can see from these documents, after adding the relevant JARs to the class path and setting the necessary system properties, you would simply connect using wssoap as protocol.

Upvotes: 1

trikelef
trikelef

Reputation: 2204

Check that in the path Application servers > <server_name> > Administration services > JMX connectors the relative SOAPConnector exists and is Enabled.

Refer at Infocenter for more information.

Upvotes: 0

Related Questions