Hi,

> Hi,
> 
> I jave problems with trying it.
> 
> Can i call JNDIView::list() function from client?
> 
> I do trying 
> 
>             JNDIView aView = (JNDIView)new 
> InitialContext().lookup("JNDIView");
>             System.out.println(aView.list( true ));
> 
> but I get NameNotBoundException. Should I describe JNDI name 
> in the some configuration files?
> I hope it should have standart one.

Take a look at dist/bin, there is a jar called BeanCacheMonitorJMX.jar;
inside it there is the source for a client that monitors the bean cache
looking up an MBean; use it as example to connect to JNDIView MBean and
invoke list() on it.

HTH,

Simon


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to