> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> 
> 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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to