Recipe 25.5 Viewing the JNDI Tree in WebLogic


Problem

You want to view the WebLogic JNDI tree in graphical form.

Solution

Right click on the server name in the WebLogic Administration console and choose "View JNDI Tree."

Discussion

After you have bound an object to JNDI using the Administration console, you can then view the JNDI tree to see if WebLogic has bound your object as intended. Right-click on " My-domain-name Servers Server-name " in the lefthand menu and choose "View JNDI Tree." This generates a new browser window that looks like the one in Figure 25-5.

The new object ("MyEmail") is represented at the top of the tree as a purple dot. This is a nice graphical way of viewing the hierarchical structure of the JNDI tree, including its subdirectories and various objects, that are available to a WebLogic server.

Figure 25-5 shows the "MyEmail" bound object selected in the JNDI tree. Information about the object is displayed in the righthand frame of the browser window.

Figure 25-5. A graphical display of the WebLogic JNDI tree
figs/jsjc_2505.gif

See Also

Recipe 25.4 on configuring a JNDI object on WebLogic; Recipe 25.6 on accessing a JNDI object with a servlet on WebLogic; Recipe 25.7 on accessing a JNDI object with a JSP on WebLogic; Chapter 2 on deploying web components with WebLogic.



Java Servlet & JSP Cookbook
Java Servlet & JSP Cookbook
ISBN: 0596005725
EAN: 2147483647
Year: 2004
Pages: 326

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net