commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-commons Wiki] Update of "FileUpload" by XuboJiang
Date Wed, 17 May 2006 05:41:33 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification.

The following page has been changed by XuboJiang:
http://wiki.apache.org/jakarta-commons/FileUpload

------------------------------------------------------------------------------
  
  Zsolt
  
+ '''Q:''' I use commons.fileupload to upload a file in my application, but it throws an exception
called "NotSerializableException", the server which the application run on is WAS5.1. Here
is the output log:
+ [06/05/15 19:15:36:873 JST]  78adaa3 SessionContex E 例外: java.io.NotSerializableException:
org.apache.commons.fileupload.DeferredFileOutputStream
+ 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java(Inlined Compiled
Code))
+ 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java(Inlined Compiled
Code))
+ 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java(Inlined Compiled
Code))
+ 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Inlined Compiled Code))
+ 	at java.util.Hashtable.writeObject(Hashtable.java(Compiled Code))
+ 	at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
+ 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
Code))
+ 	at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
+ 	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))
+ 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
+ 	at com.ibm.ws.webcontainer.httpsession.BackedHashtable.commonSetup(BackedHashtable.java(Compiled
Code))
+ 	at com.ibm.ws.webcontainer.httpsession.BackedHashtable.persistSession(BackedHashtable.java(Compiled
Code))
+ 	at com.ibm.ws.webcontainer.httpsession.BackedHashtable.ejbStore(BackedHashtable.java(Compiled
Code))
+ 	at com.ibm.ws.webcontainer.httpsession.BackedHashtable.storeSession(BackedHashtable.java(Compiled
Code))
+ 	at com.ibm.ws.webcontainer.httpsession.BackedHashtable.put(BackedHashtable.java(Compiled
Code))
+ 	at com.ibm.ws.webcontainer.httpsession.DatabaseSessionContext.sync(DatabaseSessionContext.java(Compiled
Code))
+ 	at com.ibm.ws.webcontainer.httpsession.SessionData.sync(SessionData.java(Inlined Compiled
Code))
+ 	at com.ibm.ws.webcontainer.httpsession.DatabaseSessionData.sync(DatabaseSessionData.java(Inlined
Compiled Code))
+ 	at com.ibm.ws.webcontainer.httpsession.DatabaseSessionContext.checkForSessionWrites(DatabaseSessionContext.java(Compiled
Code))
+ 	at com.ibm.ws.webcontainer.httpsession.DatabaseSessionContext.asyncExternalWrite(DatabaseSessionContext.java(Compiled
Code))
+ 	at com.ibm.ws.webcontainer.httpsession.SessionAlarmListener.alarm(SessionAlarmListener.java(Compiled
Code))
+ 	at com.ibm.ejs.util.am._Alarm.run(_Alarm.java(Compiled Code))
+ 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
+ 
+ Can anyone give me some idea to solve this question?
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message