You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by John Lewis <jl...@unicon.net> on 2005/12/01 18:53:37 UTC
Cross-Context Session Replication
As was discussed here over the summer, there is a need in the JSR-168
Portlet community to use cross-context access so that a portal webapp
can communicate with various portlet webapps. Unfortunately, session
replication in a Tomcat cluster does not occur when one webapp accesses
another webapp's context and changes occur in the session of the target
webapp.
Unicon now has several clients that are extremely eager to see
cross-context session replication support built into Tomcat. Given that
this work would be difficult for someone not already familiar with the
Tomcat code, are there any experienced Tomcat developers out there who
would be interested in doing this work for pay? Of course we are eager
to have this change incorporated into the main Tomcat code, so having an
existing Tomcat committer do this would be ideal.
If anyone qualified is interested, please contact me directly. We will
undertake the effort ourselves if necessary, but obviously we would
prefer to find a community-oriented solution to the problem.
Thanks for your help!
John Lewis
Unicon, Inc.
+1-602-509-0925
jlewis@unicon.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Cross-Context Session Replication
Posted by John Lewis <jl...@unicon.net>.
Peter,
This is excellent news! We are very excited that you are going to be
working on this.
There was already any entry in ASF Bugzilla for this issue: bug #35710.
I have taken the liberty of updating the notes to reflect this
discussion and of assigning it to you -- I hope that is alright.
Please let us know if there is anything we can do to support you in
this. Thanks so much!
John
Peter Rossbach wrote:
> Yes,
>
> I implement this idea inside the ReplicationValve or a new one. I thing
> we support cross context session replication inside 5.5.14.
> Thanx
> Peter
>
> Remy Maucherat schrieb:
>
>> Peter Rossbach wrote:
>>
>>> Hey,
>>>
>>> I am highly interessed to support cross-context for cluster session
>>> replication. The session.endAccess is a neat place
>>> for support this. Please, let us discuss how we can use it.
>>
>>
>>
>> In your ClusteredSession, you can override endAccess (don't forget to
>> call the superclass) and populate a thread local structure of some
>> sort, or something like that. Then the valve looks at the structure
>> and replicates all the sessions that need to be replicated.
>>
>> Rémy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>>
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Cross-Context Session Replication
Posted by Peter Rossbach <pr...@objektpark.de>.
Yes,
I implement this idea inside the ReplicationValve or a new one. I thing
we support cross context session replication inside 5.5.14.
Thanx
Peter
Remy Maucherat schrieb:
> Peter Rossbach wrote:
>
>> Hey,
>>
>> I am highly interessed to support cross-context for cluster session
>> replication. The session.endAccess is a neat place
>> for support this. Please, let us discuss how we can use it.
>
>
> In your ClusteredSession, you can override endAccess (don't forget to
> call the superclass) and populate a thread local structure of some
> sort, or something like that. Then the valve looks at the structure
> and replicates all the sessions that need to be replicated.
>
> Rémy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Cross-Context Session Replication
Posted by Remy Maucherat <re...@apache.org>.
Peter Rossbach wrote:
> Hey,
>
> I am highly interessed to support cross-context for cluster session
> replication. The session.endAccess is a neat place
> for support this. Please, let us discuss how we can use it.
In your ClusteredSession, you can override endAccess (don't forget to
call the superclass) and populate a thread local structure of some sort,
or something like that. Then the valve looks at the structure and
replicates all the sessions that need to be replicated.
Rémy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Cross-Context Session Replication
Posted by Peter Rossbach <pr...@objektpark.de>.
Hey,
I am highly interessed to support cross-context for cluster session
replication. The session.endAccess is a neat place
for support this. Please, let us discuss how we can use it.
Any idea
Peter
Remy Maucherat schrieb:
> John Lewis wrote:
>
>> As was discussed here over the summer, there is a need in the JSR-168
>> Portlet community to use cross-context access so that a portal webapp
>> can communicate with various portlet webapps. Unfortunately, session
>> replication in a Tomcat cluster does not occur when one webapp
>> accesses another webapp's context and changes occur in the session of
>> the target webapp.
>>
>> Unicon now has several clients that are extremely eager to see
>> cross-context session replication support built into Tomcat. Given
>> that this work would be difficult for someone not already familiar
>> with the Tomcat code, are there any experienced Tomcat developers out
>> there who would be interested in doing this work for pay? Of course
>> we are eager to have this change incorporated into the main Tomcat
>> code, so having an existing Tomcat committer do this would be ideal.
>>
>> If anyone qualified is interested, please contact me directly. We
>> will undertake the effort ourselves if necessary, but obviously we
>> would prefer to find a community-oriented solution to the problem.
>
>
> I proposed to use the session.endAccess method to do that, but nobody
> seemed interested in actually implementing it.
>
> Rémy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Cross-Context Session Replication
Posted by Remy Maucherat <re...@apache.org>.
John Lewis wrote:
> As was discussed here over the summer, there is a need in the JSR-168
> Portlet community to use cross-context access so that a portal webapp
> can communicate with various portlet webapps. Unfortunately, session
> replication in a Tomcat cluster does not occur when one webapp accesses
> another webapp's context and changes occur in the session of the target
> webapp.
>
> Unicon now has several clients that are extremely eager to see
> cross-context session replication support built into Tomcat. Given that
> this work would be difficult for someone not already familiar with the
> Tomcat code, are there any experienced Tomcat developers out there who
> would be interested in doing this work for pay? Of course we are eager
> to have this change incorporated into the main Tomcat code, so having an
> existing Tomcat committer do this would be ideal.
>
> If anyone qualified is interested, please contact me directly. We will
> undertake the effort ourselves if necessary, but obviously we would
> prefer to find a community-oriented solution to the problem.
I proposed to use the session.endAccess method to do that, but nobody
seemed interested in actually implementing it.
Rémy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org