Re: Virtual Host and dynamic webapp reloading [SOLVED]

2007-09-27 Thread Daniel M Garland
Thanks to all for your responses and advice, from this I have now addressed the problem by using an alternative configuration. For the record heres what I did: - I ended up creating a completely different folder for my webapps. I created subdirectories for each virtual host, rather than having

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

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 Have you read this? -- Hassan Schroeder [EMAIL PROTECTED] ---

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Pid
Daniel M Garland wrote: > 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. You're almost certainly mixing the remnants of the v

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

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Daniel M Garland wrote: >unpackWars="true" autoDeploy="true"> > > That docBase="." is going to give you nothing but trouble. Why can't you just do this: 1. Start with a clean install of Tomcat. 2. Modify CATALINA_HOME/conf/server.xml

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 an

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 > > One other problem: docBase must point to the same directory as appBase. The result is endless confusion within Tomcat. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDE

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Pid
Daniel M Garland wrote: > My full 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, amongst

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
My full element then: autoDeploy="true"> debug="0" /> www.myvirtualhost.com subdomain.myvirtualhost.com className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" managerClassName="org.apache.catalina.cluster.session.DeltaManager"

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 > > autoDeploy="true"> What config do you have in your Context(s)? p > And yet if I copy in a new war file (I'm using ant's deploy task) I > don't see

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 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. If I look at the individual server's webapp via the manager a