Hi,

I have some problems using HttpSession or HttpServletRequest injection
under Jetty in GWT dev mode (using Google Eclipse plugin).

With HttpSession, a new session gets created which is not the
"standard" session for my client therefore I can't find the attribute
placed there by a servlet.

If I use HttpServletRequest injection and call myself getSection() on
it, I get following exception:

Caused by: java.lang.IllegalStateException: No SessionHandler or
SessionManager
        at org.mortbay.jetty.Request.getSession(Request.java:1115)
        at org.mortbay.jetty.Request.getSession(Request.java:1105)
        at myproj.server.MyService.myMethod(MyService.java:48)
        at myproj.server.RPCServiceImpl.doAction(RPCServiceImpl.java:186)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
562)

Is it a know problem with Jetty + GWT + Google Eclipse Plugin?

Cheers,
Marc.

-- 
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