---
title: "NetBeans HTTP Monitor 报错的问题"
author: "sassds"
date: "2013-02-22T10:52:03Z"
tags: []
categories: ["开源软件"]
slug: "netbeans-http-monitor"
draft: false
lastmod: "2013-02-22T10:52:03Z"
id: 1812320
url: "https://sassds.iteye.com/blog/1812320"
---

安装了Netbeans以后，启动Tomcat老是会报WARNING \*\*\*\*\*\*\*\*\*\** NetBeans HTTP Monitor \*\*\*\*\*\*\*\*\*\*\** 这样的错误。   
原来是在Tomcat的web.xml中添加了一个filter，注释掉就可以了。   
记住以后用Netbeans的Http Monitor的时候要放开 

  &lt;filter&gt;   
    &lt;filter-name&gt;HTTPMonitorFilter&lt;/filter-name&gt;   
    &lt;filter-class&gt;org.netbeans.modules.web.monitor.server.MonitorFilter&lt;/filter-class&gt;   
    &lt;init-param&gt;   
      &lt;param-name&gt;netbeans.monitor.ide&lt;/param-name&gt;   
      &lt;param-value&gt;localhost:8086&lt;/param-value&gt;   
    &lt;/init-param&gt;   
  &lt;/filter&gt;   
  &lt;filter-mapping&gt;   
    &lt;filter-name&gt;HTTPMonitorFilter&lt;/filter-name&gt;   
    &lt;url-pattern&gt;/\*&lt;/url-pattern&gt;   
    &lt;dispatcher&gt;REQUEST&lt;/dispatcher&gt;   
    &lt;dispatcher&gt;FORWARD&lt;/dispatcher&gt;   
    &lt;dispatcher&gt;INCLUDE&lt;/dispatcher&gt;   
    &lt;dispatcher&gt;ERROR&lt;/dispatcher&gt;   
  &lt;/filter-mapping&gt;