Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Servlet Development Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

3.9 Debugging a Servlet

This section presents some generic, basic advice on how to debug a servlet running in the servlet container. It assumes you already know how to use the debugger for your compiler.

Here are some general principals:

Here is the procedure for debugging a servlet:

  1. Prepare for debugging by either

  2. Verify that the servlet library has been loaded into the container.

  3. There are a number of ways to verify that the servlet library has been loaded, such as by checking the rwagent.log file or by checking the debugger output.

  4. Break execution of the container process so a breakpoint can be set.

  5. Set a break point in the servlet source code.

  6. Outside the debugger, execute a client that sends a request to the servlet.

  7. When the servlet hits the break point, start your debugging.



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.