Solved

update produce error :java.io.NotSerializableException?

Posted on 2004-04-29
6
304 Views
Last Modified: 2010-04-01
dear experts,

my web application running on Tomcat and Oracle has encountered some problems that when user constantly update, they will get lock out and I have re-start the web server to let them start the application again. But, this constantly happened. so, I check the log from Tomcat and see this error, I wonder if anyone could offer advice about how to fix this problem? Is this related to Oracle? thanks.
0
Comment
Question by:dodowoman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 

Author Comment

by:dodowoman
ID: 10950454
the more complete error message includes this line, too:

StandardManager[/tomcat] Cannot serialize session attribute screenBean for session 47F2176F8AE8B2D2051667C9C3F5F50
0
 
LVL 7

Accepted Solution

by:
searlas earned 30 total points
ID: 10950561
What are you storing under the attribute screenBean?  Whatever it is, it's not Serializable (an issue when the server is overloaded and needs to temporarily passivate a session - i.e. serialize to disk)
0
 
LVL 13

Expert Comment

by:copyPasteGhost
ID: 10951726
try using a CachedRowSetImpl instead of a ResultSet

you will need to download the rowset.jar file downloaded from

http://sourceforge.net/project/showfiles.php?group_id=27749

you will need to include this file under
web-inf/lib/rowset.jar

also you will need to include this line

<%@ page import="com.sun.rowset.*" %>

to the top of your jsp
Hope that helps,
Ghost
0
 
LVL 13

Expert Comment

by:copyPasteGhost
ID: 10971999
http://java.sun.com/developer/earlyAccess/jdbc/jdbc-rowset.html

is a better place to download the jar file,
Cheers,
Ghost
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
Let's recap what we learned from yesterday's Skyport Systems webinar.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

617 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