Solved

Tomcat 6 - Session Serializable

Posted on 2007-03-20
5
751 Views
Last Modified: 2013-12-02
Is adding <distributable/> in my webapps web.xml file is good enough to force all session attributes implement java.io.Serializable
0
Comment
Question by:fylix0000
  • 4
5 Comments
 
LVL 30

Expert Comment

by:Mayank S
ID: 18757038
It means that the application can be distributed over a cluster but I you need to manually ensure that the session attributes implement Serializable - you need to say 'implements Serializable' in the source code of those classes.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 18757428
>> but I you

but I think you
0
 

Author Comment

by:fylix0000
ID: 18782361
Sounds good to me. I checked that yes and need to do that in any Servlet my web Apps is using.
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 500 total points
ID: 18784079
Any objects which your servlets are storing in the session need to be serializable
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 18827518
Any reason for the B grade? You can ask for more clarification if you want.
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article covers how to install the Microsoft Windows Operating System (OS). What is covered in this article:  > Different Versions and Editions of the Windows OS  > Upgrading versus Fresh Installation of the OS           - Steps to take pr…
This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question