This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jul 4, 2011, 1:14 PM
2 Posts

Re: Xpage are running in single tread only

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role: Developer,Administrator
  • Tags:
  • Replies: 3
Hi Karsten ,
 
Is there any configuration in domino server or in xpage app that can override this.
I am absolutely sure before i reconfigure my server, xpages was running concurently with no problems.


regards
Jul 4, 2011, 3:15 PM
6 Posts
Re: Xpage are running in single tread only
Hi,
 
as far as I know there is no switch. I talked to Phil Riand, the XPages architect at IBM, about this topic a few weeks ago. It's a known limitation, which is not a big problem if you are only using XPages for web rendering and fast REST calls. This did not help for our use case, because we were working on a web ui with a lots of (Ext.js) controls that are fed by REST request data and they only loaded one by one in our application, which did not meet our requirements. That's why we added that feature to XPages2Eclipse.

According to Phil, there are some plans to improve this situation for 8.5.3, but probably only with a configuration flag that you can set to disable this HttpSession synchronization for the whole database, which should only be done when you are producing your own content with XPages and are not using those XPages for the web ui. Looks like the code that they added on top of JavaServer Faces is not Thread-safe. Which is a pity if all you are doing is to bypass the XPages code and write something manually to the output stream.
 
My tests were done with 8.5.2. Maybe it was different in 8.5.1.
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal