ICEfaces
  1. ICEfaces
  2. ICE-1869

ICEfaces Portlets from different WARs can't co-exist on the same Portal page

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6, 1.6.1
    • Fix Version/s: 1.7DR#3, 1.7
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      ICEfaces 1.6 / Tomcat 6.0.13 / Liferay 4.3.1 (trunk)
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      Attached you will find two portlets:

      1. sample-icefaces-sun-portlet

      2. sample-icefaces-sunny-portlet

      The only difference between these two portlets is the portlet name. All else is the same.

      Now, I can put two of #1 on the same page, or two of #2 on the same page, and everything works great (multiple instances of the same portlet)

      But when I put #1 and #2 on the same page, only one of them will "win" and work. The other one causes a "User Session Expired" type of error message to appear.

      The attached portlets are meant to be unzipped and placed directly into the "webapps" folder of a Liferay 4.3.1 / Tomcat 6.0.13 bundle.

        Issue Links

          Activity

          Neil Griffin created issue -
          Neil Griffin made changes -
          Field Original Value New Value
          Attachment sample-icefaces-sunny-portlet.zip [ 10491 ]
          Neil Griffin made changes -
          Attachment sample-icefaces-sun-portlet.zip [ 10492 ]
          Hide
          Neil Griffin added a comment -

          BTW, I forgot to mention that my best guess is that this has something to do with the fact that the contents of the JobApplication.jspx file is the same for each portlet. Perhaps there is a conflict of "id" attribute values.

          Under IE7, the "User Session Expired" message occurs. Under FireFox, nothing happens – meaning, when I tab between fields, the partialSubmit features don't work and validation does not take place.

          Show
          Neil Griffin added a comment - BTW, I forgot to mention that my best guess is that this has something to do with the fact that the contents of the JobApplication.jspx file is the same for each portlet. Perhaps there is a conflict of "id" attribute values. Under IE7, the "User Session Expired" message occurs. Under FireFox, nothing happens – meaning, when I tab between fields, the partialSubmit features don't work and validation does not take place.
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Assignee User Deryk.sinotte [ deryk.sinotte ]
          Ken Fyten made changes -
          Fix Version/s 1.7DR#1 [ 10100 ]
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Assignee Deryk Sinotte [ deryk.sinotte ] Jack van Ooststroom [ jack.van.ooststroom ]
          Ken Fyten made changes -
          Link This issue depends on ICE-1675 [ ICE-1675 ]
          Jack Van Ooststroom made changes -
          Summary ICEfaces portlets with same/similar JSPs can't co-exist on the same portal page in Liferay ICEfaces Portlets from different WARs can't co-exist on the same Portal page
          Component/s Bridge [ 10011 ]
          Component/s Framework [ 10013 ]
          Fix Version/s 1.7 [ 10080 ]
          Fix Version/s 1.7DR#1 [ 10100 ]
          Affects Version/s 1.6.1 [ 10070 ]
          Hide
          Jack Van Ooststroom added a comment -

          Currently, when 2 ICEfaces portlets from different WARs are added to the same Portal page, the former ICEfaces Portlet will break and the latter will work (win). Looking at the HTTP logs, both ICEfaces Portlets end up using the same ICEfaces ID as well as the same context paths.

          Show
          Jack Van Ooststroom added a comment - Currently, when 2 ICEfaces portlets from different WARs are added to the same Portal page, the former ICEfaces Portlet will break and the latter will work (win). Looking at the HTTP logs, both ICEfaces Portlets end up using the same ICEfaces ID as well as the same context paths.
          Hide
          Mike Lawrence added a comment -

          I just closed a duplicate issue I created in Liferay
          http://support.liferay.com/browse/LEP-3967

          You may want to use my WARs as well to verify the fix.

          Show
          Mike Lawrence added a comment - I just closed a duplicate issue I created in Liferay http://support.liferay.com/browse/LEP-3967 You may want to use my WARs as well to verify the fix.
          Jack Van Ooststroom made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          Jack Van Ooststroom added a comment -

          Changed Fix Version to 1.7DR#3

          Show
          Jack Van Ooststroom added a comment - Changed Fix Version to 1.7DR#3
          Jack Van Ooststroom made changes -
          Fix Version/s 1.7DR#3 [ 10112 ]
          Fix Version/s 1.7 [ 10080 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15256 Tue Nov 27 11:22:56 MST 2007 jack.van.ooststroom Fixed JIRA ICE-1869: ICEfaces Portlets from different WARs can't co-exist on the same Portal page
          Files Changed
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/SequenceNumbers.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/servlet/SendUpdatedViewsServer.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/messaging
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/UpdatedViewsQueue.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/PooledObject.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/AbstractContextEventMessageHandler.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/AbstractHandler.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/RequestManager.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/UpdatedViews.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/AbstractHandler.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/ReadHandler.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/UpdatedViewsQueueManager.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/servlet/UpdatedViewsResponseHandler.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/Handler.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/UpdatedViewsQueueExceededException.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/HandlerPool.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/nio/NioHttpConnectionAcceptor.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/web/WEB-INF/web.xml
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/AsyncServlet.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/util/net/messaging/jms/JMSAdapter.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/MessageService.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/UpdatedViewsManager.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/AsyncHttpServerAdaptingServlet.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/UpdatedViews.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/UpdatedViewsMessageHandler.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/Handler.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/UpdatedViewsQueue.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/ContextEventMessageHandler.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/ResponseQueueExceededException.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/util/net/messaging/MessageHandler.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/HttpConnectionAcceptor.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/util/net/messaging/AbstractMessageHandler.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/BufferedContextEventsMessageHandler.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/UpdatedViewsQueueExceededMessageHandler.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/ResponseQueueManager.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/util/net/http/HttpRequest.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/WriteHandler.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/servlet/AsyncHttpServlet.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/util/net/messaging/MessageSeparator.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/servlet/SessionBoundServlet.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/ProcessHandler.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/SessionManager.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/ResponseQueue.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/ExecuteQueue.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/ExecuteQueue.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/io/IoHttpConnectionAcceptor.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/PurgeMessageHandler.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/ResponseMessageHandler.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/AbstractHttpConnectionAcceptor.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/servlet
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/AsyncHttpServerSettings.java
          Commit graph DEL /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/ResponseCollection.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/servlet/UpdatedViewsQueueExceededException.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/AsyncHttpServer.java
          Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/util/net/http/HttpRequest.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/servlet/ProcessHandler.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/AnnouncementMessageHandler.java
          Commit graph ADD /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/ResponseQueueExceededMessageHandler.java
          Hide
          Jack Van Ooststroom added a comment -

          Documentation needs to be updated for this as well!

          Show
          Jack Van Ooststroom added a comment - Documentation needs to be updated for this as well!
          Jack Van Ooststroom made changes -
          Affects [Documentation (User Guide, Ref. Guide, etc.)]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #15264 Wed Nov 28 11:01:32 MST 2007 jack.van.ooststroom Fixed JIRA ICE-1869: ICEfaces Portlets from different WARs can't co-exist on the same Portal page - I forgot to check in this file as well...
          Files Changed
          Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletConfigConfiguration.java
          Ken Fyten made changes -
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          Ken Fyten made changes -
          Issue Type Improvement [ 4 ] New Feature [ 2 ]
          Ken Fyten made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Affects [Documentation (User Guide, Ref. Guide, etc.)] [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Jack van Ooststroom [ jack.van.ooststroom ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Neil Griffin
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: