this is bug 15843

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15843

> -----Original Message-----
> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 11:46 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [BUG] : java.util.EmptyStackException on EnvironmentStack
> 
> 
> Hi Tim,
> 
> thanks for this! Really great, I will give it a try as soon 
> as possible.
> 
> Carsten
> 
> > -----Original Message-----
> > From: Timothy Larson [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 31, 2003 6:31 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [BUG] : java.util.EmptyStackException on 
> EnvironmentStack
> > 
> > 
> > Ok, attached are sample files that generates the 
> > java.util.EmptyStackException.
> > 
> > I am using Saxon-7.3.1 with everything working, except that if 
> > bad data is sent
> > to the "fo2pdf" serializer causing a fatal exception, then 
> > something happens that
> > destabilizes cocoon, causing some subsequent requests for other 
> > files to fail.
> > The problem does not occur if the default transformer in the 
> > attached sitemap.xmap
> > and empty.xmap is changed to Xalan.
> > 
> > Steps to demonstrate the exception:
> >   Copy the attached files into a fresh directory
> >   Add a <mount/> tag to one of your sitemaps pointing at 
> sitemap.xmap
> >   Copy the jar file for Saxon-7.3.1 into WEB-INF/lib
> >   Edit your cocoon.xconf and root sitemap.xmap to let Cocoon know 
> > about Saxon
> >     (See the excerpts from each file below)
> >   Restart Cocoon so it will see the new jar file
> >   In a browser (the sequence is very important):
> >     Request the url "where-you-mounted-the-files/empty.pdf"
> >     Request the url "where-you-mounted-the-files/good.html"
> >     Request the url "where-you-mounted-the-files/empty.pdf"
> >     Hit reload
> >     Request the url "where-you-mounted-the-files/good.html"
> >   You should now see the java.util.EmptyStackException error page.
> > 
> > Excerpt from cocoon.xconf:
> > =====
> >   <component
> >     role="org.apache.cocoon.components.xslt.XSLTProcessor/Saxon"
> >     class="org.apache.cocoon.components.xslt.XSLTProcessorImpl"
> >     logger="core.xslt-processor-Saxon">
> >     <parameter name="use-store" value="true"/>
> >     <parameter name="incremental-processing" value="false"/>
> >     <parameter name="transformer-factory" 
> > value="net.sf.saxon.TransformerFactoryImpl"/>
> >   </component>
> > 
> >   <component
> >     role="org.apache.cocoon.components.xslt.XSLTProcessor/Xalan"
> >     class="org.apache.cocoon.components.xslt.XSLTProcessorImpl"
> >     logger="core.xslt-processor-Xalan">
> >     <parameter name="use-store" value="true"/>
> >     <parameter name="incremental-processing" value="false"/>
> >     <parameter name="transformer-factory" 
> > value="org.apache.xalan.processor.TransformerFactoryImpl"/>
> >   </component>
> > =====
> > 
> > Excerpt from root sitemap.xmap:
> > =====
> >     <map:transformers default="xslt-Saxon">
> > 
> >       <map:transformer name="xslt-Saxon"
> >         src="org.apache.cocoon.transformation.TraxTransformer"
> >         logger="sitemap.transformer.xslt-processor-Saxon"
> >         pool-max="32" pool-min="8" pool-grow="2">
> >         <use-request-parameters>false</use-request-parameters>
> >         
> <use-browser-capabilities-db>false</use-browser-capabilities-db>
> >         <use-deli>false</use-deli>
> >         
> > <xslt-processor-role>org.apache.cocoon.components.xslt.XSLTProcess
> > or/Saxon</xslt-processor-role>
> >       </map:transformer>
> > 
> >       <map:transformer name="xslt-Xalan"
> >         src="org.apache.cocoon.transformation.TraxTransformer"
> >         logger="sitemap.transformer.xslt-processor-Xalan"
> >         pool-grow="2" pool-max="32" pool-min="8">
> >         <use-request-parameters>false</use-request-parameters>
> >         
> <use-browser-capabilities-db>false</use-browser-capabilities-db>
> >         <use-deli>false</use-deli>
> >         
> > <xslt-processor-role>org.apache.cocoon.components.xslt.XSLTProcess
> > or/Xalan</xslt-processor-role>
> >       </map:transformer>
> > =====
> > 
> > Tim
> > 
> > >>> [EMAIL PROTECTED] 01/31/03 09:23AM >>>
> > 
> > Timothy Larson wrote:
> > > 
> > > My current setup is not simple.
> > > I will try to make a simple test and get back to you...
> > > 
> > Great! (Because, I never got this exception).
> > 
> > Thanks!
> > Carsten
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > For additional commands, email: [EMAIL PROTECTED] 
> > 
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 

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

Reply via email to