Parallel deploy stopps picking up new wars

2017-05-09 Thread Chris Gamache
This is tomcat 8.0.28 Background: Tomcat will be running fine, we can deploy new versions of webapps via parallel deploy no problems. Then, after a few days, tomcat will stop picking up new versions of webapps. It's like tomcat has decided to stop watching for new files. It's very odd. I've tried

Re: sendFiles vs. compression

2017-04-19 Thread Chris Gamache
On Wed, Apr 19, 2017 at 9:26 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Chris, > > On 4/18/17 10:58 AM, Chris Gamache wrote: > > Is there a way to create a split point where sendFile will ha

Re: sendFiles vs. compression

2017-04-19 Thread Chris Gamache
On Wed, Apr 19, 2017 at 9:05 AM, Mark H. Wood wrote: > On Tue, Apr 18, 2017 at 02:03:19PM -0400, Chris Gamache wrote: > > I had any frame of reference to base a decision on, I wouldn't have asked > > the question. Ask any front-end engineer what the single best thing to do

Re: sendFiles vs. compression

2017-04-18 Thread Chris Gamache
nversation, as opposed to having to > scroll back and forth to find out what you are commenting on. > > Noted. Apologies. > On 18.04.2017 16:58, Chris Gamache wrote: > >> Excellent information. Thank you! >> >> Is there a way to create a split point where sendFi

Re: sendFiles vs. compression

