wood burning stoves 2.0*
The moose likes Struts and the fly likes IllegalMonitorStateException: current thread not owner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "IllegalMonitorStateException: current thread not owner" Watch "IllegalMonitorStateException: current thread not owner" New topic

IllegalMonitorStateException: current thread not owner

kay lin
Ranch Hand

Joined: May 20, 2004
Posts: 132
Hi All:
In my UpdatePayeeAction (it extends Action btw), I have the followinng line

and then i got

java.lang.IllegalMonitorStateException: current thread not owner
at java.lang.Object.wait(Native Method)
at com.sunlife.dx.paymentinquiry.struts.inquiry.UpdatePayeeAction.execute(UpdatePayeeAction.java:154)

So my question is can i actually put the wait() in the execute method? if i want the execute() to pause a little bit,
because i want to pause a bit before the execute methods returns a response through ActionForward, how should I do
that correctly,

Please let me know...
I agree. Here's the link: http://aspose.com/file-tools
subject: IllegalMonitorStateException: current thread not owner
Similar Threads
Struts 1.2 ActionForward question
How to use Struts Tags
ActionForm null
Override DispatchAction but keep the existing funcationallity
[Struts & Hibernate] Edit & Delete rows