cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From philguillard <philguill...@gmail.com>
Subject Trouble loading XSLTC component
Date Thu, 02 Mar 2006 15:53:37 GMT
Hi,

After a cocoon restart, on the first request on any sitemap i get this
Internal Server Error: Could not find component (key 
[org.apache.excalibur.xml.xslt.XSLTProcessor/xsltc])
On the second click it is ok.

What's wrong there? I don't have any idea!
Below the details.

Regards,

Phil


In cocoon.xconf (should be exactly 2.1.7 rls):
_____________________________________________
   <xslt-processor logger="core.xslt-processor">
      <parameter name="use-store" value="true"/>
      <parameter name="incremental-processing" value="false"/>
   </xslt-processor>
   <component class="org.apache.excalibur.xml.xslt.XSLTProcessorImpl" 
logger="core.xslt-processor" 
role="org.apache.excalibur.xml.xslt.XSLTProcessor/xsltc">
      <parameter name="use-store" value="true"/>
      <parameter name="transformer-factory" 
value="org.apache.xalan.xsltc.trax.TransformerFactoryImpl"/>
   </component>
   <component class="org.apache.excalibur.xml.xslt.XSLTProcessorImpl" 
logger="core.xslt-processor" 
role="org.apache.excalibur.xml.xslt.XSLTProcessor/xalan">
      <parameter name="use-store" value="true"/>
      <parameter name="incremental-processing" value="false"/>
      <parameter name="transformer-factory" 
value="org.apache.xalan.processor.TransformerFactoryImpl"/>
   </component>

In the main sitemap :
______________________
   <map:transformers default="xsltc">
     <map:transformer logger="sitemap.transformer.xslt" name="xslt" 
pool-max="1024" src="org.apache.cocoon.transformation.TraxTransformer">
       <use-request-parameters>false</use-request-parameters>
       <use-session-parameters>false</use-session-parameters>
       <use-cookie-parameters>false</use-cookie-parameters>
       <xslt-processor-role>xalan</xslt-processor-role>
       <check-includes>true</check-includes>
     </map:transformer>
     <map:transformer logger="sitemap.transformer.xalan" name="xalan" 
pool-max="1024" src="org.apache.cocoon.transformation.TraxTransformer">
       <use-request-parameters>false</use-request-parameters>
       <use-session-parameters>false</use-session-parameters>
       <use-cookie-parameters>false</use-cookie-parameters>
       <xslt-processor-role>xalan</xslt-processor-role>
       <check-includes>true</check-includes>
     </map:transformer>

In Sub-sitemaps :
_____________

They all have the same declaration :
<map:components><map:transformers default="xsltc">.....



Regards,

Phil

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


Mime
View raw message