Solved

update produce error :java.io.NotSerializableException?

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to write service layer in Spring ? 4 273
html form inside div 3 86
Stuck in Bootstrap WysiHtml Editor 3 36
J2SE 5.0 metadata 1 44
A safe way to clean winsxs folder from your windows server 2008 R2 editions
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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

20 Experts available now in Live!

Get 1:1 Help Now