[JIRA] Created: (STS-916) DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (STS-916) DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported

JIRA jira@stripesframework.org
DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported
-------------------------------------------------------------------

                 Key: STS-916
                 URL: http://www.stripesframework.org/jira/browse/STS-916
             Project: Stripes
          Issue Type: Bug
          Components: ActionBean Dispatching
    Affects Versions: Release 1.5.7
         Environment: WildFly 8.0.0.Final
            Reporter: Alessio Stalla


DynamicMappingFilter detects a non-existing resource by catching FileNotFoundException and by controlling whether the HTTP return code for the resource is 404. Unfortunately, in WildFly, the default servlet returns 405 (method not allowed) for POST requests; therefore DynamicMappingFilter does not invoke any Stripes action for those requests, returning 405 to the client instead.

Since the DispatcherServlet understands both GET and POST, imho 405 should always be interpreted as resource not found as well, and the request handled with the DispatcherServlet.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (STS-916) DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported

JIRA jira@stripesframework.org

    [ http://www.stripesframework.org/jira/browse/STS-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050#comment-13050 ]

Haggi commented on STS-916:
---------------------------

started a pull request for this at https://github.com/StripesFramework/stripes/pull/4

> DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported
> -------------------------------------------------------------------
>
>                 Key: STS-916
>                 URL: http://www.stripesframework.org/jira/browse/STS-916
>             Project: Stripes
>          Issue Type: Bug
>          Components: ActionBean Dispatching
>    Affects Versions: Release 1.5.7
>         Environment: WildFly 8.0.0.Final
>            Reporter: Alessio Stalla
>
> DynamicMappingFilter detects a non-existing resource by catching FileNotFoundException and by controlling whether the HTTP return code for the resource is 404. Unfortunately, in WildFly, the default servlet returns 405 (method not allowed) for POST requests; therefore DynamicMappingFilter does not invoke any Stripes action for those requests, returning 405 to the client instead.
> Since the DispatcherServlet understands both GET and POST, imho 405 should always be interpreted as resource not found as well, and the request handled with the DispatcherServlet.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (STS-916) DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported

JIRA jira@stripesframework.org
In reply to this post by JIRA jira@stripesframework.org

     [ http://www.stripesframework.org/jira/browse/STS-916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remi VANKEISBELCK resolved STS-916.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: Release 1.6
                   Release 1.5.8
         Assignee: Remi VANKEISBELCK

Fix untested on WildFly. Please reopen if needed.

> DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported
> -------------------------------------------------------------------
>
>                 Key: STS-916
>                 URL: http://www.stripesframework.org/jira/browse/STS-916
>             Project: Stripes
>          Issue Type: Bug
>          Components: ActionBean Dispatching
>    Affects Versions: Release 1.5.7
>         Environment: WildFly 8.0.0.Final
>            Reporter: Alessio Stalla
>            Assignee: Remi VANKEISBELCK
>             Fix For: Release 1.5.8, Release 1.6
>
>
> DynamicMappingFilter detects a non-existing resource by catching FileNotFoundException and by controlling whether the HTTP return code for the resource is 404. Unfortunately, in WildFly, the default servlet returns 405 (method not allowed) for POST requests; therefore DynamicMappingFilter does not invoke any Stripes action for those requests, returning 405 to the client instead.
> Since the DispatcherServlet understands both GET and POST, imho 405 should always be interpreted as resource not found as well, and the request handled with the DispatcherServlet.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (STS-916) DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported

JIRA jira@stripesframework.org
In reply to this post by JIRA jira@stripesframework.org

    [ http://www.stripesframework.org/jira/browse/STS-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100#comment-13100 ]

Alessio Stalla commented on STS-916:
------------------------------------

I tested it on WildFly 8.1.0.CR2 - works like a charm! Thanks!

> DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported
> -------------------------------------------------------------------
>
>                 Key: STS-916
>                 URL: http://www.stripesframework.org/jira/browse/STS-916
>             Project: Stripes
>          Issue Type: Bug
>          Components: ActionBean Dispatching
>    Affects Versions: Release 1.5.7
>         Environment: WildFly 8.0.0.Final
>            Reporter: Alessio Stalla
>            Assignee: Remi VANKEISBELCK
>             Fix For: Release 1.5.8, Release 1.6
>
>
> DynamicMappingFilter detects a non-existing resource by catching FileNotFoundException and by controlling whether the HTTP return code for the resource is 404. Unfortunately, in WildFly, the default servlet returns 405 (method not allowed) for POST requests; therefore DynamicMappingFilter does not invoke any Stripes action for those requests, returning 405 to the client instead.
> Since the DispatcherServlet understands both GET and POST, imho 405 should always be interpreted as resource not found as well, and the request handled with the DispatcherServlet.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (STS-916) DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported

JIRA jira@stripesframework.org
In reply to this post by JIRA jira@stripesframework.org

    [ http://www.stripesframework.org/jira/browse/STS-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101#comment-13101 ]

Remi VANKEISBELCK commented on STS-916:
---------------------------------------

Cool thank for the verification and the comment.

> DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported
> -------------------------------------------------------------------
>
>                 Key: STS-916
>                 URL: http://www.stripesframework.org/jira/browse/STS-916
>             Project: Stripes
>          Issue Type: Bug
>          Components: ActionBean Dispatching
>    Affects Versions: Release 1.5.7
>         Environment: WildFly 8.0.0.Final
>            Reporter: Alessio Stalla
>            Assignee: Remi VANKEISBELCK
>             Fix For: Release 1.5.8, Release 1.6
>
>
> DynamicMappingFilter detects a non-existing resource by catching FileNotFoundException and by controlling whether the HTTP return code for the resource is 404. Unfortunately, in WildFly, the default servlet returns 405 (method not allowed) for POST requests; therefore DynamicMappingFilter does not invoke any Stripes action for those requests, returning 405 to the client instead.
> Since the DispatcherServlet understands both GET and POST, imho 405 should always be interpreted as resource not found as well, and the request handled with the DispatcherServlet.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development