Hi,

we introduced the Guice Servlet Extensions in our Guice application.
It works fine in Jetty, but in OC4J we are getting the message "
Forbidden - You don't have permission to access /huisbezoek/ on this
server".

I rememember that are similar issues around Wicket; they recommend
using the WicketServlet instead of WicketFilter when deploying in OC4J
(version 10.1.3).

We are using Wicket by the way (we bind the WicketServlet in the
ServletModule that is added to the injector in the
GuiceServletContextListener; all conform 
http://code.google.com/p/google-guice/wiki/Servlets).
But I think the problem is not related to Wicket but to the
combination of the filter mapping from /* to the GuiceFilter and the
fact that it's deployed in OC4J. The mapping /* -> GuiceFilter is the
only filter or servlet mapping we define in web.xml, so if the filter
"doesn't work" there's no active URL mapping at all... explaining to
the Forbidden message...

So I am wondering: Did anyone successfully deploy a Guice application
with a ServletModule in OC4J? If so, did you use the GuiceFilter? Is
there an alternative for the GuiceFilter (like the WicketServlet in
the Wicket world)?

Thanks,
Guido

--

You received this message because you are subscribed to the Google Groups 
"google-guice" 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?hl=en.


Reply via email to