Web Application WAR file -> General tabbed pane -> Sun-specific Settings button -> Sun-specific Settings dialog box -> Select JNDI from the View drop-down list
In this dialog box, resolve the references between the components in your WAR file.
The References pane lists all of the references to components or resources. The Reference Name
column lists the references in the component's code. For each reference, enter the JNDI names
for any unresolved references in the JNDI Name column.