Messages posted by Baleyba
[Logo]
Forums for ICEfaces and ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Messages posted by: Baleyba  XML
Profile for Baleyba -> Messages posted by Baleyba [110] Go to Page: Previous  1, 2, 3, 4, 5, 6, 7, 8 Next 
Author Message
Hi,

I get the same problem :(

I get the svn version from the day. revision 16510
I had the same issue than you but now redirection don't work again. I get the ICEfaces component status to this: http://component-showcase.icefaces.org/component-showcase/xmlhttp/css/xp/css-images/connect_disconnected.gif
And no redirection to my error.jsp file.

It was working before this version 1.7.0.

regards
Bal.
Thanks a lot for the link mircea.toma ;)

mircea.toma wrote:
The session needs to be invalidated within the JSF environment. You can use an action listener tied to a navigation rule that redirects to login page. Also, the action listener would invalidate the session acquired from the ExternalContext.
With 1.7 release will put up an example on how to do a login/logout process with JSF/ICEfaces. 


Hi,

please can you give me the name of example that shows the new login/logout process ?

thanks
regards,
Hi Mark,

thanks a lot for your answer!

It works fine by changing nav. rule <from-view-id> from .iface to .jspx.

But If I do the same for the <to-view-id> tag it doesn't work ??? Redirection goes on a white page.

Thanks again
regards,

Bal.
Hi,

I again get this problem with the last 1.7.0 like on this post: http://www.icefaces.org/JForum/posts/list/7712.page

regards
Bal.
this is the same problem than http://www.icefaces.org/JForum/posts/list/0/7658.page#32669

I have the same problem.

I used the last revision 16158. It is better but it isn't solved entirely.

If you refresh the .jsp page, the "session.invalidate" causes an exception.

Code:
 <html>
  <head>
      <title></title>
  </head>
  <body>
  <% if(session.getAttribute("LoggedIn")=="true"){ %>
      <jsp:forward page="webmail.iface" />
  <% }else{
      session.invalidate();%>
      <jsp:forward page="login.iface" />
  <% } %>
  </body>
  </html>
 


regards
Bal.
Hi,

With the new build 1.7rc1, the identification system of webmail ICEFaces example project don't work now.

The problem come from here:

index.jsp file of example project
Code:
<html>
 <head>
     <title></title>
 </head>
 <body>
 <% if(session.getAttribute("LoggedIn")=="true"){ %>
     <jsp:forward page="webmail.iface" />
 <% }else{
     session.invalidate();%>
     <jsp:forward page="login.iface" />
 <% } %>
 </body>
 </html>


If I refresh the login page, I get one error because session is invalidated wehereas it was working fine with previous version.

Regards,
Bal.
Hi,

I get navigation problems too after upgrading.
I need to refresh navigator page, for making some redirections working.


Regards,
Bal.
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)
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.
Hi,

I have get a charset encoding problem.

On our UTF-8 servers, our ICEFaces applications are working fine.

On one other server encoded in: ISO-8859-15 => (Latin9;euro), menuitems of our application are doubled randomly ...

regards
Bal.

Hi,

you just need to add this lines into your web.xml, in order to redirect on the login page when session is broken:

<context-param>
<param-name>
com.icesoft.faces.connectionLostRedirectURI
</param-name>
<param-value>'/index.jsp'</param-value>
</context-param>

regards
Bal.
Hi,

It works perfectly!

Thanks again

regards
Chris
Hi Mark,

Thanks a lot for your work and help (Yig Ng too ;) ).
I will test it from svn as soon as possible!

regards,

Chris
 
Profile for Baleyba -> Messages posted by Baleyba [110] Go to Page: Previous  1, 2, 3, 4, 5, 6, 7, 8 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team