Maintenance is complete- We've moved from the domain to click to read more
As part of our journey to complete our separation work and our future integration with Micro Focus, we've now updated our domain for the community. This is an interim step, which will be followed by a series of future update / improvements: - Piloting Idea boards - Refreshing the entire UI. (more to come later) - and more
UCMDB and UD Practitioners Forum (Previously CMS)

Perform jmx commands from the commandline

Go to solution
Respected Contributor.

Perform jmx commands from the commandline


I am trying to perform jmx command, deleting a ci from the ucmdb.
I've found an examples here:

But when run this action:
java -jar cmdline-jmxclient-0.10.3.jar sysadmin:mypwd myucmdbhost.lab.loc:3830 "UCMDB:Service=Model Services" removeCMDBObject=1,ac94b8debc6c0eb4eefc3b7e39e4e0de

I get this error:
Exception in thread "main" Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint]

In other examples i found that the port 29601 was used but there is no listener on the ucmdb server on that port, we have changed the ucmdb port
from 8080 to 3830 thats why i use that. There is no firewall between or running on any of the server, connection is no issue on that port.

I hope someone has this working and can help me?
I use ucmdb 10.11.


Honored Contributor.

Re: Perform jmx commands from the commandline

Did you start the UCMDB server with JMX-RMI support?

Check your settings in the wrapper.conf file located in the bin directory on your UCMDB server:

#Uncomment the following lines to enable monitoring and management using JMX technology.

You should uncomment the lines containing .14, .15 and possibly .16 (am not sure).

If you do that, restart your server and then you can try the command line client again.


Respected Contributor.

Re: Perform jmx commands from the commandline

Hi Rutger,


You're great! Now that port is running and its working like a charm..this offers great features for me..