You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Vivek Kumar (JIRA)" <je...@portals.apache.org> on 2009/02/27 16:27:15 UTC

[jira] Created: (JS2-932) Portlet cache doesn't get refresh after login

Portlet cache doesn't get refresh after login
---------------------------------------------

                 Key: JS2-932
                 URL: https://issues.apache.org/jira/browse/JS2-932
             Project: Jetspeed 2
          Issue Type: Bug
    Affects Versions: 2.1, 2.1.2, 2.1.3, 2.2
         Environment: Tomcat,mysql
            Reporter: Vivek Kumar
            Assignee: Vivek Kumar


Portlet cache doesn't get refresh after login. Portlet keep on showing old content until we perform some
action on portlet.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Resolved: (JS2-932) Portlet cache doesn't get refresh after login

Posted by "Vivek Kumar (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vivek Kumar resolved JS2-932.
-----------------------------

    Resolution: Fixed

Issue is fixed

> Portlet cache doesn't get refresh after login
> ---------------------------------------------
>
>                 Key: JS2-932
>                 URL: https://issues.apache.org/jira/browse/JS2-932
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1, 2.1.2, 2.1.3, 2.2.0
>         Environment: Tomcat,mysql
>            Reporter: Vivek Kumar
>            Assignee: Vivek Kumar
>             Fix For: 2.2.0
>
>
> Portlet cache doesn't get refresh after login. Portlet keep on showing old content until we perform some
> action on portlet.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-932) Portlet cache doesn't get refresh after login

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696952#action_12696952 ] 

Ate Douma commented on JS2-932:
-------------------------------

While I expect this change to fix it for now,  it might not be enough afterall with regards to other (new) requirements which we'll have to deal with too.
For instance, the portlet 2.0 spec added shared content caching options (optional) as well as ETag based content caching, see: JS2-952
Full support of those features is only scheduled for the next 2.2.1 release however. 
Additionally, if a new session is not created upon authentication (maybe when implementing something like a shopping-card solution) this would still remain an issue too. 

> Portlet cache doesn't get refresh after login
> ---------------------------------------------
>
>                 Key: JS2-932
>                 URL: https://issues.apache.org/jira/browse/JS2-932
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1, 2.1.2, 2.1.3, 2.2.0
>         Environment: Tomcat,mysql
>            Reporter: Vivek Kumar
>            Assignee: Vivek Kumar
>             Fix For: 2.2.0
>
>
> Portlet cache doesn't get refresh after login. Portlet keep on showing old content until we perform some
> action on portlet.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-932) Portlet cache doesn't get refresh after login

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma updated JS2-932:
--------------------------

    Fix Version/s: 2.2.0

> Portlet cache doesn't get refresh after login
> ---------------------------------------------
>
>                 Key: JS2-932
>                 URL: https://issues.apache.org/jira/browse/JS2-932
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1, 2.1.2, 2.1.3, 2.2.0
>         Environment: Tomcat,mysql
>            Reporter: Vivek Kumar
>            Assignee: Vivek Kumar
>             Fix For: 2.2.0
>
>
> Portlet cache doesn't get refresh after login. Portlet keep on showing old content until we perform some
> action on portlet.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Resolved: (JS2-932) Portlet cache doesn't get refresh after login

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma resolved JS2-932.
---------------------------

    Resolution: Fixed

Fixed

> Portlet cache doesn't get refresh after login
> ---------------------------------------------
>
>                 Key: JS2-932
>                 URL: https://issues.apache.org/jira/browse/JS2-932
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1, 2.1.2, 2.1.3, 2.2.0
>         Environment: Tomcat,mysql
>            Reporter: Vivek Kumar
>            Assignee: Ate Douma
>             Fix For: 2.2.0
>
>
> Portlet cache doesn't get refresh after login. Portlet keep on showing old content until we perform some
> action on portlet.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-932) Portlet cache doesn't get refresh after login

Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696834#action_12696834 ] 

David Sean Taylor commented on JS2-932:
---------------------------------------

I changed the default setting for creating new sessions upon authentication. This should fix the problem. Please retest from the trunk and close if it also works for you. Thanks


<bean id='org.apache.jetspeed.administration.PortalAuthenticationConfiguration'
	class='org.apache.jetspeed.administration.PortalAuthenticationConfigurationImpl'>

   <!--  create new session upon authentication -->   
   <constructor-arg index='0'>
   		<value>false</value>
   </constructor-arg>	


> Portlet cache doesn't get refresh after login
> ---------------------------------------------
>
>                 Key: JS2-932
>                 URL: https://issues.apache.org/jira/browse/JS2-932
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1, 2.1.2, 2.1.3, 2.2.0
>         Environment: Tomcat,mysql
>            Reporter: Vivek Kumar
>            Assignee: Vivek Kumar
>             Fix For: 2.2.0
>
>
> Portlet cache doesn't get refresh after login. Portlet keep on showing old content until we perform some
> action on portlet.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Reopened: (JS2-932) Portlet cache doesn't get refresh after login

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma reopened JS2-932:
---------------------------

      Assignee: Ate Douma  (was: Vivek Kumar)

The real cause of this issue, not evicting user content caches upon authentication, is still not fixed when not creating a new session upon authentication (although that's the default now).

As I'm deep in the content cache handling already for integrating public render parameters cache management, I noticed we do have the proper evicting already coded upon session invalidation within JetspeedServlet.

As the evicting requires 3 different Spring components and several lines of logic, I'll move the code from JetspeedServlet to a new UserContentCacheManager with a single evictUserContentCache method.
This method then needs to be invoked from the following situations:
- JetspeedServlet.sessionDestroyed
- LoginRedirectorServlet.doGet (after container authentication)
- PortalFilter and ShibbolethPortalFilter doFilter (after custom authentication)
- and should also be called by any other custom PortalFilter

Configuration of the UserContentCacheManagerImpl will be done in cache.xml

> Portlet cache doesn't get refresh after login
> ---------------------------------------------
>
>                 Key: JS2-932
>                 URL: https://issues.apache.org/jira/browse/JS2-932
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1, 2.1.2, 2.1.3, 2.2.0
>         Environment: Tomcat,mysql
>            Reporter: Vivek Kumar
>            Assignee: Ate Douma
>             Fix For: 2.2.0
>
>
> Portlet cache doesn't get refresh after login. Portlet keep on showing old content until we perform some
> action on portlet.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-932) Portlet cache doesn't get refresh after login

Posted by "Vivek Kumar (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697817#action_12697817 ] 

Vivek Kumar commented on JS2-932:
---------------------------------

This issue fixed in jetspeed trunk.

> Portlet cache doesn't get refresh after login
> ---------------------------------------------
>
>                 Key: JS2-932
>                 URL: https://issues.apache.org/jira/browse/JS2-932
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1, 2.1.2, 2.1.3, 2.2.0
>         Environment: Tomcat,mysql
>            Reporter: Vivek Kumar
>            Assignee: Vivek Kumar
>             Fix For: 2.2.0
>
>
> Portlet cache doesn't get refresh after login. Portlet keep on showing old content until we perform some
> action on portlet.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org