KB Article #72096

Connecting the XSR to a JMX console

Problem

-- When trying to connect the XSR to a JMX console an error is returned
-- Error log from the XSR side:
Exception in thread "RMI TCP Connection(3)-10.75.24.16" java.lang.NullPointerException
       at com.axway.xsr.agent.router.net.MultiplexedSocket.getInputStream(MultiplexedSocket.java:208)
       at java.net.Socket$2.run(Unknown Source)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.Socket.getInputStream(Unknown Source)
       at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)


Resolution

* Connecting the XSR to a JMX console (or any external object for that matter) is not possible.
* This is because the XSR sees all its connections as his own multiplexed channels. This not being the case, the connection will fail.