Java Problem with Jakarta-commons-fileupload patch
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   533422_1234555
Posted On:   Thursday, April 15, 2004 09:39 PM

Hi all, I am trying to use jakarta-commons-fileupload package to creat an application that uses JSP to upload Word documents. I am still in trying out the package stage. I was trying to use the demo in the documentation. And I receive following error. Have any of you tried to use the package, and can gived me some advise. Thank you sooooooooo much. -------------------------------------------------------- java.lang.IllegalMonitorStateException: current thread not owner at org.apache.commons.fileupload.DefaultFileItem.getUniqueId(DefaultFileItem.java, Compiled Code) at fileupload.FileUploadServlet.doPost(FileUploadServlet.java, Compiled Code) at org.apache.commons.fileupload.DefaultFileItem.getTempFi   More>>

Hi all,

I am trying to use jakarta-commons-fileupload package to creat an application that uses JSP to upload Word documents. I am still in trying out the package stage. I was trying to use the demo in the documentation. And I receive following error. Have any of you tried to use the package, and can gived me some advise. Thank you sooooooooo much.

--------------------------------------------------------

java.lang.IllegalMonitorStateException: current thread not owner
at org.apache.commons.fileupload.DefaultFileItem.getUniqueId(DefaultFileItem.java, Compiled Code)
at fileupload.FileUploadServlet.doPost(FileUploadServlet.java, Compiled Code)
at org.apache.commons.fileupload.DefaultFileItem.getTempFile(DefaultFileItem.java:617)
at org.apache.commons.fileupload.DefaultFileItem.getOutputStream(DefaultFileItem.java:557)
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java, Compiled Code)
at fileupload.FileUploadServlet.doPost(FileUploadServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:83)
at com.caucho.server.http.Invocation.service(Invocation.java, Compiled Code)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:121)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:238)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java, Compiled Code)
at com.caucho.server.TcpConnection.run(TcpConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java:479)

   <<Less
About | Sitemap | Contact