-
1. Re: Wildfly beta 1 seems to ignore web.xml
jason.greene Oct 8, 2013 8:49 PM (in response to dbeer)Does that web.xml have welcome files defined in it?
Is this an official wicketl quickstart we can download and try it out?
-
2. Re: Re: Wildfly beta 1 seems to ignore web.xml
dbeer Oct 9, 2013 11:16 AM (in response to jason.greene)Hi Jason
The web.xml has no welcome file list in it. Here is the source of the web.xml
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <display-name>QuickStart-6.11</display-name> <!-- There are three means to configure Wickets configuration mode and they are tested in the order given. 1) A system property: -Dwicket.configuration 2) servlet specific <init-param> 3) context specific <context-param> The value might be either "development" (reloading when templates change) or "deployment". If no configuration is found, "development" is the default. --> <filter> <filter-name>wicket.QuickStart-6.11</filter-name> <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>com.example.quickstart.WicketApplication</param-value> </init-param> </filter> <filter-mapping> <filter-name>wicket.QuickStart-6.11</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> </web-app>
Yes this is the official Wicket Quickstart as can be found here http://wicket.apache.org/start/quickstart.html.
-
-
4. Re: Wildfly beta 1 seems to ignore web.xml
dbeer Oct 9, 2013 11:46 AM (in response to ctomc)Hi Tomaz
Thanks for this quick response. Would this be available in the nightly build or am I able to download build and check if this fixes the error.
Thanks
David
-
5. Re: Wildfly beta 1 seems to ignore web.xml
ctomc Oct 9, 2013 12:13 PM (in response to dbeer)1 of 1 people found this helpfulFor now you would need to build undertow.
and then include it as part of wildfly. / rebuild wildfly with it.
in short you would need to do something like this:
git clone https://github.com/undertow-io/undertow.git
cd undertow
mvn clean install -DskipTests
then go to wildfly source checkout
and build it with
mvn clean install -DskipTests -Dversion.io.undertow=1.0.0.Beta18-SNAPSHOT
or instead of rebuilding wildfly you could take undertow-servlet-<version> jar that you get as result of undertow build.
and replace the one in WILDFLY_HOME/modules/system/layers/base/io/undertow/servlet
also undertow-core-* should go to WILDFLY_HOME/modules/system/layers/base/io/undertow/core
--
tomaz
-
6. Re: Wildfly beta 1 seems to ignore web.xml
jaikiran Oct 15, 2013 7:49 AM (in response to ctomc)Undertow 1.0.0.Beta18 has been integrated into WildFly upstream. So you can now just download the latest nightly WildFly binary and verify that it fixes the issue. The nightly build is available at WildFly nightly builds available
-
7. Re: Wildfly beta 1 seems to ignore web.xml
dbeer Oct 15, 2013 8:38 AM (in response to jaikiran)Thanks for letting me know. Will download and check.
-
8. Re: Wildfly beta 1 seems to ignore web.xml
ctomc Oct 16, 2013 8:09 AM (in response to dbeer)Does it work?
-
9. Re: Wildfly beta 1 seems to ignore web.xml
dbeer Oct 16, 2013 9:50 AM (in response to ctomc)Hi Tomaz
Yes it works with Beta2-SNAPSHOT build #741 from nightly. Thanks again for this fix.
Thanks
David