What steps will reproduce the problem?
1.Make a simple .war with only one dependency of urlrewritefilter; configure
rules to forward between different contexts
2. Upload above one .war, with some other that the request is to be forwarded
to, under Tomcat
3. Try to ask the server for a response
What is the expected output? What do you see instead?
The expectation is that the request is correctly forwarded to provided context
and sample data correctly returned. It works sometimes but sometimes does not.
The point is that the filter is validating it's rules against existing
contexts. Unfortunately it may happen that these contexts are not yet being
started. But, as far as I know, there is no possibility to guarantee the start
order of contexts...
What version of the product are you using? On what operating system?
Tomcat 7, windows
Please provide any additional information below.
Maybe the validation can be postponed till first request ? or be configured to
be disabled ?
Till now we have to redploy the .war file with filter after all contexts have
been already started...
Original issue reported on code.google.com by michal.a...@schibsted.pl on 5 Dec 2013 at 1:17
Original issue reported on code.google.com by
michal.a...@schibsted.pl
on 5 Dec 2013 at 1:17