Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
My full host element then: Host name=mydomain.com appBase=webapps/mywebapp unpackWars=true autoDeploy=true Context path= docBase=. debug=0 cookies=false / Context path=/asmalljspapp docBase=../smalljspapp debug=0 / Aliaswww.myvirtualhost.com/Alias

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Pid
Daniel M Garland wrote: My full host element then: yeah... remove the context defs from server.xml and put them in META-INF/context.xml, which is a dir/file inside your webapp. this method of defining contexts is not encouraged, because you have to restart the server to reload the config,

RE: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Caldarale, Charles R
From: Daniel M Garland [mailto:[EMAIL PROTECTED] Subject: Re: Virtual Host and dynamic webapp reloading Context path= docBase=. debug=0 cookies=false / One other problem: docBase must point to the same directory as appBase. The result is endless confusion within Tomcat. - Chuck

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
I've gotta say I've had a miserable time with this one. I've tried nearly permutation of configurations in the Tomcat documentation and nothing seems to work; either I get the default host or a white blank screen. What I need is for www.mydomain.com to host mywebapp on the default path and

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Daniel M Garland wrote: Host name=mydomain.com appBase=webapps/mywebapp unpackWars=true autoDeploy=true Context path= docBase=. debug=0 cookies=false / Context path=/anotherapp docBase=../anotherapp debug=0 / That docBase=. is going

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
Hi Chris, I have three virtual hosts that I want to have hosting a webapp on the default path. Each host has a few aliases for subdomains etc. So I don't really want to have ROOT.war in CATALINA_HOME/webapps, partly because I want to keep the manager app and partly because I would have a

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Hassan Schroeder
On 9/26/07, Daniel M Garland [EMAIL PROTECTED] wrote: So I would've thought that snip/ Have you read this? http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html -- Hassan Schroeder [EMAIL PROTECTED]

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Daniel M Garland wrote: I have three virtual hosts that I want to have hosting a webapp on the default path. Different apps, or the same app on each virtual host? Each host has a few aliases for subdomains etc. So I don't really want to

Virtual Host and dynamic webapp reloading

2007-09-25 Thread Daniel M Garland
Hello, I have a virtual host configured on my Tomcat 5.5.20 cluster installation. In my server.xml, I have Host name=mydomain.com appBase=webapps/mywebapp unpackWars=true autoDeploy=true And yet if I copy in a new war file (I'm using ant's deploy task) I don't see any changes to my webapp.

Re: Virtual Host and dynamic webapp reloading

2007-09-25 Thread Pid
Daniel M Garland wrote: Hello, I have a virtual host configured on my Tomcat 5.5.20 cluster installation. In my server.xml, I have Host name=mydomain.com appBase=webapps/mywebapp unpackWars=true autoDeploy=true What config do you have in your Context(s)? p And yet if I copy in a new