cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinkar Ganti" <dink...@lifeconnect.com>
Subject Serializer requests
Date Fri, 05 Oct 2001 19:17:17 GMT
Hello,

I had posted this message earlier. The reason it is important is that each
request in our application opens a Database connection which we would like
to limit. Any help in this regard, will be greatly appreciated.


When I use XMLSerializer in the pipeline, the WebServer two requests for the
same pattern. For example for the following pipeline

<map:match pattern="blank.svg">
	<map:generate src="docs/esdm/blank.svg"/>
	<map:serialize type="xml"/>
</map:match>

The Webserver access log shows

127.0.0.1 - - [27/Sep/2001:17:04:16 -0400] "GET /cocoon/blank.svg HTTP/1.1"
200 146
127.0.0.1 - - [27/Sep/2001:17:04:16 -0400] "GET /cocoon/blank.svg HTTP/1.1"
200 146

Whereas if I change the pipeline to
<map:match pattern="blank.svg">
	<map:generate src="docs/esdm/blank.svg"/>
	<map:serialize type="svg2png"/>
</map:match>

127.0.0.1 - - [27/Sep/2001:17:20:48 -0400] "GET /cocoon/blank.svg HTTP/1.1"
200 1262

Any help would be greatly appreciated.

Thanks and regards,

Dinkar


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


Mime
View raw message