cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Update: SHOWSTOPPER: XSPs do not compile...
Date Fri, 25 Jan 2002 15:59:51 GMT
> From: berni_huber@a1.net [mailto:berni_huber@a1.net]
> 
> Hi,
> 
> > > 6. Go back to welcome -> dynamic samples -> simple XSP
> > > 7. ClassNotFoundException, in the working directory - file
> > > simple_xsp.java with the size of 8 bytes.
> >
> Having only a 8 byte size java file reminds me to troubles having
> under WLS6.1 using the shipped XSLT of WLS.
> In that cases event the generated sitemap java files where only
> 8 bytes long.
> 
> I replaced the WLS 6.1 shipped by setting
> the XSLT transformer explicityl in the cocoon.xconf:
>   <xslt-processor
> class="org.apache.cocoon.components.xslt.XSLTProcessorImpl"
> logger="root.xslt">
>      <parameter name="use-store" value="true"/>
>      <parameter name="transformer-factory"
> value="org.apache.xalan.processor.TransformerFactoryImpl"/>
>   </xslt-processor>
> 
> 
> Perhaps you may have the same problem, or this hint might help?

No, it is slightly more complex then this :(

XSP compilation works *perfectly* until MRUStore purges cached
Logicsheets (done with the help of crawler). When you try to compile XSP
after this, XSP engine re-creates logicsheets (and, btw, forgets to
assign a logger for them), and for some reason logicsheets are being
applied twice, in the order (when accessing simple.xsp): request.xsl,
log.xsl, capture.xsl, xsp.xsl (here the result is valid!), log.xsl,
capture.xsl, xsp.xsl. The net result is 8 bytes or so...

Vadim



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


Mime
View raw message