really, that simple!
Thanks a lot, I will give it a try.


From: [EMAIL PROTECTED] on behalf of Scott Ferguson
Sent: Tue 11/13/2007 9:45 PM
To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] point resin to alternative webapps directoryand 
give it a context name

On Nov 13, 2007, at 4:48 PM, Mehdi Bennani wrote:

        Hi guys,
        I have dealt with quiet a few app servers, but I am relatively new to 
        I want to start Resin programmatically from eclipse to allow me to 
debug my web app straight from my code in eclipse, as opposed to deploying the 
jar into the webapps folder and attaching an external listener to resin...etc...
        I have managed to start resin programmatically using the ResinServer 
class no problem. 
        But, I could not find a way to tell Resin where my webapps folder is 
(as opposed to using the webapps folder inside of resin) nor which context to 

Look in the sample resin.conf for the <web-app-deploy> tag.

You can set it to something like:

<host id="">
  <web-app-deploy path="/home/mehdi/ws/webapps"/>

You can also point the web-app directly by using

  <web-app id="/foo" root-directory="/home/mehdi/ws/webapps/foo"/>

Depending on what your build looks like, that might save the packing/unpacking 
of the .war file.

-- Scott

        I have done that in the past but all the app server I have dealt with 
had a way to pass in to the app server the location of the webapps and what 
context to use.
        Open to using any version of resin...
        Any help is appreciated,
        resin-interest mailing list

resin-interest mailing list

Reply via email to