tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61681] New: UnsupportedOperationException in ApplicationPushBuilder if request is forwarded
Date Fri, 27 Oct 2017 16:26:33 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61681

            Bug ID: 61681
           Summary: UnsupportedOperationException in
                    ApplicationPushBuilder if request is forwarded
           Product: Tomcat 9
           Version: 9.0.1
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: chiptv@web.de
  Target Milestone: -----

Created attachment 35473
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35473&action=edit
maven example application with README.md

If the request is forwarded, it is not possible to create a
ApplicationPushBuilder via the request object. I attached an example maven
application which could be deployed to Tomcat 9.0.1 with enabled HTTP/2
support.

Stack:
```
java.lang.UnsupportedOperationException: Unable to find the underlying Coyote
request object (which is required to create a push request) from the request of
type [org.apache.catalina.connector.RequestFacade]
        org.example.PushFilter.doFilter(PushFilter.java:26)
       
org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
       
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
        org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
       
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
       
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message