voyent
icePush with multi-Tab browser  XML
Forum Index -> ICEpush General
Author Message
yogui

Joined: 24/Jun/2009 00:00:00
Messages: 10
Offline


Hi,
I have an application (one web-app) which contains many xhtml pages. if i open more than two pages in differents tab o my browser, the push works fine only for 2 pages but not for all pages.
Is there a specific parameter for the icePush mecanism ?
Is there a limit of the free icePush ?

I use iceFaces 4.

Is that someone already have this problem ?

thanks

Lionel
ken.fyten

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


Hi,

There is a limitation in the open-source ICEpush with regard to viewing content from multiple push applications in the same browser concurrently. From the 4.0 Release Notes:

ICEpush (icepush.jar) asynchronous update support is limited to a single ICEfaces application per host-name/server.
Viewing multiple ICEfaces applications in the same browser from the same host server concurrently will result in only one of the applications having functional push capabilities.
Support for pushing asynchronous updates to multiple ICEfaces applications from the same server/host-name requires the use of the Enterprise Push Server (EPS), which is included in ICEfaces EE (Enterprise Edition). 


However, it doesn't sound like you are doing this (you only have a single ICEfaces .war file deployed to your server)?

Can you describe the failure scenario more specifically, does the failure occur with multiple tabs, or windows, and which browsers are you using?

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
yogui

Joined: 24/Jun/2009 00:00:00
Messages: 10
Offline


Hi Ken,

Our test was based on the Easy Ajax Push Tutorial - http://www.icesoft.org/wiki/display/ICE/Easy+Ajax+Push.
(a zip containing the source code is attached to this message).
The scenario is the following :

1. duplicate color.xhtml to produce 3 views (color1.xhtml, color2.xhtml, color3.xhtml) linked to the same backing bean (ColorBean)

2. open 3 separate windows of the same browser (firefox or chrome) : the first window displaying color1.xhtml, the second color2.xhtml and the third color3.xhtml

3. trigger several pushes (10 to 20) by choosing a color with the first view, then trigger 10 to 20 pushes from the second view and finally 10 to 20 pushes from the third one

At some point one of the 3 views won’t be refreshed any longer by the push.
( see the attached screenshot)


NB :
1. The 3 views belong to the same webapp
2. If you open the same view (instead of 3 different ones) in 3 browser windows you get the same result
3. You can do the same test by opening 3 windows of the chat demo (included in the icefaces 4 distib.)
It’s a bit more difficult to observe the phenomenon in this case, since you have to type a text
before triggering the push.
4. IcePush works well with only 2 views

Hope I helps, don’t hesitate to contact us for further informations

Regards,
[Thumb - push_problem.png]
 Filename push_problem.png [Disk] Download
 Description
 Filesize 394 Kbytes
 Downloaded:  7457 time(s)

 Filename test_push.zip [Disk] Download
 Description
 Filesize 13 Kbytes
 Downloaded:  15003 time(s)

ken.fyten

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


Hi,

Thanks for posting this example and instructions.

Turns out this is a known issue as captured in http://jira.icesoft.org/browse/ICE-10705 .

This has been resolved and will be included in the ICEfaces 4.1 release which should be available shortly before Xmas.

If you'd like you also access the snapshot builds from our public Maven repository.

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
yogui

Joined: 24/Jun/2009 00:00:00
Messages: 10
Offline


Hi,

thanks for this information, we are waiting for this release.

Regards,
 
Forum Index -> ICEpush General
Go to:   
Powered by JForum 2.1.7ice © JForum Team