On 8/23/06, Gareth Moorst <[EMAIL PROTECTED]> wrote:


Hi Ramon,

I'd suggest you ask this question on the Eclipse mailing lists.

Nope, here is probably fine. You can see from the stack trace that
PaginatedDataList is not serializable. By default, I believe Tomcat
will serialize active sessions on shutdown, so any non-serializable
session atrribute will cause this error. It would be nice if
PaginatedDataList were serializable and the only real issue I can see
at a quick glance is the SqlMapExecutor field it contains. Not sure
how nicely the various implementations of that interface would deal
with serialization...

Just once should do it ;)

That's still good advice...

Gareth.


----- Original Message ----
From: Ramon Misho <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, 23 August, 2006 4:58:00 PM
Subject: Cannot serialize session attribute

Hello iBatis people:

I am using Eclipse Version: 3.0.0 and Tomcat 5.0.19.

I edit a java file (in the Eclipse), and click on the 'Save' button. The
'Reloading" starts as expected.   However, very often (but not all the
time), I get the following error messages although they have no impact on
the compiling process.

        Cannot serialize session attribute myfileBean for session
<some_id_with_letters_and_number>
        ..................etc

The 'myfileBean' is the name of one of my JAVA files.   The strange thing is
that when this error is generated, I am usually working with another JAVA
file.

Any ideas?

Thanks.
Ramon

--
Kris Schneider <mailto:[EMAIL PROTECTED]>

Reply via email to