Parallel call to talk

I am using Seam and getting the "Parallel Call to Talk" error message. What does it mean?

I have a button that takes 5 minutes to process. I get this error in 2 minutes. Setting the time with a simultaneous request for 10 minutes does not work. Is there a way to block all other requests until the first is complete?

+6
seam
source share
3 answers

Section 6.9 of the Seam documentation describes strategies for handling concurrent calls in an interactive context.

+5
source share

I don’t think it’s a great idea to block all other requests for such a long operation, a much better approach is to make it work asynchronously.

You can look here http://achorniy.wordpress.com/2009/07/14/avoid-concurrent-call-to-conversation/ , but this is a solution that allows you to block other requests for a short period of time (of course, it can block them for a long time, but this is not a good approach in general to make the user wait for such requests) You can look here to get a good example of how the user interface can be organized to work with asynchronous content (see Richfaces livedemo " Ajax Support "Push / Pull Examples)

+1
source share

Here is the solution: use richfaces progressBar, call the asynchronous seam method to start long processing and pass the ProgressBean with the parameters of the async method (it should be available from the yuor bean conversation that you use in JSF) and periodically update the execution status in a long-term task This approach is detailed explained here. [Show dynamic process in Seam / Richfaces] [1]

[1] http://achorniy.wordpress.com/2010/10/22/show-dynamic-process-progress-in-seam-richfaces/

0
source share

All Articles