Skip to Main Content

Java Development Tools

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!

oracle.jbo.common.Lock locks the application

575275Sep 12 2007 — edited Jul 2 2008
In my ADF application I have a page for creating reports. When I hit create report button, I call window.open() to open report page in other window. This new opened window after onload action fires generateReport backing bean. After report is created, bean is outputing it via FacesContext -> getExternalContext() -> getResponse() -> getOutputStream() -> write(MyReport).

The problem is that if the requested report is big, it takes time (few minutes) to create it.
I need to make my main window operational, but when I try to open a link on my main page, my request is not performed until report in other page is finished. I get
[1050] WARNING: The thread, HTTPThreadGroup-4, is waiting for a oracle.jbo.common.Lock
I thougth, I get the lock just when I try to access database, but this lock doesnt allow accessing static pages on server until the report is finished.
Can someone expalin the problem? Or solution to this:)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 30 2008
Added on Sep 12 2007
14 comments
2,083 views