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 236064 - HTTP Monitor doesn't work with async-supported
Summary: HTTP Monitor doesn't work with async-supported
Status: REOPENED
Alias: None
Product: javaee
Classification: Unclassified
Component: HTTP Monitor (show other bugs)
Version: 7.3.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 10:59 UTC by JosepPanadero
Modified: 2017-08-09 08:23 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 JosepPanadero 2013-09-17 10:59:08 UTC
Error when HTTP Monitor is active (tested on Tomcat 7.0.34):

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: Async support must be enabled on a servlet and for all filters involved in async request processing. This is done in Java code using the Servlet API or by adding "<async-supported>true</async-supported>" to servlet and filter declarations in web.xml.

HTTP Monitor adds a filter to /conf/web.xml:
  <filter>
    <filter-name>HTTPMonitorFilter</filter-name>
    <filter-class>org.netbeans.modules.web.monitor.server.MonitorFilter</filter-class>
    <init-param>
      <param-name>netbeans.monitor.ide</param-name>
      <param-value>127.0.0.1:8082</param-value>
    </init-param>
  </filter>

This filter doesn't has the <async-supported>true</async-supported> tag.

There are two Work arounds:
a) Edit /conf/web.xml and add the missing async support to the filter tag.
b) Mark "Enable HTTP Monitor" as disabled.
Comment 1 Martin Balin 2016-07-07 08:53:09 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 2 Petr Jiricka 2017-08-09 08:23:34 UTC
Verifying that this is still present in NetBeans 8.2 - reopening.