You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Paweł Zuzelski <z...@xatka.net> on 2010/06/11 23:52:23 UTC
Re: [Bug 49422] hudson does not work on tomcat 7.0.0 rc4
On Fri, 11 Jun 2010, bugzilla@apache.org wrote:
> --- Comment #2 from Paweł Zuzelski <pa...@pld-linux.org> 2010-06-11 16:42:26 EDT ---
> There are comments of HUDSON developers, they asked me to paste them here. I
> hope they will be helpful in tracking the problem:
>
> =============================
>
> mindless added a comment - 11/Jun/10 01:09 PM
>
> There may be crazy parts of Hudson bootstrapping but I don't think this part
> is crazy. war/resources/WEB-INF/web.xml is pretty basic, with:
>
> <servlet-mapping>
> <servlet-name>Stapler</servlet-name>
> <url-pattern>/</url-pattern>
> </servlet-mapping>
>
> which should map everything to stapler for handling..
>
> =============================
>
> jieryn added a comment - 11/Jun/10 01:36 PM
>
> Change this to
>
> <servlet-mapping>
> <servlet-name>Stapler</servlet-name>
> <url-pattern>/*</url-pattern>
> </servlet-mapping>
>
> and it will work. I tested this and things appear to be working sanely now.
I got such answer from Hudson developers:
Resolution: Won't Fix
Per Kohsuke's comment above, "/" is valid per the servlet spec. We
hope that Tomcat 7 will fix this prior to their next beta/final
release (or we'll surely hear about this again!)
So, what is your opinion, is it a bug in tomcat?
--
Regards,
Paweł Zuzelski
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org