Re: [Resin-interest] point resin to alternative webapps directoryand give it a context name

2007-11-14 Thread Mehdi Bennani
really, that simple!
Thanks a lot, I will give it a try.
Mehdi--



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 
resin.
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 
use.


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,
Thanks.
___
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


Re: [Resin-interest] ThrottleFilter crashing our resin process

2007-11-14 Thread Sam
 Date: Fri, Nov 09, 2007 at 01:22:39PM -0800
 Subject: [Resin-interest] ThrottleFilter crashing our resin process

 Enabling ThrottleFilter on our webapp is not functioning.
 
 The resin process will start up, load, open connections, ramp up, then slowly 
 die.  The same symptoms for 1, 2, 4, and 6 concurrent allowed connections.  
 We have to turn it off for resin to stay up.

There were some changes made for the ThrottleFilter in 3.1.

A thread dump from the server that is hung up would help for evaluating
the problem.

-- Sam



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest