On 11/15/2011 12:58 PM, Rick Mann wrote: > On 11 15, 2011, at 12:41 , Scott Ferguson wrote: > >> Hmm. If you turn on logging for the dispatch/startup, you should see the >> Host[production:host:host-name] which will include the canonical name. >> Can you check that and see which host name is being started? > When I modify the file and attempt to reload a web-app, I get the > "temporarily down" message while resin restarts. Here's some bits from the > log:
You should add an anchor to the <host-alias-regexp> <host-alias-regexp>^(www\.)?latencyzero.com[\.]?$</host-alias-regexp> That regexp is matching every host with a latencyzero.com in it. I've added a bug report for this, since I think Resin should probably be adding the anchors automatically. -- Scott > Starting Resin on Tue, 15 Nov 2011 12:54:18 -0800 (PST) > > [11-15 12:54:20.031] {main} FINE (com.caucho.server.resin.Resin) Resin[] > active > [11-15 12:54:20.160] {main} FINE (com.caucho.env.service.ResinSystem) > ResinSystem[id=default] starting > ... > [11-15 12:54:20.456] {main} FINE > (com.caucho.env.deploy.EnvironmentDeployController) > Host[production/host/latencyzero.com] > root-directory=/lz/var/www/com/latencyzero > ... > [11-15 12:54:21.942] {main} FINE > (com.caucho.env.deploy.EnvironmentDeployController) > Host[production/host/www.roderickmann.org] > root-directory=/lz/var/www/org/roderickmann/www > > None of the other hosts starts up, even after I re-request one of them via > the browser. > > If I completely remove the "www.roderickmann.org" host, everything works. > > Latest config file: > > <host host-name="latencyzero.com" > root-directory="/lz/var/www/com/latencyzero"> > <host-alias-regexp>tycho.latencyzero.com[\.]?</host-alias-regexp> > > <host-alias-regexp>(www\.)?latencyzero.com[\.]?</host-alias-regexp> > > <web-app id="/" document-directory="www"> > <//> > > <host id="comics\.roderickmann\.org\.?" > root-directory="/lz/var/www/org/roderickmann/comics"> > <host-name>comics.roderickmann.org</host-name> > <web-app id="/" document-directory="."> > <//> > > <host host-name="www.roderickmann.org" > root-directory="/lz/var/www/org/roderickmann/www"> > <host-alias-regexp>(www\.)?roderickmann.org[\.]?</host-alias-regexp> > > <host-alias-regexp>(www\.)?rickmann.org[\.]?</host-alias-regexp> > > <web-app id="/" document-directory="."> > <//> > > <host host-name="mgfb.roderickmann.org" > root-directory="/lz/var/www/org/roderickmann/mgfb"> > <host-alias-regexp>mgfb\.roderickmann.org[\.]?</host-alias-regexp> > > <host-alias-regexp>blog\.roderickmann.org[\.]?</host-alias-regexp> > > <web-app id="/" document-directory="."> > <//> > > > > > _______________________________________________ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest > _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest