Vhost-specific configuration for deployed apps?

2012-07-11 Thread Dave Shevett
Hi folks, this has come up in the list archives a couple times, but I'm having a devil of a time getting it working right. I'm trying to set a basic set of properties to a deployed app into Tomcat. Note that this app is being deployed via the tomcat manager (in fact it's coming from Jenkins), and

Re: "High Level" question. Managing dynamic vhost deployments...

2012-04-27 Thread Dave Shevett
On 4/27/12 4:27 AM, André Warnier wrote: It seems that you have already most of the parts done, and are just missing the "persistent" part of the entries in server.xml. It would seem like a fairly easy task, with a bit of scripting, to have a template server.xml with some kind of an "include" ta

"High Level" question. Managing dynamic vhost deployments...

2012-04-26 Thread Dave Shevett
Hey folks - I've gotten great help on the list before, I'm looking for some guidance on how to approach this... I have a hosted service that deploys / provisions vhosts running a prepackaged .war app. I'd like to be able to 'spin up' a vhost on the fly, without restarting tomcat. What I'm d

Re: Help with ROOT.xml and vhosting please? (fwd)

2012-03-15 Thread Dave Shevett
On 3/14/12 6:35 PM, Pid wrote: If it didn't start, that would explain why you can't get it to respond. What is the stacktrace? So, just to finish this up, I got everything working Just Peachy. The failed deployment was why the app was not showing up in the end, but getting the Host entries i

Help with ROOT.xml and vhosting please?

2012-03-14 Thread Dave Shevett
Hi folks, I'm setting up a tomcat server that will be running a few dozen vhosts all being served from the same war file. I've set up AJP connectors for wildcard hosts on apache, and I'm able to see the tomcat server from the outside world. However, secondary vhosts I create don't seem to be

Re: 400 Errors while trying to deploy manager app.

2011-02-22 Thread Dave Shevett
On 2/22/2011 3:37 AM, Konstantin Kolinko wrote: > Two steps: > 1. Remove path and docBase from the file. > 2. Rename the context file into "META-INF/context.xml" (exact name -- > case of characters does matter!) and add it into your war file. (That > is easy with Ant, or with `jar -uf`, I do not k

Re: 400 Errors while trying to deploy manager app.

2011-02-21 Thread Dave Shevett
On 2/21/11 6:03 PM, Konstantin Kolinko wrote: > Tomcat respond with error 400 when it cannot map request to a valid > web application (and thus feels desperate). Interesting... > One notorious case of it is when there is no ROOT webapp on a host: > instead of error 404 you will receive zero-lengt

Re: 400 Errors while trying to deploy manager app.

2011-02-21 Thread Dave Shevett
On 2/21/11 3:52 PM, Caldarale, Charles R wrote: >> 2) Tomcat 5.5, Apache 2.2.9 > Tomcat 5.5.what? Also, is this a real Tomcat, or a 3rd-party repackaged > version? Hmm, it looks like it's installed as part of hte debian package install. The signature says: ii tomcat5.5 5.5.26-5 Servlet and J

Re: 400 Errors while trying to deploy manager app.

2011-02-21 Thread Dave Shevett
Lets see if I can complete the information here in a more concise manner. 1) Debian Lenny, patched up to date 2) Tomcat 5.5, Apache 2.2.9 On 2/21/11 1:43 PM, Caldarale, Charles R wrote: >> The tomcat install is serving many vhosts, they are all working >> properly. Each vhost is configured with

400 Errors while trying to deploy manager app.

2011-02-21 Thread Dave Shevett
Hi folks, I have a relatively complex installation that I'm trying to get the manager app deployed into. This was working at some point, but now I can't seem to get anything but 400 errors out of it. The tomcat install is serving many vhosts, they are all working properly. Each vhost is configur