SessionScoped not working on GAE+Jersey+Guice

2014-06-12 Thread Michal Sankot
Hey, I have a GAE Java project where I use Jersey (1.17) and Guice (3.0). SessionScoped beans work in local dev, but don't work when deployed on GAE. The problem is that they don't keep session state. Sessions are enabled in web.xml: sessions-enabledtrue/sessions-enabled My Session bean

Re: Issue 807 in google-guice: FilterDefinition should wrap the servlet request like ServletDefinition

2014-06-12 Thread google-guice
Comment #3 on issue 807 by james.mo...@gmail.com: FilterDefinition should wrap the servlet request like ServletDefinition http://code.google.com/p/google-guice/issues/detail?id=807 I tried that... but (using my above example) the result is: Request URI: /context/dir/com/google/whatever.java

Comment on revision r38120b77a32674256dd5092278a84c52eeb20398 in google-guice

2014-06-12 Thread google-guice
Comment by sberlin: Score: Neutral General Comment: needs tests that would have failed prior to fixing the problems here (as well as the problems described in issue 788). Line-by-line comments: File: /core/src/com/google/inject/matcher/Matchers.java

Re: Issue 807 in google-guice: FilterDefinition should wrap the servlet request like ServletDefinition

2014-06-12 Thread google-guice
Comment #4 on issue 807 by sberlin: FilterDefinition should wrap the servlet request like ServletDefinition http://code.google.com/p/google-guice/issues/detail?id=807 Yup, patches with regression/unit tests are very welcome. -- You received this message because this project is configured to

Re: Issue 807 in google-guice: FilterDefinition should wrap the servlet request like ServletDefinition

2014-06-12 Thread google-guice
Comment #5 on issue 807 by james.mo...@gmail.com: FilterDefinition should wrap the servlet request like ServletDefinition http://code.google.com/p/google-guice/issues/detail?id=807 I've attached a patch which wraps the servlet request before filter execution using code hijacked from