Solved

update produce error :java.io.NotSerializableException?

Posted on 2004-04-29
6
296 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How To Remove a Principal from HttpServletRequest 4 40
Export JSON response data to Excel in IE9 3 67
Stuck in Bootstrap WysiHtml Editor 3 37
Set up Wildfly 10 8 362
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

896 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now