Re: Comment catcher l'erreur 'OutOfMemory' (Java Heap Space) proprement ?

2007-01-23 Thread Bertrand Delacretaz
On 1/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: N'utilisant pas Apache ni Tomcat avec Cocoon, je pense que je vais 'blinder' le formulaire en amont de la requete en base pour limiter le nombre de donnees retournees. Et donc eviter ou limiter la creation de l'erreur 'OutOfMemory'...

Re: Ajax - on Submit: Requerst failed - status=500

2007-01-23 Thread ZongoZongo
Has really nobody a suggestion how to use Ajax with an aggregator? Cant imagine, that nobody else had that problem before ;-) kind regards, Niclas ZongoZongo wrote: I found the problem, but dont know how to solve it. The problem is the location of the ajax-logic inside the aggregator. If

Re: CForms: Binding of two connected Beans

2007-01-23 Thread Wotan von Klass
Hi Mark, perfect! On 1/22/07, Mark Lundquist [EMAIL PROTECTED] wrote: Hi Wotan, On Jan 22, 2007, at 2:28 AM, Wotan von Klass wrote: fb:context xmlns:fb=http://apache.org/cocoon/forms/1.0#binding; path=/ fb:value id=make path=make.name/ /fb:context Doesn't work Right, it's jxpath.

CForms block

2007-01-23 Thread Dimas51
Hello, I still have troubles with CForm framework in Cocoon. None of CForm samples works. My own simple forms doesn't work also. Exception generated is error calling function initialysing form object, namely new Form(form definition xml-file), located in JS flowscript. This is my assumption.

Re: Ajax - on Submit: Requerst failed - status=500

2007-01-23 Thread Jeroen Reijn
Hi Niclas, I've been reading your email, but it's not 100% clear with what you mean with using Ajax with an aggregator. What kind of ajax logic is inside the aggregator? What part in your aggregate is causing this problem? Kind regards, Jeroen Reijn ZongoZongo wrote: Has really nobody a

Cron job dies - process incomplete pipeline

2007-01-23 Thread Lionel Barth
Hello, I am trying to use the cron component to perform some checks on a database and send emails if needed. The cron job works, makes the checks, send the emails as needed but I have an error in the cron log file : INFO(2007-01-23) 10:55.00:019 [cron]

Re: Ajax - on Submit: Requerst failed - status=500

2007-01-23 Thread ZongoZongo
I have a complex cform with tabs und repeaters. When you use ajax, only the form is relaoded after something is changed instead of the whole site. The problem arises because I use tabs und an aggregator to build the site. So I have to place the stylesheet, that transforms the form inside the

RE: Cron job dies - process incomplete pipeline

