On 11/08/2011 02:55, Jonathan Rosenberg wrote:
> Two benefits:
>
> 1) Allows incompatible upgrades.
> 2) Allos existing sessions to complete.
Parallel deployment does allow existing sessions to complete.
Only new sessions are directed to the newest application.
Are you seeing different behaviour
> We use apache http in-front of tomcat. This allows us to do exactly this. We
> route calls from apache through to tomcat normally using mod_jk, and then
> when we want to perform an upgrade, we update apache config, graceful
> restart of apache, and apache routes all traffic to holding page. This
>>> I want to use parallel deployment as an easy way to allow existing
> >>> sessions to continue while redirecting new sessions to a "down for
> >>> temp maintenance page."
>
We use apache http in-front of tomcat. This allows us to do exactly this. We
route calls from apache through to tomcat no
On 10/08/2011 21:15, Jonathan Rosenberg wrote:
>>> I want to use parallel deployment as an easy way to allow existing
>>> sessions to continue while redirecting new sessions to a "down for
>>> temp maintenance page."
>
>> Why not just upload a new .war (with the newest version) which only
>> displ
>> I want to use parallel deployment as an easy way to allow existing
>> sessions to continue while redirecting new sessions to a "down for
>> temp maintenance page."
> Why not just upload a new .war (with the newest version) which only
> displays that page?
I could do that. But if I can use the
On 10/08/2011 19:55, Jonathan Rosenberg wrote:
> Quick answer: I want to have my Grails app determine at runtime which
> version it was deployed as (bad English, I know).
>
> Longer answer:
>
> I want to use parallel deployment as an easy way to allow existing
> sessions to continue while redirec
I suspect I can do it like this:
"If session information is present in the request, check the session
manager of each version for a matching session and if one is found,
use that version."
--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary
http://www.tabbysplace.org
Quick answer: I want to have my Grails app determine at runtime which
version it was deployed as (bad English, I know).
Longer answer:
I want to use parallel deployment as an easy way to allow existing
sessions to continue while redirecting new sessions to a "down for
temp maintenance page."
My
On 10/08/2011 19:41, Jonathan Rosenberg wrote:
> Looking at some of my session ids & doing some searching online did
> not turn up any useful info on format of session id (& where context
> version is).
>
> Can you point me at something?
Sorry, my bad - that was an earlier version of the code tha
Looking at some of my session ids & doing some searching online did
not turn up any useful info on format of session id (& where context
version is).
Can you point me at something?
--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary
http://www.tabbysplace.org/
On W
On 10/08/2011 17:37, Jonathan Rosenberg wrote:
> I'm using Tomcat 7+. How can I get the context version #? I.e., if app Is
> being run as app##124, I want 124.
The simplest way will be to parse the session ID.
Mark
-
To unsub
11 matches
Mail list logo