Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread MAHE Vincent FTRD/DIH/REN



Has anyone managed 
to integrate a Java scheduler in a webapp using Cocoon 2.0 ?

Some people (Martin 
Holz for instance) on the net are talking about Jakarta CornerStone Scheduler 
but I can't find any example.

Vincent



AW: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Scherler, Thorsten



Hello 
Vincent,

http://www.wyona.org/docs/xdocs/scheduler.html

wyona 
is a Open Source CMS and based on Cocoon and Java. 

Just 
have a look.

p.s. It will hopefullybecome lenya in the near 
future and part of 
ASF

King regards
Thorsten
-Ursprüngliche Nachricht-Von: MAHE Vincent 
FTRD/DIH/REN [mailto:[EMAIL PROTECTED]Gesendet: 
Mittwoch, 26. Februar 2003 11:09An: 
[EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Betreff: 
Is there any way to use a scheduler with Cocoon ?

  Has anyone managed 
  to integrate a Java scheduler in a webapp using Cocoon 2.0 
  ?
  
  Some people 
  (Martin Holz for instance) on the net are talking about Jakarta CornerStone 
  Scheduler but I can't find any example.
  
  Vincent
  


RE: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread MAHE Vincent FTRD/DIH/REN



Hello,

Yes 
but I need to install the whole Wyona whereas I'm only interested in the 
scheduler.
My 
webapp has nothing to do with a Content Management and Publishing 
System.

I just 
want to use the scheduler of Wyona in my webapp ... do you have any simple 
integration example ?

Vincent

  -Message d'origine-De: Scherler, Thorsten 
  [mailto:[EMAIL PROTECTED]Envoyé: mercredi 26 
  février 2003 11:15À: 
  [EMAIL PROTECTED]Objet: AW: Is there any way to use 
  a scheduler with Cocoon ?
  Hello Vincent,
  
  http://www.wyona.org/docs/xdocs/scheduler.html
  
  wyona is a Open Source CMS and based on Cocoon and Java. 
  
  
  Just 
  have a look.
  
  p.s. It will hopefullybecome lenya in the near 
  future and part of 
  ASF
  
  King regards
  Thorsten
  -Ursprüngliche Nachricht-Von: MAHE Vincent 
  FTRD/DIH/REN [mailto:[EMAIL PROTECTED]Gesendet: 
  Mittwoch, 26. Februar 2003 11:09An: 
  [EMAIL PROTECTED]Cc: 
  [EMAIL PROTECTED]Betreff: Is there any way to use a scheduler with 
  Cocoon ?
  
Has anyone 
managed to integrate a Java scheduler in a webapp using Cocoon 2.0 
?

Some people 
(Martin Holz for instance) on the net are talking about Jakarta CornerStone 
Scheduler but I can't find any example.

Vincent



WG: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Scherler, Thorsten



Hello 
group,

is 
there a way to integrate our scheduler into a cocoon app without installing the 
whole wyona cms dist.?

Please 
have a look on the following mail!

Thank 
you very much!

-Ursprüngliche Nachricht-Von: MAHE Vincent 
FTRD/DIH/REN [mailto:[EMAIL PROTECTED]Gesendet: 
Mittwoch, 26. Februar 2003 12:41An: 
[EMAIL PROTECTED]Betreff: RE: Is there any way to use a 
scheduler with Cocoon ?
Hello,

Yes 
but I need to install the whole Wyona whereas I'm only interested in the 
scheduler.
My 
webapp has nothing to do with a Content Management and Publishing 
System.

I just 
want to use the scheduler of Wyona in my webapp ... do you have any simple 
integration example ?

Vincent

  -Message d'origine-De: Scherler, Thorsten 
  [mailto:[EMAIL PROTECTED]Envoyé: mercredi 26 
  février 2003 11:15À: 
  [EMAIL PROTECTED]Objet: AW: Is there any way to use 
  a scheduler with Cocoon ?
  Hello Vincent,
  
  http://www.wyona.org/docs/xdocs/scheduler.html
  
  wyona is a Open Source CMS and based on Cocoon and Java. 
  
  
  Just 
  have a look.
  
  p.s. It will hopefullybecome lenya in the near 
  future and part of 
  ASF
  
  King regards
  Thorsten
  -Ursprüngliche Nachricht-Von: MAHE Vincent 
  FTRD/DIH/REN [mailto:[EMAIL PROTECTED]Gesendet: 
  Mittwoch, 26. Februar 2003 11:09An: 
  [EMAIL PROTECTED]Cc: 
  [EMAIL PROTECTED]Betreff: Is there any way to use a scheduler with 
  Cocoon ?
  
Has anyone 
managed to integrate a Java scheduler in a webapp using Cocoon 2.0 
?

Some people 
(Martin Holz for instance) on the net are talking about Jakarta CornerStone 
Scheduler but I can't find any example.

Vincent



Re: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Martin Holz
MAHE Vincent FTRD/DIH/REN [EMAIL PROTECTED] writes:

 Has anyone managed to integrate a Java scheduler in a webapp using Cocoon 2.0
 ?
  
 
 Some people (Martin Holz for instance) on the net are talking about Jakarta
 CornerStone Scheduler but I can't find any example.
 
Acutally I never tried it.

--
Martin Holz [EMAIL PROTECTED]

Softwareentwicklung / Vernetztes Studium - Chemie
FIZ CHEMIE Berlin
Franklinstrasse 11
D-10587 Berlin 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WG: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Michael Melhem
On Wed, Feb 26, 2003 at 12:46:56PM +0100, Scherler, Thorsten wrote:
 Hello group,
  
 is there a way to integrate our scheduler into a cocoon app without installing the 
 whole wyona cms dist.?

The avalon cornerstone scheduler already comes with cocoon2.1. Why do we
need another scheduler ?

ContinuationsManagerImpl.java uses this scheduler for example.

Regards,
Michael
  
 Please have a look on the following mail!
  
 Thank you very much!
  
 -Urspr?ngliche Nachricht-
 Von: MAHE Vincent FTRD/DIH/REN [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 26. Februar 2003 12:41
 An: [EMAIL PROTECTED]
 Betreff: RE: Is there any way to use a scheduler with Cocoon ?
 
 
 Hello,
  
 Yes but I need to install the whole Wyona whereas I'm only interested in the 
 scheduler.
 My webapp has nothing to do with a Content Management and Publishing System.
  
 I just want to use the scheduler of Wyona in my webapp ... do you have any simple 
 integration example ?
  
 Vincent
 
 -Message d'origine-
 De : Scherler, Thorsten [mailto:[EMAIL PROTECTED]
 Envoy? : mercredi 26 f?vrier 2003 11:15
 ? : [EMAIL PROTECTED]
 Objet : AW: Is there any way to use a scheduler with Cocoon ?
 
 
 Hello Vincent,
  
 http://www.wyona.org/docs/xdocs/scheduler.html
  
 wyona is a Open Source CMS and based on Cocoon and Java. 
  
 Just have a look.
  
 p.s. It will hopefully become lenya in the near future and part of ASF
  
 King regards
 Thorsten
  -Urspr?ngliche Nachricht-
 Von: MAHE Vincent FTRD/DIH/REN [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 26. Februar 2003 11:09
 An: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Betreff: Is there any way to use a scheduler with Cocoon ?
 
 
 
 Has anyone managed to integrate a Java scheduler in a webapp using Cocoon 2.0 ?
  
 Some people (Martin Holz for instance) on the net are talking about Jakarta 
 CornerStone Scheduler but I can't find any example.
  
 Vincent
  
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: RE : Scheduler with cocoon

2003-02-14 Thread SAXESS - Hussayn Dabbous

1.) There are some java -packages around, that mimic cron.
wasn't there a cron component in the avalon-excalibur framework  ???
You might write something like an action, which opens a runtime-thread,
which would organise the rest. shouldn't be a big deal if you really
need it. or you write a servlet, that does it and let it autostart
on container startup ...

2.) another thought: If you want the user to change something easily,
you will provide a config file. (probably).
You still could use cron (if you stay onlunux/unix) and generate the
cron scripts ;-) But cron scripts are very easy to understand and
is it really worthwhile to make something else ???

Except of course you are NOT running on unix and/or you MUST provide
platform independence, then i would reconsider 1.) above ..


regards, hussayn

Xavier RODRIGUEZ wrote:

But I would like something to be integrated into cocoon, in this way the
final user will easily change the hours for example... 
Someone tells me about wyona cms (http://www.wyona.org) that integrates
a scheduler ... I'm now probing this solution

Thanks 

|| -Original Message-
|| From: Niclas Hedhman [mailto:[EMAIL PROTECTED]] 
|| Sent: Friday, February 14, 2003 7:11 AM
|| To: [EMAIL PROTECTED]
|| Subject: Re: Scheduler with cocoon
|| 
|| 
|| On Friday 14 February 2003 05:17, Guenther Schmidt wrote:
||  provided you're using Linix, you might want to create a 
|| cron job a'la wget
||  http://url that triggers your pipeline.
|| 
|| If you are not Linux expert, but using it more casually, the 
|| above can seem a 
|| bit cryptic.
|| 
|| cron is a time scheduler in Linux, which executes shell 
|| scripts according to 
|| settings in a table. Most Linux Distros has a default cron 
|| configuration that 
|| is pretty is to use. For RedHat, create a sheel script and 
|| place it in 
|| /etc/cron.daily, and it will execute once a day (think it is 
|| in the middle of 
|| night).
|| 
|| The script should look like this;
|| 
|| #!/bin/sh
|| #
|| 
|| wget http://www.mydomain.com/cocoon/theResource
|| 
|| and I think you need to set the x flag on the script file, such as;
|| 
|| chmod +x mydailyrequest.sh
|| 
|| 
|| That should be crystal clear.
|| 
||  This is just a fallback possibility if nobody comes up 
|| with a better
||  answer.
|| 
|| I think this is a perfect solution, as cron is extremely reliable.
|| 
||  Guenther (turning 35 in 2.5 hours)
|| 
|| Niclas , turned 35 29680 hours ago ;o)   New yardstick for age?
|| 
|| -
|| Please check that your question  has not already been answered in the
|| FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
|| 
|| To unsubscribe, e-mail: [EMAIL PROTECTED]
|| For additional commands, e-mail:   [EMAIL PROTECTED]
|| 


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
E-Mail:  [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




AW: Scheduler with cocoon

2003-02-14 Thread Scherler, Thorsten
Hi list,

do you know wyona (http://www.wyona.org)?

They have implemended a scheduler! Just ask them for advice ! ([EMAIL PROTECTED])

king regards
Thorsten

-Ursprüngliche Nachricht-
Von: Niclas Hedhman [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 14. Februar 2003 07:11
An: [EMAIL PROTECTED]
Betreff: Re: Scheduler with cocoon


On Friday 14 February 2003 05:17, Guenther Schmidt wrote:
 provided you're using Linix, you might want to create a cron job a'la wget
 http://url that triggers your pipeline.

If you are not Linux expert, but using it more casually, the above can seem a 
bit cryptic.

cron is a time scheduler in Linux, which executes shell scripts according to 
settings in a table. Most Linux Distros has a default cron configuration that 
is pretty is to use. For RedHat, create a sheel script and place it in 
/etc/cron.daily, and it will execute once a day (think it is in the middle of 
night).

The script should look like this;

#!/bin/sh
#

wget http://www.mydomain.com/cocoon/theResource

and I think you need to set the x flag on the script file, such as;

chmod +x mydailyrequest.sh


That should be crystal clear.

 This is just a fallback possibility if nobody comes up with a better
 answer.

I think this is a perfect solution, as cron is extremely reliable.

 Guenther (turning 35 in 2.5 hours)

Niclas , turned 35 29680 hours ago ;o)   New yardstick for age?

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Scheduler with cocoon

2003-02-13 Thread Xavier RODRIGUEZ
Does anybody know how to make a scheduler that will execute part of a
pipeline ...
In other word, I would like to execute a
generation/transformation/serialization process each day ...

Does anybody know if a cocoon component exists to do this? 

Thanks

Xavier 


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: Scheduler with cocoon

2003-02-13 Thread Guenther Schmidt
Hi Xavier,

provided you're using Linix, you might want to create a cron job a'la wget 
http://url that triggers your pipeline.

This is just a fallback possibility if nobody comes up with a better answer.

Best regards

Guenther (turning 35 in 2.5 hours)

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: Scheduler with cocoon

2003-02-13 Thread Gabriele Domenichini
Xavier RODRIGUEZ wrote:


Does anybody know how to make a scheduler that will execute part of a
pipeline ...
In other word, I would like to execute a
generation/transformation/serialization process each day ...


I normally use an utility to do a similar job called geturl. It's free 
and works in windows


Does anybody know if a cocoon component exists to do this? 

There is a way to use cocoon from the command line. Try to search in the 
group


Thanks

Xavier 


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


 




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: Scheduler with cocoon

2003-02-13 Thread Niclas Hedhman
On Friday 14 February 2003 05:17, Guenther Schmidt wrote:
 provided you're using Linix, you might want to create a cron job a'la wget
 http://url that triggers your pipeline.

If you are not Linux expert, but using it more casually, the above can seem a 
bit cryptic.

cron is a time scheduler in Linux, which executes shell scripts according to 
settings in a table. Most Linux Distros has a default cron configuration that 
is pretty is to use. For RedHat, create a sheel script and place it in 
/etc/cron.daily, and it will execute once a day (think it is in the middle of 
night).

The script should look like this;

#!/bin/sh
#

wget http://www.mydomain.com/cocoon/theResource

and I think you need to set the x flag on the script file, such as;

chmod +x mydailyrequest.sh


That should be crystal clear.

 This is just a fallback possibility if nobody comes up with a better
 answer.

I think this is a perfect solution, as cron is extremely reliable.

 Guenther (turning 35 in 2.5 hours)

Niclas , turned 35 29680 hours ago ;o)   New yardstick for age?

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE : Scheduler with cocoon

2003-02-13 Thread Xavier RODRIGUEZ
But I would like something to be integrated into cocoon, in this way the
final user will easily change the hours for example... 
Someone tells me about wyona cms (http://www.wyona.org) that integrates
a scheduler ... I'm now probing this solution

Thanks 

|| -Original Message-
|| From: Niclas Hedhman [mailto:[EMAIL PROTECTED]] 
|| Sent: Friday, February 14, 2003 7:11 AM
|| To: [EMAIL PROTECTED]
|| Subject: Re: Scheduler with cocoon
|| 
|| 
|| On Friday 14 February 2003 05:17, Guenther Schmidt wrote:
||  provided you're using Linix, you might want to create a 
|| cron job a'la wget
||  http://url that triggers your pipeline.
|| 
|| If you are not Linux expert, but using it more casually, the 
|| above can seem a 
|| bit cryptic.
|| 
|| cron is a time scheduler in Linux, which executes shell 
|| scripts according to 
|| settings in a table. Most Linux Distros has a default cron 
|| configuration that 
|| is pretty is to use. For RedHat, create a sheel script and 
|| place it in 
|| /etc/cron.daily, and it will execute once a day (think it is 
|| in the middle of 
|| night).
|| 
|| The script should look like this;
|| 
|| #!/bin/sh
|| #
|| 
|| wget http://www.mydomain.com/cocoon/theResource
|| 
|| and I think you need to set the x flag on the script file, such as;
|| 
|| chmod +x mydailyrequest.sh
|| 
|| 
|| That should be crystal clear.
|| 
||  This is just a fallback possibility if nobody comes up 
|| with a better
||  answer.
|| 
|| I think this is a perfect solution, as cron is extremely reliable.
|| 
||  Guenther (turning 35 in 2.5 hours)
|| 
|| Niclas , turned 35 29680 hours ago ;o)   New yardstick for age?
|| 
|| -
|| Please check that your question  has not already been answered in the
|| FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
|| 
|| To unsubscribe, e-mail: [EMAIL PROTECTED]
|| For additional commands, e-mail:   [EMAIL PROTECTED]
|| 


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Scheduler in cocoon 2

2001-12-20 Thread Bernard Bielinski

Hi,
I want to use some kind of scheduler ( cron ) in cocoon 2 to automatically 
generate HTML  ( XML - XSL - HTML )
I have seen ant 1.4 and it seems to be able perform tasks like this pipeline :

   map:match pattern=hello.html
map:generate src=docs/samples/hello-page-esql.xml/
map:transform src=stylesheets/page/simple-page2html.xsl/
map:serialize type=html/
   /map:match
 
or 

   map:match pattern=xsp/*
map:generate type=serverpages src=docs/samples/xsp/{1}.xsp/
map:transform src=stylesheets/dynamic-page2html.xsl /
map:serialize type=html/
   /map:match


But I don't know how to configure ant's built.xml to do the same as cocoon does.
Can anyone help me?

Thanks
Bernard Bielinski


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]