2017-04-18 Thread Chris Gamache
On Tue, Apr 18, 2017 at 11:29 AM, Mark Thomas wrote: > On 18/04/17 15:58, Chris Gamache wrote: > > Excellent information. Thank you! > > > > Is there a way to create a split point where sendFile will handle files > of > > certain mime types (or all mime-types e

Re: sendFiles vs. compression

2017-04-18 Thread Chris Gamache
t the expense of direct static file access and save bandwidth? On Tue, Apr 18, 2017 at 9:08 AM, André Warnier (tomcat) wrote: > On 18.04.2017 14:50, Chris Gamache wrote: > >> Using tomcat 8.0.43 ... >> >> I'm grappling with GZip compression options. Historically, I&#

sendFiles vs. compression

2017-04-18 Thread Chris Gamache
Using tomcat 8.0.43 ... I'm grappling with GZip compression options. Historically, I've used a custom GZip filter and that's been fine for the most part. If the file being served is under 50K the filter would compress it in memory and send it out. If the file is over 50K, it would connect the Outp

Re: Question on parallel deployment

2016-09-14 Thread Chris Gamache
Hi Felipe, It is my experience that Tomcat will continue to process long-running old requests while new requests get served the new version of the webapp. When the requests are finished processing Tomcat will undeploy the old version of the webapp (undeployOldVersions="true"). If you do happen to

context.xml advice

2016-09-11 Thread Chris Gamache
WEB-INF/web.xml ${catalina.base}/conf/web.xml We're getting great results with this and for Tomcat connection pooling. The context.xml file is properly protected on our snowflake tomcat servers. But, we're looking to start using Docker to containerize our tomcat servers. The easy a

Long running process and parallel deployment

2016-07-08 Thread Chris Gamache
I need some help: My web application has an upload file function. These files can be huge. While the file is uploading, the upload class spawns a new thread to send status updates to the client's progress bar. This works fine even for the most giant files except when we want to make a parallel dep

Re: Tomcat can not locate the folders of CSS files inside a web app, if the url-pattern of a servlet is set to / inside web.xml

2016-03-07 Thread Chris Gamache
Chuck, That's precisely the point I was trying to make. CG On Mon, Mar 7, 2016 at 2:05 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Chris Gamache [mailto:cgama...@gmail.com] > > Subject: Re: Tomcat can not locate the folders of CSS files ins

Re: Tomcat can not locate the folders of CSS files inside a web app, if the url-pattern of a servlet is set to / inside web.xml

2016-03-07 Thread Chris Gamache
Junqiang Zhang has the expectation of the paths to the files correct. /mywebapp/css/style.css is where that file should be located if exists in the spot indicated in the tree diagram. I don't think the default servlet plays in to this... Can you post your web.xml ? I think perhaps one of your map

Re: What would happen if there were 2 log4j.jar files in the same library

2016-03-04 Thread Chris Gamache
Hi Joleen, You may already know most of this, but just in case: Inside or outside of tomcat, if you have two classes in the same classpath, both with the same class name and package name, it's often hit-or-miss which one will get picked. Weird things happen. And different weird things happen with

Re: /manager/text/list

2015-10-23 Thread Chris Gamache
Oct 23, 2015, at 2:59 AM, Theo Sweeny wrote: > > Hi Chris, > > -Original Message----- > From: Chris Gamache [mailto:cgama...@gmail.com] > Sent: 22 October 2015 19:58 > To: Tomcat Users List > Subject: /manager/text/list > > Hi all, > > Using Tomcat 8 ..

/manager/text/list

2015-10-22 Thread Chris Gamache
Hi all, Using Tomcat 8 ... Has anyone noticed that /manager/text/list doesn't show version numbers when there are multiple versions of a webapp running (via parallel deployment)? Is there a different listing facility I should be using to find out the version tags of the currently running applica

Re: Tomcat clustering for simplified config

2015-10-12 Thread Chris Gamache
I don't have a solution or advice to contribute, but I hope I can spur along some more discussion on the issue. We struggle with the problem of pets versus cattle also. We have a farm of pets right now. Our team is still evaluating at what level in our infrastructure our tomcat servers will

Re: Parallel deployment URL issue

2015-10-02 Thread Chris Gamache
yourWar##12345 to > yourWar%23%2312345 ? > > regards > A.T. > > > 2015-10-01 17:51 GMT+02:00 Chris Gamache : > > Hi all, > > > > I'm stuck using axis2-1.5.4. > > > > Here's what I think is happening: > > > > Axis2 does this sort

Re: Parallel deployment URL issue

2015-10-01 Thread Chris Gamache
some best practices or pitfalls to avoid? It seems too easy and that's always when, in the movies, the trap gets sprung. On Thu, Oct 1, 2015 at 3:38 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Chri

Parallel deployment URL issue

2015-10-01 Thread Chris Gamache
Hi all, I'm stuck using axis2-1.5.4. Here's what I think is happening: Axis2 does this sort of container-in-a-container thing. It creates its own classloader and pulls in all of its jar libraries dynamically. The problem is that it uses a java.net.URL to target the files. This would be fine exce

Re: Parallel Deployment: Can I request a specific webapp version?

2015-07-21 Thread Chris Gamache
+1 here. This would be nice to have a standard way to manage different logical versions of the same webapp to handle split-braining client and server code. That's my million dollar problem. So, the idea floated by this fine group of list participants was to deploy and use cookies that a revers

Switching contexts using a valve

2014-12-05 Thread Chris Gamache
Currently we use haproxy to direct users to certain versions of our software based on a cookie. This is so that the user can select which version of the software they want to use (e.g. Legacy, Stable, Beta) ... Having that kind of application functionality in the load balancer is something I'd rath

Re: throttle filter

2014-12-02 Thread Chris Gamache
Anyone ever suggested? No idea. But I'd be glad to riff on the subject in case it shakes some discussion loose. I haven't seen a filter like that, but I'm sure you could work it out. If I were implementing it I would use a Valve... Valves are easy to write- just extend org.apache.catalina.valves.V

Re: tomcat7-maven-plugin and mail

2014-12-02 Thread Chris Gamache
anyway to > mark those two as "provided" and ship them to Tomcat via Puppet. > > I am however still unable to integration test against Tomcat as it cannot > find the class. This appears to be far more painful than expected :( > > James > > > On 1 December 2

Re: tomcat7-maven-plugin and mail

2014-12-01 Thread Chris Gamache
A few things you might take a look at. I don't think the Tomcat plugin requires javax.mail or activation by itself. That part of the plugin definition probably isn't doing what you intended it to do. I think you might want to remove the section. By including ... org.apache.commons com

Re: Help! parallel deployment problem.

2014-11-25 Thread Chris Gamache
GE- > Hash: SHA256 > > Chris, > >> On 11/24/14 10:55 PM, Chris Gamache wrote: >> So first, I'd be glad to. Just to be clear-- I'm not in need of a >> lecture, but will willingly take one if anyone can help me get down >> to a solution. My first attem

Re: Help! parallel deployment problem.

2014-11-24 Thread Chris Gamache
lly? If so, DenverCoder9, what did you see?!? TIA P.S. the sky is falling :) On Mon, Nov 24, 2014 at 7:36 PM, Leo Donahue wrote: > On Mon, Nov 24, 2014 at 5:48 PM, Chris Gamache wrote: > > > Tomcat 7 ... Working with parallel deployment, tomcat servers in my farm > > are getti

Help! parallel deployment problem.

2014-11-24 Thread Chris Gamache
Tomcat 7 ... Working with parallel deployment, tomcat servers in my farm are getting out-of-sync, not getting new versions of war files deployed to the main tomcat. What could be going wrong and how can I fix it? Pleez Help!

un-sexy farm deployment

2014-11-19 Thread Chris Gamache
Here's my problem: A tomcat server participating in a farm-deploy scheme goes off-line... For this particular sticky situation we'll say the connection to the rest of the cluster was interrupted when a network cable was knocked loose. While the tomcat server is off-line a parallel deployment take