voyent
Performance issue  XML
Forum Index -> General Help
Author Message
thienp

Joined: 15/Aug/2007 00:00:00
Messages: 17
Offline


I have developed two web applications based on ICEfaces 1.7.0. They are bundled into the same EAR file and deployed to my application server (in this case, OC4J). Now, if I access either one of the webapps (but not both), everything works perfectly and is responsive. But as soon as both applications are accessed, they both become very sluggish. I just wonder if anyone has encountered this issue. Any pointer is greatly appreciated.
thienp

Joined: 15/Aug/2007 00:00:00
Messages: 17
Offline


Further investigation reveals that this problem only occurs if I open both applications in the same browser window (in this instance, two tabs in my IE browser). If I launch two separate instances of IE, they are working fine. Is it possible that somehow ICEfaces gets confused between the two sessions from these two separate webapps?
thienp

Joined: 15/Aug/2007 00:00:00
Messages: 17
Offline


ICEfaces definitely gets the two sessions mixed up. Just to prove the point, I accessed the same web app from two different tabs within the same browser. From each tab, I logged in as *two** different users, e.g. "John" and "Mary". As soon as I logged "Mary" in as the second user and switched back to the first tab (i.e. "John"'s tab), all John's info that got displayed earlier is now replaced by Mary's. Would this be considered a serious bug?
thienp

Joined: 15/Aug/2007 00:00:00
Messages: 17
Offline


Scratch the last part about the same app in the same browser. That was caused by my "concurrentDOMviews" set to 'TRUE'. But the original problem (two different apps in the same browser) remains.

Feel like I'm talking to myself... :)
ken.fyten

Joined: 26/Oct/2004 00:00:00
Messages: 1333
Offline


Hello,

It seems possible that by running two web-apps from the same host and accessing them concurrently in the same browser you may be running into the HTTP 2-connection limit:

"Clients that use persistent connections should limit the number of simultaneous connections that they maintain to a given server. A single-user client should not maintain more than 2 connections with any server or proxy" 


You could either use separate host-names for each application, or configure the ICEfaces Asynchronous HTTP Server (AHS) servlet to direct all the async. communications for both applications through it.

Check the ICEfaces Developer's Guide for more information on the AHS.

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
thienp

Joined: 15/Aug/2007 00:00:00
Messages: 17
Offline


Thank you for your help. I'll give it a try.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team