Thanks for the quick response, I did find that I had to specify the
directories like this:

 <web-app id="/" document-directory=".../deploy"

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  not

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="" root-directory=".">

<!--    <web-app id="/"

        <web-app id="/"
context-path="/" >
        <web-app-deploy path="C:/java/KolinkaSearch/war/" />
resin-interest mailing list

resin-interest mailing list

resin-interest mailing list

Reply via email to