Antwort: Re: Antwort: Re: Multiple virtual host with individual webapp dirs, one tomcat

2001-07-19 Thread Stefan . Raschke


Thanks Will,

I am settling for the manual config.
That works ust fine.

Thanks a lot for your input.

gruss

stefan




   
  
Will England   
  
  Kopie:
  
 Thema:  Re: Antwort: Re: Multiple virtual 
host with individual webapp dirs , one
19.07.01 tomcat
  
16:25  
  
Bitte  
  
antworten an   
  
tomcat-user
  
   
  
   
  




On Thu, 19 Jul 2001 [EMAIL PROTECTED] wrote:

>
> 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.
>

For virtual hosts, you are either running Tomcat 3.2 and using the 
parameter in the server.xml file, or running multiple copies of Tomcat
3.1.

If you are using the  paramter, you'll have to add the contexts
manually, or you can look at the admin servlets distributed with
Tomcat.  While I couldn't get them to work, apparantly there is a context
manager that allows you to view, add and delete contexts from within a
 section of the server.sml file.

Good luck!

Will







Re: Antwort: Re: Multiple virtual host with individual webapp dirs, one tomcat

2001-07-19 Thread Will England

On Thu, 19 Jul 2001 [EMAIL PROTECTED] wrote:

> 
> 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.
> 

For virtual hosts, you are either running Tomcat 3.2 and using the 
parameter in the server.xml file, or running multiple copies of Tomcat
3.1.

If you are using the  paramter, you'll have to add the contexts
manually, or you can look at the admin servlets distributed with
Tomcat.  While I couldn't get them to work, apparantly there is a context
manager that allows you to view, add and delete contexts from within a
 section of the server.sml file.

Good luck!

Will




Antwort: AW: Antwort: Re: Multiple virtual host with individual webapp dirs, one tomcat

2001-07-19 Thread Stefan . Raschke


Hi Tom,

my problem is, that I want to make it as easy as possible for the
developpers.
Just drop a dir (with adjusted web.xml ;>) in their  webapps folder and off
they go.

The way I configured tomcat now, they (or I) have to edit the mod_jk.conf
file to tell
apache about the contexts and virtual hosts.
Then I have to edit server.xml to tell tomcat about the virtual hosts and
their individual
contexts.

Is there an easier "drag and drop" way to do that, like the initial
autoconf. ;>)

Thanks for your input so far.

regards

stefan




   

"Thomas Bezdicek"  


world.com> Kopie:  

   Thema:  AW: Antwort: Re: Multiple 
virtual host with individual webapp dirs , one
19.07.01 10:31 tomcat  

Bitte antworten an 

tomcat-user

   

   





Hi,

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

regards, tom

> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 19. Juli 2001 10:01
> An: [EMAIL PROTECTED]
> 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







AW: Antwort: Re: Multiple virtual host with individual webapp dirs , one tomcat

2001-07-19 Thread Thomas Bezdicek

Hi,

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

regards, tom

> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 19. Juli 2001 10:01
> An: [EMAIL PROTECTED]
> 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  
>
>  [EMAIL PROTECTED]
>   
> 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 [EMAIL PROTECTED] 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
> 
> 
> 
> 
> 
> 



Antwort: Re: Multiple virtual host with individual webapp dirs , one tomcat

2001-07-19 Thread Stefan . Raschke


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   
  
  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 [EMAIL PROTECTED] 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