+1 -- just tested this and it works like a charm. 

Before adding it to install -- do you think we should add

--

* Resin will unpack the war to $RESIN_HOME/work/_war/$ID and the
application folder will not appear under docs.

* When developing your own applications, you can create a new folder
under $RESIN_HOME/doc and modify the file "$RESIN_HOME/conf/resin.conf"
to recognize your application, for example:

    <web-app id='/struts-myapp' />

   Resin will then read your application's configuration from
WEB-INF/web.xml

--

Or is that getting that too far into the specifics of a container's
implementation?


*********** REPLY SEPARATOR  ***********

On 1/24/2001 at 8:05 PM Martin Cooper wrote:

In response to the call for platform-specific installation notes,
here's a
section for the INSTALL document that covers Resin in stand-alone mode.

I don't know if the instructions would be different for other modes
(IIS,
Apache, etc.), since I have only used Resin stand-alone, but perhaps
someone
else could comment.

--
Martin Cooper
Tumbleweed Communications


RESIN STAND-ALONE
-----------------

* In the steps below, $RESIN_HOME refers to the directory in which you
  have installed Resin, and $STRUTS_HOME is the directory in which you
  unpacked the Struts binary distribution.

* Copy the Struts applications (*.war) from $STRUTS_HOME/webapps to
your
  $RESIN_HOME/doc directory.

* Modify the file "$RESIN_HOME/conf/resin.conf" to define the Struts
  applications, by adding a <web-app> entry for each application inside
  the <host> section. For example, add the following to define the
  documentation app:

    <web-app id='/struts-documentation'
app-dir='struts-documentation.war'/>

* Restart Resin if it is already running.

* You should now be able to access the Struts applications (assuming
you are
  using Resin's default port number of 8080) at, for example:

    http://localhost:8080/struts-documentation



-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/about/struts/


Reply via email to