Re: [Resin-interest] Resin 2.1 Timer thread

2006-10-30 Thread Daniel López
Hi, What I'm doing in a project is even more convoluted, what can I say? :), upon receiving the request, I start a quartz task to be run inmediately that sends a JMS message to the remote server that does the real task. This way you can return inmeditaly to take care of the response and if the

Re: [Resin-interest] web.xml and resin-web.xml

2006-10-30 Thread Squee
The default Resin config, I believe, has support for both web.xml and resin-web.xml. That's what we use in our current setup, exactly how you described it. On 10/30/06, Thomas Moorer <[EMAIL PROTECTED]> wrote: > Hi, > > I have a question about web apps and a resin-web.xml file. Is it possible, > t

[Resin-interest] web.xml and resin-web.xml

2006-10-30 Thread Thomas Moorer
Hi,I have a question about web apps and a resin-web.xml file. Is it possible, to have multiple xml files in the WEB-INF directory (web.xml and resin-web.xml)? I'd like to have standard web app stuff in the web.xml and resin specific config items in the other (such and quercus and other resin specif

Re: [Resin-interest] have ssl request automatically go to ssl port

2006-10-30 Thread Scott Ferguson
On Oct 25, 2006, at 1:34 PM, Andy Triboletti wrote: > In my webapp, I want all ssl requests to go to the https port, not the > http port. Right now, if I follow a link to a secure page, the > web.xml security constraint makes the request https, but it keeps the > port as http (8080). I then get

Re: [Resin-interest] Resin 2.1 Timer thread

2006-10-30 Thread Pauly Shore
Thank you for your very helpful suggestions ... the other suggestion I received was to use a JMS message, and send the processing off to a distributed server. This way the response can return to the browser straight away, and the heavy processing can be done asynchronously. I think for the time b

Re: [Resin-interest] Code generated for CMP with Resin 3.0.21 won'tcompile

2006-10-30 Thread Leland, Robert
We hit this on another project with 3.0.12/3.0.14 eons ago. It may have been that Resin 3.X didn't like overloaded methods, where as resin 2.X it worked ok. Renaming the overloaded methods so there were no overloads solved the problem. -Rob _ Robert Leland

Re: [Resin-interest] Code generated for CMP with Resin 3.0.21 won't compile

2006-10-30 Thread Scott Ferguson
On Oct 30, 2006, at 7:47 AM, Bryan May wrote: > We've been using Resin 2.1.x for ages now and I thought I would try > to bite the bullet and upgrade to Resin 3. Things have been moving > swimmingly until I ran into the big stack trace below. > > The only configuration file that I have change

Re: [Resin-interest] How to control the location of the work directory

2006-10-30 Thread Scott Ferguson
On Oct 29, 2006, at 7:48 PM, Markus Ken Moriyama wrote: > Hi Francois, > regarding the location, you can specify it in the web-app element: > > > /your/work_dir/path > ... Yes, but it's normally not a good idea to change the work directory. > Configuring deletion / keeping of the work-dir - I

Re: [Resin-interest] 3.0.21 vs. 3.1.snap

2006-10-30 Thread Scott Ferguson
On Oct 28, 2006, at 2:59 AM, Thomas Moorer wrote:Is the 3.1 download production ready or should I use the 3.0.21 version?The snapshots are never production ready, so you should use 3.0.21 for now.We're trying to get 3.0.22 out this week.We've delayed 3.1.0 for another 2-3 weeks.  There's an importa

Re: [Resin-interest] Resin 2.1 Timer thread

2006-10-30 Thread Bill Au
If you start your own threads, be sure to stop it when the webapp is reloaded without stopping resin.  Otherwise, you will have a thread leak.  Each thread has a reference to its classloader,so all the classes loaded by that classloader will be be unloaded then the webapp is reloaded. Eventually th

[Resin-interest] Code generated for CMP with Resin 3.0.21 won't compile

2006-10-30 Thread Bryan May
We've been using Resin 2.1.x for ages now and I thought I would try to bite the bullet and upgrade to Resin 3.  Things have been moving swimmingly until I ran into the big stack trace below.The only configuration file that I have changed so far is web.xml to use the element and the element.I hav

Re: [Resin-interest] Resin 2.1 Timer thread

2006-10-30 Thread Riccardo Cohen
I prefer to use a separate thread launched by cron, out of resin. I used to create a servlet that implements Runnable and that execute some tasks at specified time, but as there is no need to receive http requests or answer anyway, why bothering with the whole Resin mechanism ? A simple java cla