stream - Error at server shut down & start up org.apache.struts.upload.CommonsMultipartRequestHandler$CommonsFormFile -
i on struts 1 application!
my application show error when ever shut down & start up. find 2 different related error @ both shut & start of server.
the shut down error goes below
warning: cannot serialize session attribute emailtoclient session c3e8630b365ee27fd5ce6ac6860d4ba8 java.io.notserializableexception: org.apache.struts.upload.commonsmultipartrequesthandler$commonsformfile @ java.io.objectoutputstream.writeobject0(unknown source) @ java.io.objectoutputstream.defaultwritefields(unknown source) @ java.io.objectoutputstream.writeserialdata(unknown source) @ java.io.objectoutputstream.writeordinaryobject(unknown source) @ java.io.objectoutputstream.writeobject0(unknown source) @ java.io.objectoutputstream.writeobject(unknown source) @ org.apache.catalina.session.standardsession.writeobject(standardsession.java:1585) @ org.apache.catalina.session.standardsession.writeobjectdata(standardsession.java:1015) @ org.apache.catalina.session.standardmanager.dounload(standardmanager.java:528) @ org.apache.catalina.session.standardmanager.unload(standardmanager.java:469) @ org.apache.catalina.session.standardmanager.stop(standardmanager.java:678) @ org.apache.catalina.core.standardcontext.stop(standardcontext.java:4882) @ org.apache.catalina.core.standardcontext.reload(standardcontext.java:3454) @ org.apache.catalina.loader.webapploader.backgroundprocess(webapploader.java:426) @ org.apache.catalina.core.containerbase.backgroundprocess(containerbase.java:1361) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.processchildren(containerbase.java:1653) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.processchildren(containerbase.java:1662) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.processchildren(containerbase.java:1662) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.run(containerbase.java:1642) @ java.lang.thread.run(unknown source)
and starting server :
severe: ioexception while loading persisted sessions: java.io.writeabortedexception: writing aborted; java.io.notserializableexception: org.apache.struts.upload.commonsmultipartrequesthandler$commonsformfile java.io.writeabortedexception: writing aborted; java.io.notserializableexception: org.apache.struts.upload.commonsmultipartrequesthandler$commonsformfile @ java.io.objectinputstream.readobject0(unknown source) @ java.io.objectinputstream.defaultreadfields(unknown source) @ java.io.objectinputstream.readserialdata(unknown source) @ java.io.objectinputstream.readordinaryobject(unknown source) @ java.io.objectinputstream.readobject0(unknown source) @ java.io.objectinputstream.readobject(unknown source) @ org.apache.catalina.session.standardsession.readobject(standardsession.java:1509) @ org.apache.catalina.session.standardsession.readobjectdata(standardsession.java:998) @ org.apache.catalina.session.standardmanager.doload(standardmanager.java:394) @ org.apache.catalina.session.standardmanager.load(standardmanager.java:321) @ org.apache.catalina.session.standardmanager.start(standardmanager.java:648) @ org.apache.catalina.core.standardcontext.start(standardcontext.java:4714) @ org.apache.catalina.core.standardcontext.reload(standardcontext.java:3461) @ org.apache.catalina.loader.webapploader.backgroundprocess(webapploader.java:426) @ org.apache.catalina.core.containerbase.backgroundprocess(containerbase.java:1361) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.processchildren(containerbase.java:1653) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.processchildren(containerbase.java:1662) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.processchildren(containerbase.java:1662) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.run(containerbase.java:1642) @ java.lang.thread.run(unknown source) caused by: java.io.notserializableexception: org.apache.struts.upload.commonsmultipartrequesthandler$commonsformfile @ java.io.objectoutputstream.writeobject0(unknown source) @ java.io.objectoutputstream.defaultwritefields(unknown source) @ java.io.objectoutputstream.writeserialdata(unknown source) @ java.io.objectoutputstream.writeordinaryobject(unknown source) @ java.io.objectoutputstream.writeobject0(unknown source) @ java.io.objectoutputstream.writeobject(unknown source) @ org.apache.catalina.session.standardsession.writeobject(standardsession.java:1585) @ org.apache.catalina.session.standardsession.writeobjectdata(standardsession.java:1015) @ org.apache.catalina.session.standardmanager.dounload(standardmanager.java:528) @ org.apache.catalina.session.standardmanager.unload(standardmanager.java:469) @ org.apache.catalina.session.standardmanager.stop(standardmanager.java:678) @ org.apache.catalina.core.standardcontext.stop(standardcontext.java:4882) @ org.apache.catalina.core.standardcontext.reload(standardcontext.java:3454) ... 7 more may 2, 2013 4:43:52 pm org.apache.catalina.session.standardmanager start severe: exception loading sessions persistent storage java.io.writeabortedexception: writing aborted; java.io.notserializableexception: org.apache.struts.upload.commonsmultipartrequesthandler$commonsformfile @ java.io.objectinputstream.readobject0(unknown source) @ java.io.objectinputstream.defaultreadfields(unknown source) @ java.io.objectinputstream.readserialdata(unknown source) @ java.io.objectinputstream.readordinaryobject(unknown source) @ java.io.objectinputstream.readobject0(unknown source) @ java.io.objectinputstream.readobject(unknown source) @ org.apache.catalina.session.standardsession.readobject(standardsession.java:1509) @ org.apache.catalina.session.standardsession.readobjectdata(standardsession.java:998) @ org.apache.catalina.session.standardmanager.doload(standardmanager.java:394) @ org.apache.catalina.session.standardmanager.load(standardmanager.java:321) @ org.apache.catalina.session.standardmanager.start(standardmanager.java:648) @ org.apache.catalina.core.standardcontext.start(standardcontext.java:4714) @ org.apache.catalina.core.standardcontext.reload(standardcontext.java:3461) @ org.apache.catalina.loader.webapploader.backgroundprocess(webapploader.java:426) @ org.apache.catalina.core.containerbase.backgroundprocess(containerbase.java:1361) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.processchildren(containerbase.java:1653) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.processchildren(containerbase.java:1662) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.processchildren(containerbase.java:1662) @ org.apache.catalina.core.containerbase$containerbackgroundprocessor.run(containerbase.java:1642) @ java.lang.thread.run(unknown source) caused by: java.io.notserializableexception: org.apache.struts.upload.commonsmultipartrequesthandler$commonsformfile @ java.io.objectoutputstream.writeobject0(unknown source) @ java.io.objectoutputstream.defaultwritefields(unknown source) @ java.io.objectoutputstream.writeserialdata(unknown source) @ java.io.objectoutputstream.writeordinaryobject(unknown source) @ java.io.objectoutputstream.writeobject0(unknown source) @ java.io.objectoutputstream.writeobject(unknown source) @ org.apache.catalina.session.standardsession.writeobject(standardsession.java:1585) @ org.apache.catalina.session.standardsession.writeobjectdata(standardsession.java:1015) @ org.apache.catalina.session.standardmanager.dounload(standardmanager.java:528) @ org.apache.catalina.session.standardmanager.unload(standardmanager.java:469) @ org.apache.catalina.session.standardmanager.stop(standardmanager.java:678) @ org.apache.catalina.core.standardcontext.stop(standardcontext.java:4882) @ org.apache.catalina.core.standardcontext.reload(standardcontext.java:3454) ... 7 more
this error occurs when ever emailtoclient
action been accessed. i.e.., accessed emailtoclient
, shut down server error occured , followed error @ start .
emailtoclient
name of form & action name in struts application
can please me. wish 1 can analyze error & predict went wrong.
it looks have persistent sessions, , emailtoclient
in session, not serializable. if want serialized rest of session, make serializable.
Comments
Post a Comment