xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomas Rimšelis <tori3...@gmail.com>
Subject Re: FOP failed in websphere application server
Date Wed, 20 Jan 2010 07:45:27 GMT
I would check what transformer WebSphere uses - maybe it is outdated? What
WS version do you use? How does your xml and xsl lokk like?

On Wed, Jan 20, 2010 at 8:12 AM, overtaker <overtaker_ovi@hotmail.com>wrote:

>
> Hi
>
> In short, I'm trying to pake application in websphere to generate pdf from
> xml and xsl using fop 0.95 library,
> I have tried to feed the same xml and xsl to fop.bat command line sample,
> and it manages to generate a pdf, however when I try to feed the same xml
> and xsl to the application in websphere, it gives me this error:
>
> javax.xml.transform.TransformerException: org.xml.sax.SAXException:
> Mismatch: page-sequence (http://www.w3.org/1999/XSL/Format) vs. root
> (http://www.w3.org/1999/XSL/Format)
>
>
> I followed some guide on FOP page about using DefaulErrorListener, and I
> got
> this as stacktrace
>
> exc     TransformerException  (id=10366)
>        backtrace       Object[123]  (id=10375)
>                [0...99]
>                        [0]      (id=13427)
>                        [1]     Class (org.apache.xpath.XPath) (id=10354)
>                        [2]     Class
> (org.apache.xalan.templates.ElemVariable) (id=10355)
>                        [3]     Class
> (org.apache.xalan.templates.ElemVariable) (id=10355)
>                        [4]     Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [5]     Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                        [6]     Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [7]     Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                        [8]     Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [9]     Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                        [10]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [11]    Class
> (org.apache.xalan.templates.ElemTemplate) (id=10357)
>                        [12]    Class
> (org.apache.xalan.templates.ElemCallTemplate) (id=10358)
>                        [13]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [14]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                        [15]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [16]    Class (org.apache.xalan.templates.ElemIf)
> (id=10359)
>                        [17]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [18]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                        [19]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [20]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                        [21]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [22]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                        [23]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [24]    Class (org.apache.xalan.templates.ElemIf)
> (id=10359)
>                        [25]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [26]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                        [27]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [28]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [29]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [30]    Class
> (org.apache.xalan.templates.ElemVariable) (id=10355)
>                        [31]    Class
> (org.apache.xalan.templates.ElemVariable) (id=10355)
>                        [32]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [33]    Class
> (org.apache.xalan.templates.ElemTemplate) (id=10357)
>                        [34]    Class
> (org.apache.xalan.templates.ElemCallTemplate) (id=10358)
>                        [35]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [36]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [37]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [38]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [39]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [40]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [41]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [42]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [43]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [44]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [45]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [46]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [47]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [48]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [49]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [50]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [51]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [52]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [53]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [54]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [55]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [56]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [57]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [58]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                        [59]    Class
> (org.apache.xalan.templates.ElemApplyTemplates) (id=10361)
>                        [60]    Class
> (org.apache.xalan.templates.ElemApplyTemplates) (id=10361)
>                        [61]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [62]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [63]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [64]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [65]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        [66]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                        ...
>                        [74]    Class (sun.reflect.NativeMethodAccessorImpl)
> (id=1567)
>                        [75]    Class (sun.reflect.NativeMethodAccessorImpl)
> (id=1567)
>                        [76]    Class
> (sun.reflect.DelegatingMethodAccessorImpl) (id=1566)
>                        [77]    Class (java.lang.reflect.Method) (id=1879)
>                        [78]    Class (com.ibm.rmi.util.ProxyUtil$2)
> (id=460)
>                        [79]    Class (java.security.AccessController)
> (id=1870)
>                        [80]    Class (com.ibm.rmi.util.ProxyUtil) (id=461)
>                        [81]    Class (com.ibm.CORBA.iiop.ClientDelegate)
> (id=886)
>                        [82]    Class ($Proxy20) (id=10264)
>                        ...
>                        [86]    Class (sun.reflect.NativeMethodAccessorImpl)
> (id=1567)
>                        [87]    Class (sun.reflect.NativeMethodAccessorImpl)
> (id=1567)
>                        [88]    Class
> (sun.reflect.DelegatingMethodAccessorImpl) (id=1566)
>                        [89]    Class (java.lang.reflect.Method) (id=1879)
>                        ...
>                        [93]    Class
> (org.apache.struts.action.RequestProcessor) (id=10226)
>                        [94]    Class
> (org.apache.struts.action.RequestProcessor) (id=10226)
>                        [95]    Class
> (org.apache.struts.action.ActionServlet) (id=2783)
>                        [96]    Class
> (org.apache.struts.action.ActionServlet) (id=2783)
>                        [97]    Class (javax.servlet.http.HttpServlet)
> (id=6926)
>                        [98]    Class (javax.servlet.http.HttpServlet)
> (id=6926)
>                        [99]    Class
> (com.ibm.ws.webcontainer.servlet.StrictServletInstance)
> (id=5927)
>                [100...122]
>        cause   TransformerException  (id=10366)
>        containedException      NullPointerException  (id=10376)
>                backtrace       Object[132]  (id=13435)
>                        [0...99]
>                                [0]      (id=13444)
>                                [1]     Class
> (org.apache.xml.utils.SystemIDResolver) (id=10820)
>                                [2]     Class
> (org.apache.xpath.SourceTreeManager) (id=11802)
>                                [3]     Class
> (org.apache.xalan.templates.FuncDocument) (id=12014)
>                                [4]     Class
> (org.apache.xalan.templates.FuncDocument) (id=12014)
>                                [5]     Class
> (org.apache.xpath.axes.FilterExprIteratorSimple) (id=10821)
>                                [6]     Class
> (org.apache.xpath.axes.FilterExprWalker) (id=11900)
>                                [7]     Class
> (org.apache.xpath.axes.WalkingIterator) (id=10380)
>                                [8]     Class
> (org.apache.xpath.axes.NodeSequence) (id=11955)
>                                [9]     Class
> (org.apache.xpath.axes.LocPathIterator) (id=10382)
>                                [10]    Class (org.apache.xpath.XPath)
> (id=10354)
>                                [11]    Class
> (org.apache.xalan.templates.ElemVariable) (id=10355)
>                                [12]    Class
> (org.apache.xalan.templates.ElemVariable) (id=10355)
>                                [13]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [14]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                                [15]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [16]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                                [17]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [18]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                                [19]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [20]    Class
> (org.apache.xalan.templates.ElemTemplate) (id=10357)
>                                [21]    Class
> (org.apache.xalan.templates.ElemCallTemplate) (id=10358)
>                                [22]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [23]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                                [24]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [25]    Class
> (org.apache.xalan.templates.ElemIf) (id=10359)
>                                [26]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [27]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                                [28]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [29]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                                [30]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [31]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                                [32]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [33]    Class
> (org.apache.xalan.templates.ElemIf) (id=10359)
>                                [34]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [35]    Class
> (org.apache.xalan.templates.ElemChoose) (id=10356)
>                                [36]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [37]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [38]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [39]    Class
> (org.apache.xalan.templates.ElemVariable) (id=10355)
>                                [40]    Class
> (org.apache.xalan.templates.ElemVariable) (id=10355)
>                                [41]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [42]    Class
> (org.apache.xalan.templates.ElemTemplate) (id=10357)
>                                [43]    Class
> (org.apache.xalan.templates.ElemCallTemplate) (id=10358)
>                                [44]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [45]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [46]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [47]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [48]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [49]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [50]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [51]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [52]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [53]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [54]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [55]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [56]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [57]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [58]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [59]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [60]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [61]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [62]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [63]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [64]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [65]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [66]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [67]    Class
> (org.apache.xalan.templates.ElemLiteralResult) (id=10360)
>                                [68]    Class
> (org.apache.xalan.templates.ElemApplyTemplates) (id=10361)
>                                [69]    Class
> (org.apache.xalan.templates.ElemApplyTemplates) (id=10361)
>                                [70]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [71]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [72]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [73]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [74]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [75]    Class
> (org.apache.xalan.transformer.TransformerImpl) (id=10345)
>                                [83]    Class
> (sun.reflect.NativeMethodAccessorImpl) (id=1567)
>                                [84]    Class
> (sun.reflect.NativeMethodAccessorImpl) (id=1567)
>                                [85]    Class
> (sun.reflect.DelegatingMethodAccessorImpl) (id=1566)
>                                [86]    Class (java.lang.reflect.Method)
> (id=1879)
>                                [87]    Class (com.ibm.rmi.util.ProxyUtil$2)
> (id=460)
>                                [88]    Class
> (java.security.AccessController) (id=1870)
>                                [89]    Class (com.ibm.rmi.util.ProxyUtil)
> (id=461)
>                                [90]    Class
> (com.ibm.CORBA.iiop.ClientDelegate) (id=886)
>                                [91]    Class ($Proxy20) (id=10264)
>                                [92]    Class
> (com.rts.iips.noticegeneration.interfaces._NoticeGenerationBean_Stub)
> (id=10265)
>                                [93]    Class
> (com.rts.iips.noticegeneration.web.NGDelegate) (id=10254)
>                                [94]    Class
> (com.rts.iips.noticegeneration.web.NGHoldAndReleaseAction)
> (id=10223)
>                                [95]    Class
> (sun.reflect.NativeMethodAccessorImpl) (id=1567)
>                                [96]    Class
> (sun.reflect.NativeMethodAccessorImpl) (id=1567)
>                                [97]    Class
> (sun.reflect.DelegatingMethodAccessorImpl) (id=1566)
>                                [98]    Class (java.lang.reflect.Method)
> (id=1879)
>                        [100...131]
>                cause   null
>                detailMessage   null
>                stackTrace      null
>        detailMessage   "Unknown error in XPath" (id=10377)
>        locator WalkingIteratorSorted  (id=10378)
>        stackTrace      null
>
>
>
> Any idea what could be the problem?
> Thanks a lot
> --
> View this message in context:
> http://old.nabble.com/FOP-failed-in-websphere-application-server-tp27237235p27237235.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>

Mime
View raw message