Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.IllegalMonitorStateException: current thread not owner

843836Apr 16 2004 — edited Apr 17 2004
I am trying the demo application from Jakarta.Commons.FileUpload package.
But I did not get very far from the demo, 'cause I get following error. Can anyone help me to figure out what is the error, and how can I avoid it.
-------------------------------------------------------------------------------------------------------------------
java.lang.IllegalMonitorStateException: current thread not owner
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 test.HogeSrv.doPost(HogeSrv.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)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 15 2004
Added on Apr 16 2004
2 comments
2,291 views