javax.servlet.ServletException: setAttribute: Non-serializab
tosenthu Jun 5, 2005 12:10 PMHai
I am using a 3rd party control named common-controls for a creating tree control. I was using JBoss 3.2 and tomcat 5.5.0 previously. i just now changed the Version of JBoss to 4.0.2 and Tomcat to 5.5.9. Now the same code that was running in my previous version isnt working with the new version, and i get the following error when ever i try to create the control in the page. can u please say the reason why it happens so.
Note: and the control that am using implements the java.io.Serializable
interface.
{javax.servlet.ServletException: setAttribute: Non-serializable attribute
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.dhyan.framework.security.useradmin.web.struts.RedirectFilter.doFilter(RedirectFilter.java:87)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root cause
java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1233)
org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129)
com.dhyan.framework.security.useradmin.web.struts.ManageRolesAction.doExecute(ManageRolesAction.java:92)
com.cc.framework.adapter.struts.FWAction.execute(Unknown Source)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.dhyan.framework.security.useradmin.web.struts.RedirectFilter.doFilter(RedirectFilter.java:87)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
Thanks in Advance
Senthil Kumar M Rangaswamy