What servlet container are you using? If appengine with eclipse
plugin, you must enable sessions in appengine-web.xml with this line,
<sessions-enabled>true</sessions-enabled>

On Jan 19, 1:31 pm, mata_svada <[email protected]> wrote:
> Hi!
>
> I'm getting a weird behaviour with GWT 1.7.1 (on Mac OS X 10.6) on the
> server side:
>
> When I pass theHttpSessionObject I obtain by calling
> RemoteServiceServlet.getThreadLocalRequest().getSession() as a
> parameter to a method of any Object and call setAttribute("something",
> "something") in that method on the session object that was passed as
> parameter I get a IllegalStateException.
> I wasn't able to determin why the exception is thrown because I can't
> view the source of the file where the exception is thrown:
>
> HashSessionManager$Session(AbstractSessionManager$Session).setAttribute
> (String, Object) line: 1054
>
> Any ideas anyone as to what could be causing this problem?
>
> Cheers,
> Matej

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

Reply via email to