4

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?

1 Answer 1

1

The DomainRuntimeServiceMBean is available only on the administrative instance of the WebLogic domain (see http://docs.oracle.com/cd/E13222_01/wls/docs90/wlsmbeanref/mbeans/DomainRuntimeServiceMBean.html?skipReload=true).

You need to connect to the administrative instance of the domain, not to one of the cluster instances to avoid the javax.management.InstanceNotFoundException error.

So please check which instance you are connecting to.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.