Re: Running lots of virtual hosts on tomcat

2005-01-20 Thread Peter Rossbach
Hello,
that not really correct - see the german centaurus-platform 
http:/centaurus.sf.net/. We have build a little
tool hostcreator do to create host at runtime. You can build a new host 
with a template at runtime. Wait a week
than we release the 1.0beta6 with a integrated management application. 
Currently we  build the  Centaurus-Platform
with Tomcat 5.0.27 with some small modifcations.

One bad point:  We have wrote the complete documentation at german 
language. :-)  Sorry

Removing is a really problem. The internal JMX Api support a remove Host 
at memory but the config still exists at server.xml.
After restart your server the host is also restarted.
We hack the server.xml with a little some XSLT things, but we don't 
delete directories or files.

I hope we can discuss and implement a better way for tomcat 5.5. :-)
regards
Peter
Remy Maucherat schrieb:
On Wed, 19 Jan 2005 15:37:30 +0100, Robbert-Jan Roos [EMAIL PROTECTED] wrote:
 

Hi,
Our web department is thinking about moving from coldfusion to tomcat.
Currently we have about 400 websites using apache's mod_vhost module.
This works great. The only thing one needs to do is create a new
directory www.bla.nl and the website is up and running.
How would one do this in tomcat? I figured putting all the domainnames
in server.xml is not an option since it would require restarting
tomcat all the time. Using one Engine with a Context for each website
seems more usable.
Does anybody here have this kind of setup? Any pitfalls we might run
into? Suggestions?
   

Dynamic aadd/remove of hosts isn't supported through any tool at the
moment (= you have to build some kind of front end webapp and use the
Tomcat API to do it). I plan to add this in a future Tomcat 5.5 build.
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Running lots of virtual hosts on tomcat

2005-01-19 Thread Robbert-Jan Roos
Hi,

Our web department is thinking about moving from coldfusion to tomcat.
Currently we have about 400 websites using apache's mod_vhost module.
This works great. The only thing one needs to do is create a new
directory www.bla.nl and the website is up and running.

How would one do this in tomcat? I figured putting all the domainnames
in server.xml is not an option since it would require restarting
tomcat all the time. Using one Engine with a Context for each website
seems more usable.

Does anybody here have this kind of setup? Any pitfalls we might run
into? Suggestions?

Regards,
Robbert-Jan Roos

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Running lots of virtual hosts on tomcat

2005-01-19 Thread Ben Souther
There are a few ways you could handle it.
This should get you started:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/deployer-howto.html


On Wed, 2005-01-19 at 09:37, Robbert-Jan Roos wrote:
 Hi,
 
 Our web department is thinking about moving from coldfusion to tomcat.
 Currently we have about 400 websites using apache's mod_vhost module.
 This works great. The only thing one needs to do is create a new
 directory www.bla.nl and the website is up and running.
 
 How would one do this in tomcat? I figured putting all the domainnames
 in server.xml is not an option since it would require restarting
 tomcat all the time. Using one Engine with a Context for each website
 seems more usable.
 
 Does anybody here have this kind of setup? Any pitfalls we might run
 into? Suggestions?
 
 Regards,
 Robbert-Jan Roos
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Running lots of virtual hosts on tomcat

2005-01-19 Thread Duong BaTien
Robbert-Jan Roos wrote:
Hi,
Our web department is thinking about moving from coldfusion to tomcat.
Currently we have about 400 websites using apache's mod_vhost module.
This works great. The only thing one needs to do is create a new
directory www.bla.nl and the website is up and running.
How would one do this in tomcat? I figured putting all the domainnames
in server.xml is not an option since it would require restarting
tomcat all the time. Using one Engine with a Context for each website
seems more usable.
Does anybody here have this kind of setup? Any pitfalls we might run
into? Suggestions?
 

Wow, you have a lot of websites. Portal may be an appropriate solution 
to consolidate contents. Description is in my previous post about 
Consolidate web applications.

BaTien
DBGROUPS
Regards,
Robbert-Jan Roos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Running lots of virtual hosts on tomcat

2005-01-19 Thread Ronald Klop
RJ,
I think with a filter we can do our own version of mod_vhost.
But for reloading the classes/jsps it needs two instances of Tomcat (maybe on 
the same machine) with a loadbalancer to update one without interrupting the 
user.
Or is the compiler build into Tomcat 5.5 fast enough (and without memory leaks 
enough) to run it on a production machine.
Ronald.

On Wed Jan 19 15:37:30 CET 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote:
Hi,
Our web department is thinking about moving from coldfusion to tomcat.
Currently we have about 400 websites using apache's mod_vhost module.
This works great. The only thing one needs to do is create a new
directory www.bla.nl and the website is up and running.
How would one do this in tomcat? I figured putting all the domainnames
in server.xml is not an option since it would require restarting
tomcat all the time. Using one Engine with a Context for each website
seems more usable.
Does anybody here have this kind of setup? Any pitfalls we might run
into? Suggestions?
Regards,
Robbert-Jan Roos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]