tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Michaels <>
Subject Re: "High Level" question. Managing dynamic vhost deployments...
Date Thu, 26 Apr 2012 21:06:08 GMT

I don't know if this will help you, but I've done some work in this area 
that you may find useful.

In my case, I needed a way to create a Tomcat context based on sites 
that are already configured in Apache. This way, a client could use a 
control panel to create sites in Apache, and then whenever a request 
came in for Tomcat, the new context would be created in Tomcat that 
matched the site in Apache.

I did this project for the CFML community, but the process doesn't 
require CFML in any way. It can be used effectively with anything that 
needs a dynamic context that will match a site configured in Apache.

If you think this might help you, can you check out the project at the 
following URL:

I've been getting a lot of requests to make other aspects dynamic as 
well, such as custom context configs, aliases, etc. but that would 
require patching the Host Manager or writing my own classes that 
interfaced with the same classes that the Host Manager uses. That is a 
bit intimidating, so I haven't attempted it yet.

At any rate, maybe what I've done so far can help you in your efforts.

Warm Regards,
Jordan Michaels

On 04/26/2012 01:37 PM, Caldarale, Charles R wrote:
>> From: Dave Shevett []
>> Subject: "High Level" question. Managing dynamic vhost deployments...
>> I'd like to be able to 'spin up' a vhost on the fly,
>> without restarting tomcat.
> Look at the host-manager (not the manager) webapp that comes bundled with real Tomcat
> I would point you to the doc for it ... if it existed.  Patches welcome (he says, while
ducking under the table).
>   - Chuck
is thus for use only by the intended recipient. If you received this in error, please contact
the sender and delete the e-mail and its attachments from all computers.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message