Really many thanks for your answer Christopher
In fact, we are using the use-store=true option, and we will try using the false.
Thank you very much, this problem is also annoying us for long time...


I'll write back results !

--
Olivier

Christopher Painter-Wakefield wrote:




Olivier,


we are using C2.0.3, and struggled with this problem for over a year.  We
have created many logicsheets, many of them using each other, and this
problem was frequent and frustrating.  The problem seems to be caused by
some kind of race condition, and we learned we could reproduce it reliably
by hitting the same (uncompiled) page twice quickly, i.e., the second
request before the compilation is complete.

 The fix for us turned out to be a cocoon.xconf setting which was recently
discussed on the list as buggy.  :(  The setting is the use-store setting
for the xslt-processor.  Apparently setting this to true improves
performance, but is known to be buggy.  Well, setting it to false fixed the
bug for us.

      <xslt-processor
class="org.apache.cocoon.components.xslt.XSLTProcessorImpl"
logger="core.xslt-processor">
            <parameter name="use-store" value="false"/>
            <parameter name="incremental-processing" value="true"/>
      </xslt-processor>

Please let me know if this works for you.

- Christopher



|---------+---------------------------->
|         |           Olivier Billard  |
|         |           <[EMAIL PROTECTED]|
|         |           r>               |
|         |           Sent by: news    |
|         |           <[EMAIL PROTECTED]|
|         |           rg>              |
|         |                            |
|         |                            |
|         |           04/20/2004 09:49 |
|         |           AM               |
|         |           Please respond to|
|         |           users            |
|         |                            |
|---------+---------------------------->
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                          |
  |       To:       [EMAIL PROTECTED]                                                  
                    |
  |       cc:                                                                          
                          |
  |       Subject:  XSP and logicsheets namespaces inclusions                          
                          |
  
>--------------------------------------------------------------------------------------------------------------|




Hi again,


I have an XSP that includes some logicsheets. Some of these logicsheets
also includes a logicsheet (xsp-request for example).

But some times (10% of the time) after a restart of the server, a
compilation error occurs, caused by the xsp-request logicsheet not
beeing translated, and <xsp-request:...> elements appearing in the java
source of the XSP.
Most of the time, the XSP compiles without any problem.

What could be the problem ?
Is it bad to use a logicsheet in another ?
Is there a special order in declaring logicsheets namespaces ?

Thanks,

--
Olivier Billard


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to