Scott, Thanks for the quick response, I did find that I had to specify the directories like this:
<web-app id="/" document-directory=".../deploy" archive-path=".../foo.war"/> Otherwise Resin would wipe out my war file and create an empty WEB_INF directory in the root. On 4/3/07, Scott Ferguson <[EMAIL PROTECTED]> wrote:
On Apr 3, 2007, at 8:40 AM, Tim Patton wrote: I am running resin with multiple host names and I have a war that I want to show up as the default app only on one specific host, I also don't want any other wars or web apps showing up for this host. I need the war to show up as http://www.hostname.com/ not http://www.hostname.com/web-app-name/ I tried following the docs, but nothing fit my situation and all I managed to do was make my host stop working. Can anyone help me sort out the xml? Here was my last attempt with the old, unzipped version commented out. The old version, which I reverted to, works fine. I couldn't figure out where to put the war or how to tell resin where the war was. I assume there is a simple way to tell resin that this host should just deploy a specific war and that's it. You can use an archive-path attribute to the web-app, e.g. <web-app id="/" document-directory="..." archive-path=".../foo.war"/> If you use that, you should remove the web-app-deploy. -- Scott <host host-name="www2.test.com" root-directory="."> <host-alias>www2.test.com</host-alias> <!-- <web-app id="/" document-directory="C:/java/KolinkaSearch/KolinkaSearchSite"/>--> <web-app id="/" document-directory="C:/java/KolinkaSearch/war/KolinkaSearchSite" context-path="/" > <web-app-deploy path="C:/java/KolinkaSearch/war/" /> </web-app> </host> _______________________________________________ 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
_______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest