You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by John Moylan <jo...@rte.ie> on 2002/08/13 13:56:06 UTC

how do I reclaim java processes

when I run the following xinclude code with xpointers to xmldb content 
from Cocoon - the number of java processes running on my machine jumps 
from 50 to 1156. At present the only way I have of reclaiming these 
processes is by stoping and starting the xindice server. Is there a 
better way to do this with out stopping the server? Does anyone know why 
the processes are not freed after the style sheet is finished processing?

I'm using jdk 1.3.0, Xindice 1, Cocoon 2.03, Tomcat 4.04

John

Stylesheet:

 <xsl:for-each select = "//@src:key">
                <xsl:element name="a">
                        <xsl:attribute name="href">
                                <xsl:value-of select="."/>
                        </xsl:attribute>
                        <table width="100%" border="1"><tr>
                                <td width="80%"><b><xi:include 
href="cocoon://{.}#xpointer(//NewsLines/HeadLine)"/></b></td>

                                <td width="20%"><xi:include 
href="cocoon://{.}#xpointer(/NewsML/NewsItem/NewsComponent/NewsItem/NewsComponent/NewsComponent/Metadata/Property[@FormalName='MediaName']/@Value)"/></td>
                        </tr></table>

Cocoon Sitemap snippet:
        <map:match pattern="newsextracts*.xml">
                <map:generate 
src="xmldb:xindice://localhost:4080/db/press/newsextracts{1}.xml"/>
                <map:serialize type="xml"/>
         </map:match>





******************************************************************************
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RT� may be subject to the Freedom
of Information Act 1997 and may be liable to disclosure.
******************************************************************************