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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to