I am having trouble in executing the program in the below link.
How to purge/delete message from weblogic JMS queue
Mine is a clustered environment and using the DomainRuntimeServiceMBean
in the service.
Getting the below exception.
javax.management.InstanceNotFoundException:
com.bea:Name=DomainRuntimeService,
Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean
However the single node runs fine but there are no JMS servers it identified as mine in a cluster environment.
Do I need to provide the particular server name under the cluster?