-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave,
On 3/15/12 11:05 AM, Dave Shevett wrote: > On 3/14/12 6:35 PM, Pid wrote: >> If it didn't start, that would explain why you can't get it to >> respond. What is the stacktrace? > > So, just to finish this up, I got everything working Just Peachy. > The failed deployment was why the app was not showing up in the > end That'll do it. > My last question is is there a way to bring a vhost live without > restarting Tomcat? You can use the host manager webapp to do things like that. The problem is that the host manager does not persist the changes anywhere, so you'd have to either write them somewhere (like server.xml) yourself at the same time you hot-deployed them, or you'd need to re-hot-deploy every vhost every time you restart Tomcat. > I want to dynamically create vhosts programmatically (with scripts > and the like) - I can drop the ROOT.xml all configured, and I can > probably write a script to modify server.xml, but I can't just hup > tomcat, can I? I have to bring it all the way down and back up > again to make the new vhost live, correct? If you modify server.xml, yes: you have to shut down Tomcat and bring it back up. Is there a way you could get away with using the hostname for self-configuration at request-time? If you could do that, you would only need a single <Host> and a single deployment of the webapp. The only things that would need to change when you wanted to support a new "vhost" would be to shove some configuration somewhere that you can key-off the hostname (db, for instance). - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9iITIACgkQ9CaO5/Lv0PA4kwCfZACKXTI+pBb2xfkxu1RAUhPm 3LcAnRJngtQ1ODxoYeMdWF0TYl6iksFp =ybk1 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org