cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Langham" <mlang...@s-und-n.de>
Subject Cocoon 2.0 Error reporting
Date Fri, 01 Feb 2002 12:48:23 GMT
Hi,

on the subject of error reporting - calling the following pipeline:

>>

		<map:match pattern="portal/user/login">
    			<map:generate src="portal/resources/login.xml"/>
			<map:transform src="portal/styles/buildlogin.xsl">
				<map:parameter name="use-request-parameters" value="true"/>
			</map:transform>
    			<map:transform type="sql">
      				<map:parameter name="use-connection" value="portal"/>
	 		</map:transform>
			<!--
			<map:transform src="portal/styles/buildfeeds.xsl"/>
    			<map:transform type="sql">
      				<map:parameter name="use-connection" value="portal"/>
	 		</map:transform>
    			<map:serialize type="xml"/>
			-->
  		</map:match>
<<


(Yes I know its wrong)

Results in a 404 being returned to the browser and the log says:

>>
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request:
/portal/user/login
<<

Well obviously there is a pipeline for /portal/user/login. The error is of
course that I commented out the serializer by mistake. I am not sure if the
error is more explanatory under 2.0.1 - I haven't checked yet.

But this is more to emphasize the fact that these types of error messages
make life really hard "out in the field". And so I would be +1000 for
somehow making these type of beginner mistakes easy to find.

Carsten - you hear me? :-)

Matthew

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  mlangham@s-und-n.de - http://www.s-und-n.de
=================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message