[jboss-jira] [JBoss JIRA] (WFLY-5238) [Migration operation] [Web to Undertow] Unable to migrate any valve to handler
ehsavoie Hugonnet (JIRA)
issues at jboss.org
Mon Nov 23 12:51:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ehsavoie Hugonnet reassigned WFLY-5238:
---------------------------------------
Assignee: ehsavoie Hugonnet (was: Stuart Douglas)
> [Migration operation] [Web to Undertow] Unable to migrate any valve to handler
> ------------------------------------------------------------------------------
>
> Key: WFLY-5238
> URL: https://issues.jboss.org/browse/WFLY-5238
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 10.0.0.Beta2
> Reporter: Radim Hatlapatka
> Assignee: ehsavoie Hugonnet
>
> In Undertow there are Handlers which can be used similarly as Valves. Some valves have corresponding handler in Undertow. Such valves could be migrated.
> E.g. as part of [EAP7-428] there is added {{io.undertow.server.handlers.RequestDumpingHandler}}.
> This could be thereby migrated from
> {code:xml}
> <subsystem xmlns="urn:jboss:domain:web:2.2" default-virtual-server="default-host" native="false">
> <valve name="request-dumper" module="org.jboss.as.web" class-name="org.apache.catalina.valves.RequestDumperValve"/>
> <virtual-server name="default-host" enable-welcome-root="false">
> <alias name="localhost"/>
> <alias name="example.com"/>
> </virtual-server>
> ...
> </subsystem>
> {code}
> to something like:
> {code:xml}
> <subsystem xmlns="urn:jboss:domain:undertow:3.0">
> <buffer-cache name="default"/>
> <server name="default-server" default-host="default-host">
> <host name="default-host" alias="localhost, example.com">
> <filter-ref name="request-dumper"/>
> </host>
> </server>
> <servlet-container name="default">
> <jsp-config/>
> </servlet-container>
> <filter name="request-dumper" module="io.undertow.core" class-name="io.undertow.server.handlers.RequestDumpingHandler"/>
> ...
> </subsystem>
> {code}
>
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list