Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-17500

[GSS](7.2.z) UNDERTOW-1589 - 500 response code still sent if large JSP include is nested within custom tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.6.CR1, 7.2.6.GA
    • 7.2.3.GA
    • Undertow
    • None
    • +
    • Workaround Exists
    • Hide

      Set a buffer size larger than the largest included file size:

              <subsystem xmlns="urn:jboss:domain:io:3.0">
                  <worker name="default"/>
                  <buffer-pool name="default" buffer-size="65536"/>
              </subsystem>
      
      Show
      Set a buffer size larger than the largest included file size: <subsystem xmlns= "urn:jboss:domain:io:3.0" > <worker name= " default " /> <buffer-pool name= " default " buffer-size= "65536" /> </subsystem>
    • Hide

      -Deploy 02443365.war
      -Request /02353405/bigtest.jsp and note 500 response

      Show
      -Deploy 02443365.war -Request /02353405/bigtest.jsp and note 500 response

      This is a follow up from UNDERTOW-1525. After that fix, an equivalent issue is still seen if the included file is larger than the buffer size.

      DEBUG [io.undertow.request.io] (default task-2) UT005013: An IOException occurred: java.io.IOException
      	at io.undertow.servlet.core.BlockingWriterSenderImpl.invokeOnComplete(BlockingWriterSenderImpl.java:222)
      	at io.undertow.servlet.core.BlockingWriterSenderImpl.send(BlockingWriterSenderImpl.java:76)
      	at io.undertow.server.handlers.resource.PathResourceServerTask.run(PathResource.java:178)
      	at io.undertow.server.handlers.resource.PathResource.serveImpl(PathResource.java:247)
      	at io.undertow.server.handlers.resource.PathResource.serve(PathResource.java:105)
      	at org.wildfly.extension.undertow.deployment.ServletResource.serve(ServletResource.java:96)
      	at io.undertow.server.handlers.resource.CachedResource.serve(CachedResource.java:168)
      	at io.undertow.servlet.handlers.DefaultServlet.serveFileBlocking(DefaultServlet.java:345)
      	at io.undertow.servlet.handlers.DefaultServlet.doGet(DefaultServlet.java:185)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
      	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
      	at com.nm.servlet.filter.RefreshableFilter.doFilter(RefreshableFilter.java:104)
      	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
      	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
      	at com.nm.servlet.filter.AbTestFilter.doFilter(AbTestFilter.java:60)
      	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
      	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
      	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
      	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:266)
      	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToServlet(ServletInitialHandler.java:211)
      	at io.undertow.servlet.spec.RequestDispatcherImpl.includeImpl(RequestDispatcherImpl.java:352)
      	at io.undertow.servlet.spec.RequestDispatcherImpl.include(RequestDispatcherImpl.java:265)
      	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:907)
      

              rhn-support-iweiss Ingo Weiss
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: