Re: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Pid
On 12/08/2011 04:01, Jonathan Rosenberg wrote: Trying to fall asleep and just had a thought on my problem: are context-param values shared across different context versions (as implemented in parallel deployment)? Nope. The apps are self-contained. C -- JR On Aug 11, 2011 6:10 PM,

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Jonathan Rosenberg
So, it's gotta be something simple I'm missing. I decided to construct a trivial test of parallel deployment. Couldn't be simpler (http://www.javacodegeeks.com/2011/06/zero-downtime-deployment-and-rollback.html?m=1): $ mkdir WEB-INF $ echo WEB-INF/web.xml $ echo 'old version ' index.jsp $

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, On 8/12/2011 11:02 AM, Jonathan Rosenberg wrote: 1) Copy foo##001.war to webapps visit /foo. Results as expected ('old version'). 2) Copy foo##002.war to webapps reload /foo. Results surprise me ('NEW version ') What am I missing

RE: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Caldarale, Charles R
From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan Rosenberg Subject: Re: Parallel Deployment Sessions: What am I Missing? 1) Copy foo##001.war to webapps visit /foo. Results as expected ('old version'). Fine so far. 2) Copy foo##002.war to webapps reload

RE: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Parallel Deployment Sessions: What am I Missing? Results surprise me ('NEW version ') Why is that surprising? To quote from the doc: If no session information is present in the request, use the latest version. You might want to sniff the traffic

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Jonathan Rosenberg
Chris, I am using the same browser instance. Just reloading the page. Tomcat manager confirms the existence of a session. I am the only user of this test machine, os no confusion there. Are there any config settings that would disable parallel deployment? I'm at a loss, since this test case

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/12/2011 2:13 PM, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Parallel Deployment Sessions: What am I Missing? Results surprise me ('NEW version ') Why is that surprising? To quote from the doc

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Jonathan Rosenberg
wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/12/2011 2:13 PM, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Parallel Deployment Sessions: What am I Missing? Results surprise me ('NEW version ') Why is that surprising?  To quote from the doc

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, On 8/12/2011 2:14 PM, Jonathan Rosenberg wrote: I am using the same browser instance. Just reloading the page. Good. Tomcat manager confirms the existence of a session. I am the only user of this test machine, os no confusion there.

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Jonathan Rosenberg
Mystery solved, I think. I did a little more digging around discovered that my cookie had two JSESSIONID values. I didn't even know this was possible. Neither of the values matched Tomcat's session id the browser was unable to update the cookie's JSESSIONID properly (no surprise). I deleted

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, On 8/12/2011 3:02 PM, Jonathan Rosenberg wrote: Mystery solved, I think. I did a little more digging around discovered that my cookie had two JSESSIONID values. I didn't even know this was possible. Yep, cookies can have multiple

Parallel Deployment Sessions: What am I Missing?

2011-08-11 Thread Jonathan Rosenberg
Following up on my post the other day ... I figured out a clean way to generate a Catalog##~~~.war Grails app that just yields an outage page. Today I deployed tested sessions are not behaving as I expected. Here's what I have 1) Deployed Catalog##0002.war. started. 2) Access app (/Catalog)

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-11 Thread Mark Thomas
On 11/08/2011 21:56, Jonathan Rosenberg wrote: Following up on my post the other day ... I figured out a clean way to generate a Catalog##~~~.war Grails app that just yields an outage page. Today I deployed tested sessions are not behaving as I expected. Here's what I have 1) Deployed

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-11 Thread Jonathan Rosenberg
Great idea. I just retested aith Firebug the JSESSIONIDs are identical. Ideas, anyone? -- Jonathan Rosenberg Founder Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org/ On Thu, Aug 11, 2011 at 5:01 PM, Mark Thomas ma...@apache.org wrote: On 11/08/2011 21:56,

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-11 Thread Jonathan Rosenberg
BTW: I'm using Apache Tomcat/7.0.6 JDK 1.6.0_22-b04 on Linux. -- Jonathan Rosenberg Founder Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org/ On Thu, Aug 11, 2011 at 6:00 PM, Jonathan Rosenberg j...@tabbysplace.org wrote: Great idea.  I just retested aith

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-11 Thread Jonathan Rosenberg
Trying to fall asleep and just had a thought on my problem: are context-param values shared across different context versions (as implemented in parallel deployment)? -- JR On Aug 11, 2011 6:10 PM, Jonathan Rosenberg j...@tabbysplace.org wrote: BTW: I'm using Apache Tomcat/7.0.6 JDK