Status: New
Owner: ----
New issue 559 by [email protected]: Problem using guice-servlet in multiple
war, when guice-servlet.jar is in ear's libraries
http://code.google.com/p/google-guice/issues/detail?id=559
We have project, which has several war archives, and all of them are using
GuiceFilter. For some reasons we need guice-servlet.jar to be placed in
ear's libraries (APP-INF/lib for weblogic in our case).
There is problem, that only the last deployed war is served, other returns
404.
GuiceServletContextListener sets ServletContext to static variable in
GuiceFilter, creates an injector and sets the pipeline by static method.
Now, we have to extend GuiceFilter and override init method, which takes
injector (created and stored by GuiceServletContextListener) from
servletcontext, inject itself (to have non-static field injectedPipeline
initialized) and call super.init().
It would be nice to have this feature in GuiceFilter (maybe configurable by
init parameter).
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" 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-guice-dev?hl=en.