Re: Changing session timeout for a webapp via JMX or internal Tomcat API?

2011-11-30 Thread Ellecer Valencia
tomcat's /conf/web.xml but that would 1.affect all webapps (we only want to affect the older version - foo##001) and 2.it requires tomcat restart (we are trying to reduce downtime for users) Ellecer On Wednesday, November 30, 2011, Igor Cicimov wrote: >> >> >> > On Wed,

Changing session timeout for a webapp via JMX or internal Tomcat API?

2011-11-29 Thread Ellecer Valencia
Is there a way to change session timeouts in tomcat via JMX? I've only seen the operation called "expireSession", but not one that can change the session timeout period. The only way I've found so far to modify session timeouts is by modifying web.xml and restarting Tomcat. However, in our intend

Parallel deployment - can we use JMX to monitor old and new versions of a webapp?

2011-11-09 Thread Ellecer Valencia
Hi, We're looking into the parallel deployment feature of Tomcat 7 and want to see if there is a way to monitor performance stats of an old deployment of a webapp. Our webapp has a few pages that display application-specific information - performance indicators, recent exceptions, cache informati

Re: Rollback in Tomcat7 under parallel deployment

2011-10-30 Thread Ellecer Valencia
Ah yes. Thanks Chuck. That makes more sense. =) On Mon, Oct 31, 2011 at 3:04 PM, Caldarale, Charles R wrote: >> From: Ellecer Valencia [mailto:elle...@gmail.com] >> Subject: Re: Rollback in Tomcat7 under parallel deployment > >> But how would it cause an outage? ROOT##003

Re: Rollback in Tomcat7 under parallel deployment

2011-10-30 Thread Ellecer Valencia
##003. They will "own" different sessions. Ellecer On Sat, Oct 29, 2011 at 7:53 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ellecer, > > On 10/27/2011 7:11 PM, Ellecer Valencia wrote: >> On Thursday, October 27, 2011, Mar

Re: Rollback in Tomcat7 under parallel deployment

2011-10-27 Thread Ellecer Valencia
On Thursday, October 27, 2011, Mark Thomas wrote: >> Also, what happens if ROOT##001 and ##002 have the same log4j configs >> and are writing to the same log file?? How have people handled this >> situation? > > You'll certainly end up with both apps writing to the same file. Whether > or not that

Rollback in Tomcat7 under parallel deployment

2011-10-26 Thread Ellecer Valencia
Hi, If I'm using parallel deployment in Tomcat 7, and now have 2 webapps /webapps/ROOT##001.war /webapps/ROOT##002.war and then get problems in the new version and want to rollback to ROOT##001.war. If I delete the more recent version by doing rm /tomcat/webapps/ROOT##002.war What happens to