Java Tutorial - Java Scipt : Troubleshooting Tools

Java Tutorial - Java Scipt :

Troubleshooting Tools


Two common problems occur when working with Web applications that access databases through JNDI. The first one is that often the JNDI name is mistyped, or the container did not place the data source in the expected position
within the JNDI tree. (This later case is a real problem when working with multiple containers.) The second concern is incorrect configuration parameters for the data source or another problem connecting to the database. In this
section, we will briefly look at two simple tools that can help to address these problems.