My site also become broken in production and now always returning 404 errors :(
I tried to downgrade to 1.3.2 but the problem persists. On Apr 23, 4:59 am, Steve Ziegler <[email protected]> wrote: > Seeing the same thing with our application's use of guice-servlet. > Tested a deployment using 1.3.3 this afternoon and started getting a > ton of 404s > > -Steve Ziegler > > On Apr 22, 9:43 am, Miroslav Genov <[email protected]> wrote: > > > > > Sorry about the mistaken, I mean: " on GAE or in the sitebricks > > library." instead of " sitebricks or in the sitebricks library." > > > Regards, > > Miroslav > > > On 04/22/2010 04:25 PM, Miroslav Genov wrote: > > > > Hello, > > > It seems that some things are a little bit changed in the latest > > > version of GAE. Today I had time to migrate from 1.3.0 to 1.3.3 but > > > there are some problems. In my application we are using google > > > sitebricks as an template engine for rendering of html pages but it > > > doesn't work correctly on GAE 1.3.3. First I wasn't sure where is the > > > problem in sitebricks or in the sitebricks library. To check which one > > > is broken I made a sample servlet filter which is acting as a > > > dispatcher of all incomming requests and checks whether uri contains > > > test or mypage and prints text "Hello" as output in other case > > > processes request throught the chain. > > > > Here is the full source of my filter which filters all incomming > > > requests: "/*" > > > @Singleton > > > public class TestFilter implements Filter { > > > private Logger log = Logger.getLogger(TestFilter.class.getName()); > > > > public void init(FilterConfig filterConfig) throws ServletException { > > > > } > > > > public void doFilter(ServletRequest req, ServletResponse resp, > > > FilterChain filterChain) throws IOException, ServletException { > > > HttpServletRequest request = (HttpServletRequest) req; > > > HttpServletResponse response = (HttpServletResponse) resp; > > > final String uri = request.getRequestURI(); > > > log.info("Uri:" + uri); > > > > if (uri.contains("test") || uri.contains("mypage")) { > > > response.getWriter().write("Hello"); > > > } else { > > > filterChain.doFilter(req, resp); > > > } > > > > } > > > > public void destroy() { } > > > } > > > > In 1.3.0 the following code is working on both: local server and > > > deployed on GAE, but on 1.3.3 it only works in local environment and > > > is not working when is deployed on GAE. On GAE 1.3.3 when "/test" url > > > is requested the log file of the server is appended with the following > > > message: "No handlers matched this URL." > > > > Any ideas what is causing this issue ? > > > > Regards, > > > Miroslav > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine-java?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
