Hi Janak
setting session time out interval in web.xml like:

<session-config>
<session-timeout>1440</session-timeout>
</session-config>

helped to survive notebook sleep/hibernation. I also noticed and added:

<listener>
<listener-class>com.ulcjava.container.servlet.server.HttpSessionListener</listener-class>
</listener>

hope it helps also to another developers
thanks

Martin Kuzela

----- Original Message ----- From: "Janak Mulani" <[email protected]>
To: <[email protected]>
Sent: Monday, June 01, 2009 1:44 PM
Subject: RE: [ULC-developer] Pause/Resume feature


Hi Martin,

There is no way to start a client and make it connect to an existing ULC
Session. However, a client connect and resume to a previously paused ULC
Session.

Section 2.2.2 of ULC Architecture Guide and Section 2.2.7 of ULC
Deployment Guide describe the session time out. Basically, the HTTP
session time out interval (specified in web.xml) should be greater than
the keep-alive-interval specified for the ULC client applet (in the applet
tag) and jnlp launcher (in the jnlp file). In case the network goes down
or the client machine hibernates, the client will not be able to send the
keep-alive requests to the server and consequently the server will time
out. One solution could be that you can set the server session time out to
be very long so that when the client machine wakes up and starts sending
requests to the server it will find that the server is still live.


By the way, when I try to see ULC Portlet integration demo with that
Pause/Resume feature
http://ulc-community.canoo.com/snipsnap/space/Portlet+Integration

on this page
https://ulc-community.canoo.com/jetspeed/



The applications / code on the community is maintained by the community
and there are no guarantees. Nevertheless, I could reproduce the problem
and I will look into it.

If you wish to see how Pause/Resume works please read ULC Essentials Guide
section 10.1. Also see the sample code of TeamMembersResumeLauncher which
is part of the ULC release and can be found in <ULC Install
Dir>\sample\teammembers\src\com\ulcjava\sample\teammembers\client
directory.

PS: For guaranteed response time please subscribe to ULC Premium Support.

Thanks and regards,

Janak

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to