This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 204775 - Using built-in Tomcat 7.0.22 in latest NB builts many "MonitorFilter::WARNING" messages
Summary: Using built-in Tomcat 7.0.22 in latest NB builts many "MonitorFilter::WARNING...
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 7.1
Hardware: PC Mac OS X
: P4 normal with 4 votes (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 14:51 UTC by host
Modified: 2012-11-30 11:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description host 2011-11-07 14:51:31 UTC
Using the latest daily builds with the integrated Tomcat 7.0.22, I receive the following message many, many times in the log output of the webapp (which I have never received):

"MonitorFilter::WARNING: the monitor filter must be the first filter in the chain."

I cannot detect any exception message besides that in NB nor have I done any configuration changes (I am aware off) neither to NB nor my web app.

How can I help to make you able to reporduce?
Comment 1 fisu 2012-03-29 17:01:39 UTC
I'm having the same problem. I think it begun when add Spring Security filters.
Comment 2 Petr Hejl 2012-04-04 13:42:29 UTC
Do you have HTTP monitor option enabled in server properties? Do you use it?
Comment 3 host 2012-04-05 06:08:53 UTC
Since I opened the bug, I have been changing my environment to a clean NetBeans dailies installation (for NetCAT) as well as to a clean Tomcat installation, and the error currently does not appear anymore. Before, when the bug did appear, I had created a new Tomcat server instance in the services tab and added "-Xmx1024m -XX:MaxPermsize=256m" as runtime arguments for the server.
Comment 4 medeag 2012-11-01 08:36:35 UTC
I also see this in logs, Tomcat 7.0.32
HTTP monitor is enabled in options, neither of colleague who uses eclipse has this warning, so i suppose there is something wrong with netbeans

Product Version: NetBeans IDE Dev (Build 201211010001)
Java: 1.7.0_05; Java HotSpot(TM) 64-Bit Server VM 23.1-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_05-b06
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 5 Petr Hejl 2012-11-30 11:16:23 UTC
Well AFAIK monitor is implemented as javax.servlet.Filter. Perhaps you have some other filter deployed before this one. And message is warning about that. If you do not use HTTP monitor just disable it in server properties.