cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <>
Subject Re: SHOWSTOPPER: XSPs do not compile...
Date Fri, 25 Jan 2002 10:04:25 GMT
On Fri, 25 Jan 2002, Vadim Gritsenko wrote:

> Thanks to Carsten who pointed out to this problem...
> I have the major issue with XSP compilation. Here is the test case:
> 1. Clean work directory
> 2. Start sevlet engine
> 3. Access welcome -> search docs -> create index
> 4. Choose "Create index", hit "create" button
> 5. Wait
> 6. Go back to welcome -> dynamic samples -> simple XSP
> 7. ClassNotFoundException, in the working directory - file
> with the size of 8 bytes.
> After restarting the servlet engine everything works Ok :(
> Can somebody verify this experience? The key point here is:
> 1. Compile at least one XSP
> 2. Generate lucene index (I guess this could be emulated by Teleport or
> some other web-crawling software)
> 3. Try to compile another XSP - which is not compiled yet
> 4. Result - empty file, with several linefeeds.
> I tried to track down this issue, found some unreleased parsers,
> unrecycled sources, but nothing helped to solve this problem. I'm
> completely lost in the deep of the XSP machinery...
> Torsten, is this issue similar to yours? Pls check whether you have
> empty generated java files after this ClassNotFoundException exception
> or not.

Hm.. I'm not quite sure. The problem is - I cannot reproduce it.
But it definitly sounds familiar. Unfortunately I'm not quite sure
about the file size. I will check that as soon as I get the exception
again. _If_ it is the same problem it seems to be around for at least
a week.

Although most people on this list seem to think XSP should be deprecated
I think we should put some more efforts into the XSP machinery. Once
a XSP page is compiled IMHO it should scale as good as hand written
Generator. And although I haven't had a closer look into the XSP
engine yet - this should really be possible.

To unsubscribe, e-mail:
For additional commands, email:

View raw message