Request A Demo
Back to All Blog Articles

af:poll not working

ADF Faces provides poll component, it’s description & sample use cases are documented on Tag Documentation as shown below.

The poll component delivers PollEvents to the server at fixed intervals. This can be used either for steady updates, or to deliver a heartbeat to keep a user logged in, or to warn a user about to be logged out (for some examples).

One classic use of Poll component would be to keep User Session active as long as browser window is open. In this case, you will set Poll Interval (interval) and dummy pollListener. Poll Listener can be empty method, it does not have to do anything. Poll Interval should be less than HTTP Session Timeout. HTTP Session Timeout is setup in web.xml.

Such use of Poll component fails to keep User Session active, after upgrading from This is due to new attribute timeout for af:poll, value for which defaults to 10 minutes (This property is added with So if user does not perform any activity on Keyboard or Mouse for 10 minutes, Poll component will stop delivering any Poll Events. If you are using af:poll to keep User Session (by sending regular heartbeat) active, add timeout property to af:poll with very high value to avoid stopping Poll Events.

Related Resources

Revolutionizing Enterprise Software Delivery with Flexagon’s DevOps Solutions

In a dynamic technological landscape, organizations seek cutting-edge tools that not only cater to specialized use cases but also drive ...

Webinar Recap: Unlock the Power of DevOps and CI/CD for Oracle EBS and Cloud Applications 

In today’s rapidly evolving digital landscape, the efficiency and adaptability of your IT infrastructure plays a pivotal role in determining ...

Webinar Recap: Simplify and Enable DevOps for Oracle Fusion Cloud Applications 

In the realm of Oracle Fusion Applications, encompassing ERP, HCM, SCM, CX Sales and CX Service, the management of configurations ...

Join DevOps leaders across the globe who receive analysis, tips, and trends in their inbox