cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geissel, Adrian" <adrian.geis...@ecb.int>
Subject Unusual behaviour with <xsp-uti:include-uri/>
Date Thu, 05 Jun 2003 07:50:52 GMT
Hi,

I wanted to check with the list before posting the following as a bug:

I'm using the following construct in an XSP to read the select-list values
from a database. 

  <select>
    <xsp-util:include-uri href="cocoon:/query/all/id_lookup.options"/>
  </select>

The sitemap fragment handling this does the following:

  <map:match pattern="query/**/*.options">
    <map:generate type="query"/>
    <map:transform type="xslt"
src="stylesheets/system/query-to-options.xsl"/>
    <map:serialize type="xml"/>
  </map:match>

where the query generator issues a query to the database (Oracle 9i) and
returns the results as XML.


The observation is that the first time (after the server [WebLogic 7] is
started, an exception is thrown (attached) and Xalan appears to keep a
background thread running consuming 100% CPU - obviously not good. The
strange thing is that if the query is accessed directly (issuing
http://.../id_lookup.options) directly in the browser, then the results are
returned immediately, and also accessing the pages that contain
<xsp-util:include-uri/> work as expected.

has anyone come across something similar (preferrably with a solution) or is
there anything else that I can do?

Thanks in advance,
Adrian




Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither
be binding nor construed as constituting a commitment by the ECB except where provided for
in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised
disclosure, use or dissemination, either in whole or in part, is prohibited.
If you have received this e-mail in error, please notify the sender immediately via e-mail
and delete this e-mail from your system.

Mime
View raw message