Re: Custom class that runs when cocoon starts up

2006-08-14 Thread Sanket Pattekar
Thanks for all your replies...' Based on the replies, I think that cron job is the best available solution, as I need to execute a pipeline, so I can use CocoonPipelineCronJob. However I would like to know how to write a cron job that is executed only once and periodically. Having followed the

Re: HTTP Status 500 - java.lang.NoClassDefFoundError

2006-08-14 Thread Andrew
Ok,it seems as if no one can get to the bottom of this one. Should I file a bug report?regardsAndrewOn 08/08/06, Andrew [EMAIL PROTECTED] wrote:Ok guys,what really is going on here?: java.lang.ExceptionInInitializerError

RE: action to action redirect

2006-08-14 Thread Ard Schrijvers
I have the following sitemap construct: map:match pattern=index.htm* map:act type=ActionA map:redirect-to uri={nextPage} / /map:act /map:match !-- redirect resolver action --

Looking for suggestion on auto backup cocoon form fields

2006-08-14 Thread Chris
This is the scenario in a cocoon forms/flow webapp. A user is presented with a cocoon form that has a few text fields on it, assume at some point in the future this could be an html editor widget. At some regular interval of time I want to be able to save what has been entered in case the

RE: [poll] Java 5 as minimum requirement for Cocoon 2.2

2006-08-14 Thread Stewart, Gary
-Original Message- From: Reinhard Poetz [mailto:[EMAIL PROTECTED] On [EMAIL PROTECTED] we have started to dicuss whether we can make Java 5 becoming the minimum requirement for Cocoon 2.2. I've been using Java 5 for deployment for some time so it isn't a problem for me. There

RE: Performance and Sitemaps

2006-08-14 Thread Stewart, Gary
-Original Message- From: Ard Schrijvers [mailto:[EMAIL PROTECTED] Sent: 26 July 2006 15:56 To: users@cocoon.apache.org Subject: RE: Performance and Sitemaps Anyway, I don't use profilers to find my slow pieces. I do it from a 10.000 kilometers above view. In my opinion this

Executing CocoonPipelineCronJob only once

2006-08-14 Thread Sanket Pattekar
Hi I need to execute a pipleline at startup only once. Based on the documentation, I found out that it is possible to do use s cron job that executes a pipeline using CocoonPipelineCronJob. However how do I have this cron job executed only once. I need to do some initialization at startup by

RE: Executing CocoonPipelineCronJob only once

2006-08-14 Thread Ard Schrijvers
I think cron0 0 0 0 0 ? 0/cron will only run at startup, but you should be able to 1) test this easily 2) find it in quartz documentation Regards Ard Hi I need to execute a pipleline at startup only once. Based on the documentation, I found out that it is possible to do use s cron

External redirect thru reverse proxy (was Re: action to action redirect)

2006-08-14 Thread Mark Lundquist
On Aug 14, 2006, at 1:17 AM, Ard Schrijvers wrote: (redirect-to via the browser is quickly a bad option, because normally, you will have something like httpd with mod_cache or squid running in front of cocoon. Then, for example, the site runs in http://www.mysite.com, and cocoon listens for

FAQ? Help with Tomcat5, JDK1.5 and Cocoon2.1.9 playing nice together

2006-08-14 Thread Owen Scott Medd
I have a system I am porting from Cocoon pre-2.0beta, currently running under Tomcat3 and jdk1.3, to later and greater (Tomcat 5.0.30, JDK 1.5.0.6, Cocoon 2.1.9). (Don't ask...) I've read the upgrading older document and using ParanoidCocoonServlet did solve a big issue we had. However, even

RE: External redirect thru reverse proxy (was Re: action to action redirect)

2006-08-14 Thread Ard Schrijvers
On Aug 14, 2006, at 1:17 AM, Ard Schrijvers wrote: (redirect-to via the browser is quickly a bad option, because normally, you will have something like httpd with mod_cache or squid running in front of cocoon. Then, for example, the site runs in http://www.mysite.com, and cocoon

Re: [poll] Java 5 as minimum requirement for Cocoon 2.2

2006-08-14 Thread Bruce Atherton
Count this as a big +1 from me. We only run cocoon in a Java 5 VM anyway. The Concurrency package alone is a big reason to adopt Java 5. The speed of many algorithms can be vastly improved, as well as being made more thread-safe. Then there is the enhanced type safety you get with generics.