You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Nicola Ken Barozzi <ba...@nicolaken.com> on 2002/02/01 09:16:41 UTC

Re: Cocoon for docs generation

From: "Nicola Ken Barozzi" <ba...@nicolaken.com>

> Cocoon in docs build is slow. :-(
> On the same documentation set
> (PIII 1Ghz, 512 Mb, W$2000SP1, Jdk Sun 1.3.1_01):
> 
> Anakia: 4 sec
> Cocoon of two weeks ago: 50 sec
> Cocoon of two weeks ago precompiled sitemap: 16 sec
> Cocoon HEAD: 45 sec
> Cocoon HEAD with cocoon.xconf tweaks: 38sec
> Cocoon HEAD precompiled sitemap: 18 sec
> Cocoon HEAD+TreeProcessor: 2 sec (only index.html compiled)

Cocoon 2.0.1: 36 sec
Cocoon 2.0.1precompiled sitemap: 14 sec

--
Nicola Ken Barozzi                 xml-cocoon@nicolaken.com
These are the days of miracle and wonder...
          ...so don't cry baby, don't cry...
                                                  Paul Simon


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


Re: Cocoon 2.0 Error reporting

Posted by Nicola Ken Barozzi <ba...@nicolaken.com>.
>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.

I've just checked and it does the same :-(

Thank you for pointing it out. I will look at it.
It seems though that the error is not caught by the sitemap and is rethrown
to Cocoon, which decides to handle it this way.

> And so I would be +1000 for
>somehow making these type of beginner mistakes easy to find.

Unfortunately we all suffered from this thing; some changes I already did,
more I will do now.

Anyway, thank you for the example. It's just what I needed. :-)

Ken

--
Nicola Ken Barozzi                 xml-cocoon@nicolaken.com
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


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


Cocoon 2.0 Error reporting

Posted by Matthew Langham <ml...@s-und-n.de>.
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


RE: Cocoon for docs generation

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Nicola Ken Barozzi [mailto:barozzi@nicolaken.com]
> 
> Cocoon doc build - building jakarta-poi docs from sourceforge
> On the same documentation set
>  (PIII 1Ghz, 512 Mb, W$2000SP1, Jdk Sun 1.3.1_01):
> 
>  Anakia: 4 sec
> Cocoon of 16/01/2002: 50 sec
> Cocoon of 16/01/2002 precompiled sitemap: 16 sec
> Cocoon of 28/01/2002: 45 sec
> Cocoon 28/01/2002 with cocoon.xconf tweaks: 38sec
> Cocoon 28/01/2002 precompiled sitemap: 18 sec
> Cocoon 28/01/2002+TreeProcessor: 2 sec (only index.html compiled)
> Cocoon 2.0.1: 36 sec
> Cocoon 2.0.1precompiled sitemap: 14 sec
> 
> Cocoon 01/02/2001 : 33sec
> Cocoon 01/02/2001 precompiled sitemap: 12 sec
> Cocoon 01/02/2001 with Xerces2: 32sec
> Cocoon 01/02/2001 precompiled sitemap with Xerces2: 12 sec

That's interesting. Startup time & processing time are going down!
Keep these numbers lowering! ;)

Vadim



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


Re: Cocoon for docs generation

Posted by Nicola Ken Barozzi <ba...@nicolaken.com>.
Cocoon doc build - building jakarta-poi docs from sourceforge
On the same documentation set
 (PIII 1Ghz, 512 Mb, W$2000SP1, Jdk Sun 1.3.1_01):
 
 Anakia: 4 sec
Cocoon of 16/01/2002: 50 sec
Cocoon of 16/01/2002 precompiled sitemap: 16 sec
Cocoon of 28/01/2002: 45 sec
Cocoon 28/01/2002 with cocoon.xconf tweaks: 38sec
Cocoon 28/01/2002 precompiled sitemap: 18 sec
Cocoon 28/01/2002+TreeProcessor: 2 sec (only index.html compiled)
Cocoon 2.0.1: 36 sec
Cocoon 2.0.1precompiled sitemap: 14 sec

Cocoon 01/02/2001 : 33sec
Cocoon 01/02/2001 precompiled sitemap: 12 sec
Cocoon 01/02/2001 with Xerces2: 32sec
Cocoon 01/02/2001 precompiled sitemap with Xerces2: 12 sec

-- 
Nicola Ken Barozzi                 xml-cocoon@nicolaken.com
These are the days of miracle and wonder...
          ...so don't cry baby, don't cry...
                                                  Paul Simon



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