Heartbeat system and context-root problem
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Heartbeat system and context-root problem  XML
Forum Index -> Components
Author Message
Baleyba

Joined: 16/11/2006 00:00:00
Messages: 110
Offline


Hi all,

I can't make working the heartbeat system when my ICEFaces webApplication is deployed on the root of my application server http://localhost:8080/ (on JBOSS 4.2.2)

With firebug plugin I can see unsuccess attempts every seconds wehereas it is working fine when the webapp is deployed into a subfolder like http://localhost:8080/myWebApp/


You can test it easyly by adding the following jboss-web.xml file into the WEB-INF directory of your webApp.

<jboss-web>
<context-root>/</context-root>
</jboss-web>

How can I solve this problem ?

thanks for your help

regards
Bal.

JBoss 4.2.3 | Java 1.6.0_16 | IceFaces 1.8.2
Baleyba

Joined: 16/11/2006 00:00:00
Messages: 110
Offline


Here is an example of history of firebug when webApp is deployed on "/"



[window.stateMon] Checking [0] monitors icefaces-d2d.js (ligne 1306)
[window.stateMon] Rebuilding Monitors [0] icefaces-d2d.js (ligne 1306)
[window.stateMon] Rebuilding Monitors [0] icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection] asynchronous mode icefaces-d2d.js (ligne 1308)
[window.ZrSr#1] bridge loaded! icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection.heartbeat] heartbeat started icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection] closing previous connection... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection] connect... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection.heartbeat] heartbeat stopped icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection.heartbeat] heartbeat started icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection] closing previous connection... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection] connect... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection.heartbeat] heartbeat stopped icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection.heartbeat] heartbeat started icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection] closing previous connection... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection] connect... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection.heartbeat] heartbeat stopped icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection.heartbeat] heartbeat started icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection] closing previous connection... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection] connect... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection.heartbeat] heartbeat stopped icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection.heartbeat] heartbeat started icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection] closing previous connection... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection] connect... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection.heartbeat] heartbeat stopped icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection.heartbeat] heartbeat started icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection] closing previous connection... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection] connect... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection.heartbeat] heartbeat stopped icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection.heartbeat] heartbeat started icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection] closing previous connection... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection] connect... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection.heartbeat] heartbeat stopped icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection.heartbeat] heartbeat started icefaces-d2d.js (ligne 1308)
[window.ZrSr#1.async-connection] closing previous connection... icefaces-d2d.js (ligne 1306)
[window.ZrSr#1.async-connection] connect... icefaces-d2d.js (ligne 1306)



And the same application deployed on "/webApp/"



[window.stateMon] Checking [0] monitors icefaces-d2d.js (ligne 1306)
[window.stateMon] Rebuilding Monitors [0] icefaces-d2d.js (ligne 1306)
[window.stateMon] Rebuilding Monitors [0]icefaces-d2d.js (ligne 1306)
[window.K_ak#1.async-connection] asynchronous mode icefaces-d2d.js (ligne 1308)
[window.K_ak#1] bridge loaded! icefaces-d2d.js (ligne 1308)
[window.K_ak#1.async-connection.heartbeat] heartbeat started icefaces-d2d.js (ligne 1308)
[window.K_ak#1.async-connection] closing previous connection... icefaces-d2d.js (ligne 1306)
[window.K_ak#1.async-connection] connect... icefaces-d2d.js (ligne 1306)
[window.K_ak#1.async-connection.blocking] [3948825] : send asynchronous POST icefaces-d2d.js (ligne 1306)
POST http://localhost:8080/webApp/block/receive-updated-views (21046 ms) icefaces-d2d.js (ligne 1444)
[window.K_ak#1.async-connection.heartbeat] ping icefaces-d2d.js (ligne 1308)
[window.K_ak#1.async-connection.ui] [6100193] : send asynchronous POST icefaces-d2d.js (ligne 1306)
POST http://localhost:8080/webApp/block/ping (1045 ms) icefaces-d2d.js (ligne 1444)
[window.K_ak#1.async-connection.blocking] [3948825] : receive [200] OK icefaces-d2d.js (ligne 1306)
[window.synchronizer] mark document as modified icefaces-d2d.js (ligne 1306)
[window.K_ak#1.async-connection.ui] [6100193] : receive [200] OK icefaces-d2d.js (ligne 1306)
[window.K_ak#1.async-connection] closing previous connection... icefaces-d2d.js (ligne 1306)
[window.K_ak#1.async-connection.blocking] [3948825] : connection closed icefaces-d2d.js (ligne 1306)
[window.K_ak#1.async-connection] connect... icefaces-d2d.js (ligne 1306)
[window.K_ak#1.async-connection.blocking] [9750504] : send asynchronous POST icefaces-d2d.js (ligne 1306)
POST http://localhost:8080/webApp/block/receive-updated-views icefaces-d2d.js (ligne 1444)
[window.K_ak#1.async-connection.ui] [6058787] : send asynchronous POST icefaces-d2d.js (ligne 1306)
POST http://localhost:8080/webApp/block/receive-updates (36 ms) icefaces-d2d.js (ligne 1444)
[window.K_ak#1.async-connection.ui] [6058787] : receive [200] OK icefaces-d2d.js (ligne 1306)
[window.K_ak#1.async-connection.heartbeat] pong icefaces-d2d.js (ligne 1308)
[window.K_ak#1.async-connection.ui] [6058787] : connection closed icefaces-d2d.js (ligne 1306)

JBoss 4.2.3 | Java 1.6.0_16 | IceFaces 1.8.2
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team