Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Non-serializable attribute org.eclipse.rwt.internal.service.SessionStoreImpl
Non-serializable attribute org.eclipse.rwt.internal.service.SessionStoreImpl [message #734310] Fri, 07 October 2011 12:13 Go to next message
Angelo is currently offline AngeloFriend
Messages: 27
Registered: July 2009
Junior Member
Hi RAP Team,

I have created a war with WAR Product from Libra (works great!), test the war with my local Tomcat and it works great.

Now I would like deploy our XDocReport application on cloudbee. I have done that and the RAP XDocReport is available at
http://xdocreport-rap.opensagres.cloudbees.net/xdocreport?startup=fr.opensagres.xdocreport.eclipse.application

But unfortunately, I have the following error :

java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute org.eclipse.rwt.internal.service.SessionStoreImpl
org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1340)

When I have developped our WEB support for XDocReport, I had the same problem (I will set some instance in the session). To resolve the problem, I had modified my code to just to implement java.io.Serializable.

So I think it should be cool, if org.eclipse.rwt.internal.service.SessionStoreImpl could implement java.io.Serializable.

Regards Angelo
Re: Non-serializable attribute org.eclipse.rwt.internal.service.SessionStoreImpl [message #734319 is a reply to message #734310] Fri, 07 October 2011 12:51 Go to previous messageGo to next message
Angelo is currently offline AngeloFriend
Messages: 27
Registered: July 2009
Junior Member
Ok problem seems to be resolved in the bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=345604

I'm using RAP 1.4. To fix my problem I must use RAP 1.5, I suppose. I will try that.

Regards Angelo
Re: Non-serializable attribute org.eclipse.rwt.internal.service.SessionStoreImpl [message #734329 is a reply to message #734310] Fri, 07 October 2011 13:16 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
Angelo,

I am wondering why Tomcat tries to serialize the session. Did you mark
the web application as <distributable/>?

Regards,
Rüdiger

On 07.10.2011 14:13, Angelo wrote:
> Hi RAP Team,
>
> I have created a war with WAR Product from Libra (works great!), test
> the war with my local Tomcat and it works great.
>
> Now I would like deploy our XDocReport application on cloudbee. I have
> done that and the RAP XDocReport is available at
> http://xdocreport-rap.opensagres.cloudbees.net/xdocreport?startup=fr.opensagres.xdocreport.eclipse.application
>
>
> But unfortunately, I have the following error :
> java.lang.IllegalArgumentException: setAttribute: Non-serializable
> attribute org.eclipse.rwt.internal.service.SessionStoreImpl
> org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1340)
>
>
> When I have developped our WEB support for XDocReport, I had the same
> problem (I will set some instance in the session). To resolve the
> problem, I had modified my code to just to implement java.io.Serializable.
>
> So I think it should be cool, if
> org.eclipse.rwt.internal.service.SessionStoreImpl could implement
> java.io.Serializable.
>
> Regards Angelo
>
>
>


--
Rüdiger Herrmann

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Non-serializable attribute org.eclipse.rwt.internal.service.SessionStoreImpl
Next Topic:Language selection for user session
Goto Forum:
  


Current Time: Fri Mar 29 06:54:28 GMT 2024

Powered by FUDForum. Page generated in 0.01861 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top