Sun Java Solaris Communities My SDN Account Join SDN
 
Article

Java Naming and Directory Interface (JNDI) Tree Browser User's Guide

 
You can use the Java Naming and Directory Interface (JNDI) Tree Browser to view the objects that are bound to the JNDI tree of a Sun ONE Application Server instance. That way, you can verify the resource names before adding them to the lookup code and thus minimize programming errors.
To deploy the JNDI Tree Browser on Sun ONE Application Server 7, follow these steps:
 
  1. Download the Web archive (WAR) file to your file system.
  2. Start Sun ONE Application Server Administration Console.
  3. Expand App Server Instances in the left navigation bar.
  4. In the left navigation bar, expand the server instance to which you want to deploy the browser, for example, server1.
  5. Click Web Apps.
  6. In the main window, click Deploy.
    The Upload WAR File page for the server instance is displayed.
  7. Click Browse, then locate from the file system the WAR file you downloaded in step 1.
    The Applications: Web: Deploy page is displayed with already-specified fields completed.
  8. Click OK.
    The Applications: Web page is displayed, which shows the application name, its file location and status, and the name of the virtual server.
  9. Click the Apply Change link at the top right of the page.
    The information under General of the configuration screen for your server instance is then displayed.
  10. Click Apply Changes below the tabs.
    This message is then displayed: "Changes applied to instance."
To access the application, point your browser to:
 
http://servername:port_number/jndiTree/index.html
 

Back to top