Re: question caching

2006-05-22 Thread Sylvain Wallez
philguillard wrote: Bonjour, J'ai 2 questions concernant le cache : [1]Est-til possible de limiter le cache a un element du pipeline? (je crois que non) Je m'explique : Un tuyau comme ceci: Generator XML + XSLT + serializer Evidemment je trouve interessant de cacher le rendu xml du

Re: emplacement du fichier log4j.xml

2006-05-22 Thread Bertrand Delacretaz
On 5/22/06, Myriam Delperier [EMAIL PROTECTED] wrote: ...ps : je suis en cocoon 2.1.5.1, le paramètre log4j-config est il plus récent?... Il semble que oui, et je profite de l'occasion pour montrer comment on trouve cette info (sur le web - il y d'autres manières plus rapides avec un

Re: emplacement du fichier log4j.xml

2006-05-22 Thread Myriam Delperier
| Il semble que oui, et je profite de l'occasion pour montrer comment on | trouve cette info (sur le web - il y d'autres manières plus rapides | avec un repository local): merci pour toutes ces informations - Liste

Re: question caching

2006-05-22 Thread philguillard
Sylvain Wallez wrote: philguillard wrote: Bonjour, J'ai 2 questions concernant le cache : [1]Est-til possible de limiter le cache a un element du pipeline? (je crois que non) Je m'explique : Un tuyau comme ceci: Generator XML + XSLT + serializer Evidemment je trouve interessant de cacher

Re: question caching

2006-05-22 Thread Jean-Baptiste Quenot
* Laurent Perez: map:pipeline type=caching-point A ce propos, quelle est la différence entre les types caching-point et caching tout court ? CachingPointProcessingPipeline met en cache non seulement la réponse complète du pipeline (le résultat de l'application de tous les composants),

Dégradation régulière de performances avec cocoon.getComponent()

2006-05-22 Thread gael
Bonjour, J'ai r�alis� une petite fonction flowscript dont les performances se d�gradent un peu plus � chaque appel pour devenir carr�ment lente (plusieurs secondes) au bout de quelques appels. Apr�s avoir mis en place des sondes pour observer o� le temps �tait perdu, il s'av�re que c'est

Re: Dégradation régulière de performances avec cocoon.getComponent()

2006-05-22 Thread gael
Salut, Desole pour les accents. Une petite precision : parser = cocoon.getComponent(Packages.org.apache.excalibur.xml.dom.DOMParser.ROLE); semble ne plus vouloir se degrader ?? (pourtant il le faisait) mais l'appel de la fonction jointe dans mon mail precedent se degrade, un probleme avec la

RE: Dégradation régulière de performances avec coc oon.getComponent()

2006-05-22 Thread Philippe LAPLANCHE
Je suis pas expert mais j'étais juste entrain de relire la page d'aide sur cocoon.sendPage() et je vois que les gars ils appellent cocoon.releaseComponent(comp); dans le postPipeLine code (le code qui est exécuté après l'exécution de la requête) Peut-être que tu as oublié de faire ça et que tu

Re: Dégradation régulière de performanc es avec cocoon.getComponent()

2006-05-22 Thread Sylvain Wallez
[EMAIL PROTECTED] wrote: Bonjour, J'ai r�alis� une petite fonction flowscript dont les performances se d�gradent un peu plus � chaque appel pour devenir carr�ment lente (plusieurs secondes) au bout de quelques appels. Apr�s avoir mis en place des sondes pour observer o� le temps �tait

RE: Filter Transformer generating non-XML

2006-05-22 Thread Derek Hohls
Thanks, Andrew, that explanation makes perfect sense! I think it will be simpler to move to the use of the LIMIT statement in the SQL, which will allow for a more generic approach in all my other use cases, rather than having to write yet another set of transforms for each [EMAIL

[Fwd: Deadlock when I use ClearCacheAction with cocoon 2.1.9]

2006-05-22 Thread Matthias Baumann
Hi, I have to complete my described scenario. In my case I call not direct clearcache.html. In my root sitemap , all request are piped in: map:match pattern=** map:aggregate element=site map:part src=cocoon://content/{1}

FYI: ApacheCon EU 2006, who stays where?

2006-05-22 Thread Bertrand Delacretaz
Hi dev + users, Reinhard has setup the http://wiki.apache.org/cocoon/ApacheConEU2006 page for those who want to inform others of their presence at ApacheCon 2006. Please put your name there if you're attending, if we can take over a few hotels during the conference it might be cool ;-)

Using default values from a DTD during transformation

2006-05-22 Thread Björn Boxstart
Hello, I'm creating a cocoon application that displays content from DITA-XML documents. The XSL-T stylesheets that are used depend heavily on the default value of the 'class' attribute of the XML-elements. These default values have to be 'visible' to the transformer (default Xalan transformer).

seeking handle-errors help

2006-05-22 Thread Kaj Kandler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear list, I seem to be stuck with my attempt to handle errors in my pipeline. It appears they are not called in the sub-sitemap. Here is my 2.1.9 configuration: - --- selector in standard sitemap.xmap -- just added the file-not-found --- !--+

dispose temporary file after request execution

2006-05-22 Thread Philippe LAPLANCHE
Hello From a flowscript I call a java method that has to generate a temporary xml file. After that I call cocoon.sendPage() and the invoked generator uses the temporary xml file. I'm afraid that I will get a lot of temporary files if I don't automatically delete them in some way. Is there a

Pipeline Structure To Enable Caching of static data?

2006-05-22 Thread Craeg Strong
Hello: I am returning to cocoon after a long hiatus. My, how it has grown! :-) I would like to generate a single HTML webpage from multiple XML sources. No problem-- use an aggregator, right? The issue with that is some of the sources change far less frequently than others. I have data

how to access a database RESTfully

2006-05-22 Thread thomas
Hi, I want to access a RDF data store named Sesame 2, which provides a RESTful API, with GET, POST, PUT and DELETE. Initially I assumed this should be rather easy even for a beginner like me but I couldn't find any tutorial or example how this can be done without writing some Java code which

URI matching.

2006-05-22 Thread Ronald Borman
I have browsed through the documentation and the mail lists, but so far I haven't found an answer for this problem. Let's say I have an URI that looks like this: http://www.domain.com/cocoon/knowledge/article?id=123 And a sitemap.xmap file that is located in the directory knowledge. Can I

Re: how to access a database RESTfully

2006-05-22 Thread ian . d . stewart
Hi Thomas, In order to RESTfully interact with a resource, you will need two pieces of information: 1) The address of the resource, in the form of a URI (Uniform/Universal Resource Identifier) 2) The operation to be performed on the resource, in the form of an HTTP method (GET, POST, PUT,

RE: URI matching.

2006-05-22 Thread Andrew Stevens
From: Ronald Borman [EMAIL PROTECTED] Date: Mon, 22 May 2006 23:22:18 +0200 I have browsed through the documentation and the mail lists, but so far I haven't found an answer for this problem. Let's say I have an URI that looks like this:

Restricting Logging

2006-05-22 Thread Victoria Vitaver
Hi, I am having trouble changing the logkit.xconf to restrict logging of cocoon messages. I have tried to look for 'howtos' but since logkit was a part of the now 'closed' avalon project I really cant dig up resources on it. What is happening is this: we are running cocoon 2.1.9 with jboss, and