Setting Up the HTTP Server-Side Monitor

See Also

The HTTP Server-Side Monitor is enabled and displayed by default when you deploy to the Tomcat Web Server. For the Glassfish application server, you must enable it manually. If the HTTP Server-Side Monitor does not display or if it does not show the session data for a running web application, ensure that it is enabled as described below.

To manually display the HTTP Server-Side Monitor:

To enable the HTTP Server-Side Monitor for servers that are started from the IDE:
  1. Right-click your server's node in the Services window's Servers node.
  2. Choose Properties.
  3. Select the Enable HTTP Monitor checkbox.
  4. If the server is running, stop and restart it.

The HTTP Server-Side Monitor is now enabled and will appear when you deploy your application.

To enable the HTTP Server-Side Monitor for servers that are started outside the IDE:

  1. Copy the following two files to your web application's WEB-INF/lib folder:
    tip  The Glassfish application server has its own schema2beans.jar. Therefore, when you are using the Glassfish application server, only copy httpmonitor.jar to your web application's WEB-INF/lib folder.
  2. Add the filter declaration that is appropriate for your servlet's version to the top of your web application's WEB-INF/web.xml file. Filters and filter mapping entries must come first in a deployment descriptor.
  3. To monitor the data records from a web application using more than one IDE, add a second init-param entry as follows:
      <init-param>
      <param-name>netbeans.monitor.register</param-name>
      <param-value>
      other-IDE-host:other-HTTP-server-port,
      another-IDE-host:another-HTTP-server-port</param-value>
      </init-param>
    
See Also
About the HTTP Server-Side Monitor
Working with the HTTP Server-Side Monitor
Analyzing Session Data
Saving Session Data
Replaying Session Data

Legal Notices