Re: Zero downtime deployments

2015-12-02 Thread Jason Britton
Thank you Christopher, reading now and we'll see if I can swing the conference :) On Wed, Dec 2, 2015 at 4:00 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Jason, > > On 12/2/15 4:07 PM, Jason Britton wrote: > > I was looking for information for how those on the list achieve ze

Re: Zero downtime deployments

2015-12-02 Thread Christopher Schultz
Jason, On 12/2/15 4:07 PM, Jason Britton wrote: > I was looking for information for how those on the list achieve zero > downtime deployments of their tomcat hosted web applications. I imagine > this can be achieved in a variety of ways, but would love to hear what > works for you. In our curren

Detecting Expired Session via JavaScript?

2015-12-02 Thread Terence M. Bandoian
On 12/1/2015 11:30 AM, Jerry Malcolm wrote: I'm looking for a way to detect that the current session has expired (or logged out via another tab on the browser). I know I could just issue dummy requests to the server and see if a login page comes back. But issuing requests automatically resets

Re: No access log line if client aborts

2015-12-02 Thread Mike Wartes
Hi Chris, thanks for your reply. Yeah, I'm sure the request made it to Tomcat. The specific way I have reproduced the problem is by setting a breakpoint on a line in my application code, making a request in a browser, waiting for the breakpoint to get hit, closing the browser tab that made the req

Zero downtime deployments

2015-12-02 Thread Jason Britton
Hello Good People - I was looking for information for how those on the list achieve zero downtime deployments of their tomcat hosted web applications. I imagine this can be achieved in a variety of ways, but would love to hear what works for you. In our current environment we front multiple tomc

Re: No access log line if client aborts

2015-12-02 Thread Christopher Schultz
Mike, On 12/2/15 2:13 PM, Mike Wartes wrote: > I'm having a problem where requests made to Tomcat that the client aborts > early wind up not producing an access log line. I've reproduced it on > Tomcat 7.0.39 and Tomcat 8.0.28. > > The repro case is pretty easy. Just use a browser to make a reque

No access log line if client aborts

2015-12-02 Thread Mike Wartes
I'm having a problem where requests made to Tomcat that the client aborts early wind up not producing an access log line. I've reproduced it on Tomcat 7.0.39 and Tomcat 8.0.28. The repro case is pretty easy. Just use a browser to make a request to any application endpoint and then close the browse

Re: Detecting Expired Session via JavaScript?

2015-12-02 Thread tomcat
On 02.12.2015 16:55, Christopher Schultz wrote: Jerry, On 12/1/15 2:39 PM, Jerry Malcolm wrote: On 12/1/2015 12:17 PM, Jose María Zaragoza wrote: ts automatically resets the session timer. Only if the request goes to the same application. You can create a HttpSessionListener who saves some in

Re: Detecting Expired Session via JavaScript?

2015-12-02 Thread Christopher Schultz
Jerry, On 12/1/15 2:39 PM, Jerry Malcolm wrote: > On 12/1/2015 12:17 PM, Jose María Zaragoza wrote: >> >> ts automatically resets the session timer. >> Only if the request goes to the same application. >> You can create a HttpSessionListener who saves some info on a shared >> store when session is

RE: Detect shutdown when in common/global classpath?

2015-12-02 Thread jimi.hullegard
Mark wrote: > On 30/11/2015 15:51, jimi.hulleg...@svensktnaringsliv.se wrote: > > Hi, > > > > When running code in a webapp, I know it is possible to detect an undeploy > > of the webapp, or shutdown of Tomcat, using a ServletContextListener. But > > how about code running outside the webapp? >

Re: Detecting Expired Session via JavaScript?

2015-12-02 Thread Christopher Schultz
Jerry, On 12/1/15 3:11 PM, Jerry Malcolm wrote: > On 12/1/2015 1:28 PM, Christopher Schultz wrote: >> Jerry, >> >> On 12/1/15 12:30 PM, Jerry Malcolm wrote: >>> I'm looking for a way to detect that the current session has expired (or >>> logged out via another tab on the browser). I know I could

Re: Conditional Deployment

2015-12-02 Thread kidambi madhu
Thanks Chuck for the info. I will try the Parallel Deployment option you have suggested. -Madhu On Wed, Dec 2, 2015 at 7:15 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: kidambi madhu [mailto:madhu.kida...@gmail.com] > > Subject: Conditional Deployment > > > We are fac

RE: Conditional Deployment

2015-12-02 Thread Caldarale, Charles R
> From: kidambi madhu [mailto:madhu.kida...@gmail.com] > Subject: Conditional Deployment > We are facing an issue related to Deployment (Specifically Auto Deployment) > in Tomcat 7 > We have a build process setup from Jenkins tool to build and auto ftp the > war file to the "Webapps" folder of T

WebEx meeting invitation: Apache Tomcat: TLS Virtual Hosting

2015-12-02 Thread Mark Thomas
Hello, Mark Thomas invites you to join this WebEx meeting. Apache Tomcat: TLS Virtual Hosting Tuesday, 8 December 2015 21:00 | GMT Time (London, GMT) | 1 hr JOIN WEBEX MEETING https://pivotal.webex.com/pivotal/j.php?MTID=mbe47fb9d99eae66cd796223bf757b569 Meeting number: 642 749 240 JOIN

WebEx meeting invitation: Apache Tomcat: TLS Virtual Hosting

2015-12-02 Thread Mark Thomas
Hello, Mark Thomas invites you to join this WebEx meeting. Apache Tomcat: TLS Virtual Hosting Tuesday, 8 December 2015 10:00 | GMT Time (London, GMT) | 1 hr JOIN WEBEX MEETING https://pivotal.webex.com/pivotal/j.php?MTID=md04c20b9c83695a23992a9a2f9ea1302 Meeting number: 640 832 227 JOIN

Tomcat Webinar Series: TLS virtual hosting 8th Dec 2015

2015-12-02 Thread Mark Thomas
Hi, The topic of the second Tomcat webinar will be TLS virtual hosting. It will be on Tuesday 8th December at 10.00 UTC and 21.00 UTC. Invitations to the webinar so you can watch it live will be sent to the users list later today. The recording will be made available shortly afterwards via the To