dodowoman
asked on
update produce error :java.io.NotSerializableException?
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
http://java.sun.com/developer/earlyAccess/jdbc/jdbc-rowset.html
is a better place to download the jar file,
Cheers,
Ghost
is a better place to download the jar file,
Cheers,
Ghost
ASKER
StandardManager[/tomcat] Cannot serialize session attribute screenBean for session 47F2176F8AE8B2D2051667C9C3