How can I implement a heartbeat with JSF 1.2, RichFaces 3.x using SEAM 2.x which also works during a long-lasting request executed by an user?
Currently, we've got a heartbeat (to avoid session timeout) using <aj4:poll action="#{bean.keepAlive}" ... />
which does not work during long-lasting requests on the server. Using an own eventsQueue="heartbeat"
allows that the required heartbeat is sent even while executing a long-term request but leads us into a org.jboss.seam.ConcurrentRequestTimeoutException
.
We also tried using @Asynchronous
on the keepAlive
method.
Do you have another solution or a hint to my problem? Thank you. :)
ScopeType
? – PartookAsynchronous
or a thread did not work. – Partook