Hi all,
FOP stop working when I upgraded Tomcat and JDK. There a problem with
java method call related to the
com.davecorp.webos.report.CompanyReportWebosFacade object.
Here is my stylesheet:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:fox="http://xml.apache.org/fop/extensions"
xmlns:webos="http://xml.apache.org/xalan/java/com.davecorp.webos.report.CompanyReportWebosFacade">
<xsl:import href="WEB-INF/xsl/companyBaseDocument.xsl"/>
<xsl:param name="facade"/> <!-- Fetch the facade -->
<xsl:variable name="headerHeight" select="'40mm'"/>
<xsl:variable name="featureProduction"
select="webos:featureContent($facade, 'module.production' )"/>
....
Here is the exception I got (Sorry for the french translation ...)
ERREUR : 'La méthode externe
'com.davecorp.webos.report.CompanyReportWebosFacade.featureContent' est
introuvable (doit être publique).'
ERREUR BLOQUANTE : 'Impossible de compiler la feuille de style'
ERROR [http-8080-Processor25] (ReportManagerImpl.java:349) 2006-03-27
19:49:33,109 : Impossible de compiler la feuille de style
javax.xml.transform.TransformerConfigurationException: Impossible de
compiler la feuille de style
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown
Source)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(Unknown
Source)
at
com.davecorp.webos.reportManager.ReportManagerImpl.processReport(ReportManagerImpl.java:314)
at
com.davecorp.webos.reportManager.ReportManagerImpl.processReportPdf(ReportManagerImpl.java:254)
at
com.davecorp.webos.reportManager.ReportManager.processReportPdf(ReportManager.java:52)
at
com.davecorp.webos.servlet.ReportServlet.service(ReportServlet.java:149)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
Any Idea what is the problem. I search the web and haven't found a
clue. I pretty sure it`s a basic thing though ... please help!
Thanks
/David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]