tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Bezdicek" <thomas.bezdi...@engnetworld.com>
Subject AW: Antwort: Re: Multiple virtual host with individual webapp dirs , one tomcat
Date Thu, 19 Jul 2001 08:31:36 GMT
Hi,

dont use the auto-configuration, do adopt the config-files
yourself.

regards, tom

> -----Ursprungliche Nachricht-----
> Von: Stefan.Raschke@asknet.de [mailto:Stefan.Raschke@asknet.de]
> Gesendet: Donnerstag, 19. Juli 2001 10:01
> An: tomcat-user@jakarta.apache.org
> Betreff: Antwort: Re: Multiple virtual host with individual webapp dirs
> , one tomcat
> 
> 
> 
> Hi Will,
> 
> the problem is, that when I put directories or .war files in webapps, the
> context is added to
> all virtual hosts. But I need individual contexts for each virtual host.
> 
> Any ideas?
> 
> Thanks
> 
> stefan
> 
> 
> 
>                                                                   
>                                                            
>                     Will England                                  
>                                                            
>                     <will@mylande        An:     
> tomcat-user@jakarta.apache.org                                    
>           
>                     rs.com>              Kopie:                   
>                                                            
>                                          Thema:  Re: Multiple 
> virtual host with individual webapp dirs , one tomcat          
>                     18.07.01                                      
>                                                            
>                     19:49                                         
>                                                            
>                     Bitte                                         
>                                                            
>                     antworten an                                  
>                                                            
>                     tomcat-user                                   
>                                                            
>                                                                   
>                                                            
>                                                                   
>                                                            
> 
> 
> 
> 
> On Wed, 18 Jul 2001 Stefan.Raschke@asknet.de wrote:
> 
> > Is it possible to give every single vhost his own webapp-dir where
> > developpers can put
> > new contexts, which are automatically added after restarting 
> tomcat so no
> > editing of server.xml
> > is required.
> 
> If you want to *change* the code in a context, you can do this just by
> adding the new class files under the WEB-INF directory.
> 
> If you want to add a *new* context that didn't already exist, you have to
> edit the server.xml file.
> 
> One other option is to have the developers jar up the whole application
> and deploy it to TOMCAT_HOME/webapps as a .war file.
> 
> Then, no changes are needed to server.xml; tomcat just reads and expands
> the .war file and runs with it.  Never did this, not sure how well it
> works.
> 
> Will
> 
> 
> 
> 
> 
> 

Mime
View raw message