Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.7.1
-
Component/s: None
-
Labels:None
-
Environment:Liferay 4.3.2 / Tomcat 6.0.13
-
Workaround Exists:Yes
-
Workaround Description:
Description
This is very easy to reproduce:
1. Download Liferay 4.3.2 / Tomcat 6.0.13 bundle and extract
2. Download the sample-icefaces-sun-portlet from the Liferay website
3. COPY (don't move) the sample-icefaces-sun-portlet in your $HOME/liferay/deploy folder (hot deploy folder)
4. Verify in the Tomcat console that the portlet plugin extracts and registers itself
5. Startup IE7, and add the portlet to a page (and keep viewing the page)
6. Repeat step #3 and #4
7. Click Reload button
At this point you should get the "User Session Expired" error message, and the only way to fix it is to restart Tomcat.
Now this is a problem under two circumstances:
1. When developers are creating ICEfaces portlets, they often want to incrementally test their changes. The way to do this in Liferay is to keep re-hot-deploying the portlet, but the "User Session Expired" error message is not exactly thruthful, in that the user is still able to visit other portal pages and continue to use Liferay.
2. When Portal administrators download new versions of Liferay portlet plugins, and want to deploy them to their employees/customers in their intranet. But Portal admins aren't always in a position where they can restart Tomcat, because it might be in the middle of a work day, or a mission-critical system.
1. Download Liferay 4.3.2 / Tomcat 6.0.13 bundle and extract
2. Download the sample-icefaces-sun-portlet from the Liferay website
3. COPY (don't move) the sample-icefaces-sun-portlet in your $HOME/liferay/deploy folder (hot deploy folder)
4. Verify in the Tomcat console that the portlet plugin extracts and registers itself
5. Startup IE7, and add the portlet to a page (and keep viewing the page)
6. Repeat step #3 and #4
7. Click Reload button
At this point you should get the "User Session Expired" error message, and the only way to fix it is to restart Tomcat.
Now this is a problem under two circumstances:
1. When developers are creating ICEfaces portlets, they often want to incrementally test their changes. The way to do this in Liferay is to keep re-hot-deploying the portlet, but the "User Session Expired" error message is not exactly thruthful, in that the user is still able to visit other portal pages and continue to use Liferay.
2. When Portal administrators download new versions of Liferay portlet plugins, and want to deploy them to their employees/customers in their intranet. But Portal admins aren't always in a position where they can restart Tomcat, because it might be in the middle of a work day, or a mission-critical system.
Issue Links
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16615 | Thu May 08 15:44:52 MDT 2008 | mircea.toma | Backport fixes for |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/bridge/src/connection.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16588 | Mon May 05 17:44:50 MDT 2008 | mircea.toma | Shutdown bridge on HTTP 503 errors. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/src/connection.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16272 | Fri Apr 04 10:27:36 MDT 2008 | mircea.toma | Rename method. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16262 | Thu Apr 03 18:09:23 MDT 2008 | mircea.toma | Wait for bridge instances to confirm their shutdown before invalidating the session. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java
MODIFY /icefaces/trunk/icefaces/bridge/src/connection.async.js MODIFY /icefaces/trunk/icefaces/bridge/src/application.js MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/InterceptingServletSession.java ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/common/ServerProxy.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/InterceptingPortletSession.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15075 | Thu Nov 01 16:20:48 MDT 2007 | mircea.toma | Fix mistake. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
|