You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Hahn Kurt (CHA)" <ku...@etat.ge.ch> on 2002/05/21 10:37:23 UTC

Very strange Cocoon problem - any help appreciated

I wrote a rather simple Cocoon-application, which retrieves a set of data
with SQL transformer and then applies a number of transformations. The SQL
query uses just one parameter, passed in the standard "Cocoon way". The
application is running in this configuration for a couple of months now, but
only last Thursday, I noticed that some of my links on the entry page didn't
work anymore. I'm just using two match patterns, and each of them is applied
to every month of the year (which makes a total of 24 links), so I saw
quickly that only 2 links didn't work, and these were the two "April"-links.
They just returned a completely empty page, no tags or text at all.

At first, I thought that the parameter for April had changed, but then, if
the parameter's wrong, Cocoon still should return something, like this:
		<page xmlns:sql="http://apache.org/cocoon/SQL/2.0">
			<content>
 				 <rowset nrofrows="0"/> 
			 </content>
 		</page>.

Any wrong number returned me this, and the valid ones were all working,
except for April!! Even worse, when I started troubleshooting, and shutting
down/starting up Cocoon, the error started switching between months, e.g.,
all of a sudden April worked again correctly, whereas now, March returned an
empty page. I could observe this "error-switching" a number of times, it is
no hallucination, believe me.... Five minutes ago, April didn't work, I
restart Cocoon, April works, all other links as well.... for how long?

Maybe someone can help me with this specific question (while I'm still
trying all sorts of things to locate the error): How can it be that Cocoon
returns a completely empty page with just one "special" parameter, if the
query is either working with correct parameters or returning the document
shown above with incorrect parameters??? Is there a type of DB errors that
Cocoon handles this way?


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>