Its an mbean not an object in JNDI. You have to use the JMX agent view
to access the bean. Use the html protocol adapator by browsing
http://localhost:8082/ViewObjectRes//DefaultDomain%3Aservice%3DJNDIView

----- Original Message ----- 
From: "Darius Davidavicius" <[EMAIL PROTECTED]>
To: "JBoss-User" <[EMAIL PROTECTED]>
Sent: Thursday, March 01, 2001 6:53 AM
Subject: [jBoss-User] Re: [jBoss-Dev] JNDIView mbean updated to display java: and 
deployed app java:comp


> 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.
> 
> Thanks for info,
> D&D
> 
> 
> 
> 
> 
> Darius Davidavicius
> Living-Source
> http://www.living-source.com/team_employee.php3?e_id=9&e_nextid=2
> ICQ: 18325334
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]
> 
> 



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

Reply via email to