2007-01-23 Thread Jasha Joachimsthal
Hi Lionel, What happens if you call the URI directly from your browser? Does it function then? Regards, Jasha Joachimsthal Hippo Oosteinde 11 1017 WT Amsterdam The Netherlands +31 (0)20 5224466 www.hippo.nl -Original Message- From: Lionel Barth [mailto:[EMAIL PROTECTED] Sent:

Re: Cron job dies - process incomplete pipeline

2007-01-23 Thread Lionel Barth
Jasha, Yes it works. In fact everything works, but I have an error message in the log file. Lionel Jasha Joachimsthal a ecrit le 23/01/07 11:36: Hi Lionel, What happens if you call the URI directly from your browser? Does it function then? Regards, Jasha Joachimsthal Hippo Oosteinde 11

Re: CForms block

2007-01-23 Thread Jeroen Reijn
Hi Dimas, what kind of form are you trying to create with cocoon 2.1.10? I've just downloaded the cocoon 2.1.10 distribution from the Cocoon website and all CForms samples seem to work. Could you point us to a specific sample and perhaps post a piece of the stacktrace here? Perhaps you

RE: Cron job dies - process incomplete pipeline

2007-01-23 Thread Jasha Joachimsthal
Hi Lionel, Does it come into the flow function if the cron job is executed (you can test it with a print statement in flow)? Maybe it matches in another sitemap than you'd expect. E.g. if the expected pipeline is in a sitemap that depends on the domain you use and the cron uses localhost as

Re: Cron job dies - process incomplete pipeline

2007-01-23 Thread Lionel Barth
Jasha, It comes in the flow function, I add a message in the flow log file with cocoon.log.warn(alerteOT) and the message is really in the log file : WARN(2007-01-23) 13:30.00:520 [flow] (Unknown-URI) Unknown-thread/NativeJavaMethod: alerteOT WARN(2007-01-23) 13:35.00:477 [flow]

Re: [SOLVED] Cron job dies - process incomplete pipeline

2007-01-23 Thread Lionel Barth
Hi, I have been able to suppress the error message using : function alerteOTLB() { requete=newCatal().alerteOT(); cocoon.log.warn(alerteOTLB); cocoon.sendStatus(204); cocoon.redirectTo(crfab/nothing.html); } this way I have the following info in the cron.log file : INFO(2007-01-23)

map:match question

2007-01-23 Thread Martin Holmes
I'm having trouble getting a match to trigger when the URL has a hash followed by a query string. This is my match pattern: map:match pattern=article.htm It works fine when the url is something like this: ...article.htm?id=EMLS3-2FITTNOCTsearchString=nocturne but not if the URL is like this:

Re: map:match question

2007-01-23 Thread Dominic Mitchell
Martin Holmes wrote: I'm having trouble getting a match to trigger when the URL has a hash followed by a query string. This is my match pattern: map:match pattern=article.htm It works fine when the url is something like this: ...article.htm?id=EMLS3-2FITTNOCTsearchString=nocturne but not if

JX generator Vs jx transformer

2007-01-23 Thread Carlos Maté
Hi. In cocoon 2.1.10 I've token a look to cocoon\samples\blocks\forms\pagination the example uses map:generate src={1}.tpl.xml type=jx/ In my sitemap, because I needd xinclude before apply jx transformations, I use: map:generate src={1}.tpl.xml / map:transform type=xinclude/ map:transform

Re: map:match question

2007-01-23 Thread Martin Holmes
Dominic Mitchell wrote: Your URLs are constructed incorrectly. Everything after the hash should never get sent to the server. It's purely for use by the browser. You need to set them up like this: .../article.htm?id=EMLS3-2FITTNOCTsearchString=nocturne#hit10 Doh! That's it. Works a

Re: JX generator Vs jx transformer

2007-01-23 Thread Mark Lundquist
On Jan 23, 2007, at 9:57 AM, Carlos Maté wrote: I have to use jx transform istead of jx generator because in my template I use xi:include href=pags.xml/ [and page.xml contains jx: markup...] If you could use jx:import instead of Xinclude for that, then you could run your JXTG first.

RE: Problem in custom Transformer (migrating to 2.1.10)

2007-01-23 Thread Gary Larsen
I was able to get the transformer working by cutting out the java content handler. Thanks for your advice with this. Gary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [contrib] Cocoon editor

2007-01-23 Thread Olivier
Grzegorz Kossakowski wrote: Olivier napisał(a): Hi all happy new year, I' ve started few months ago to build a sitemap cocoon editor as an eclipse plugin. My first goal was to play with eclipse plugins, EMF, WSTTranslator and more ... I think that the proof of concept is done. Is there

First time continuation exception (2.1.10 upgrade)

2007-01-23 Thread Gary Larsen
Sorry for another 2.1.10 upgrade question. I've been able to tackle most of the cforms issues but this has me stuck. The first time a session calls any continuation an exception occurs with an NPE in org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.jsGet_request. After that

Re: First time continuation exception (2.1.10 upgrade)

2007-01-23 Thread Mark Lundquist
On Jan 23, 2007, at 1:33 PM, Gary Larsen wrote: Sorry for another 2.1.10 upgrade question. I've been able to tackle most of the cforms issues but this has me stuck. The first time a session calls any continuation an exception occurs with an NPE in

xsl:message output

2007-01-23 Thread Steven D. Majewski
Where does the output of an xsl:message in a stylesheet in cocoon go ? I've looked in cocoon.log and all of the other log files I could find, but no trace. I'ld like to use it for debugging, but I can't seem to find a trace of it. -- Steve Majewski / UVA Alderman Library

Re: xsl:message output

2007-01-23 Thread Thomas Markus
Hi, System.err is default. check your webserver log or console thomas Steven D. Majewski schrieb: Where does the output of an xsl:message in a stylesheet in cocoon go ? I've looked in cocoon.log and all of the other log files I could find, but no trace. I'ld like to use it for debugging,

Re: [contrib] Cocoon editor

2007-01-23 Thread Thomas Markus
maybe its easier to include the schema and use a schema aware xml editor (or dtd) thomas Olivier schrieb: Grzegorz Kossakowski wrote: Olivier napisał(a): Hi all happy new year, I' ve started few months ago to build a sitemap cocoon editor as an eclipse plugin. My first goal was to play