Re: strange behaviour: Fop 0.92b, Websphere 6.0.2.0, PARENT_LAST deployment

2006-08-09 Thread J.Pietschmann

Fabien K wrote:

Hello,
we use Fop 0.92b in order to build documents on the fly under a Websphere
Application Server 6.0.2.0

We I deploy my application in PARENT_FIRST classpath mode, everything's ok.
But if I only change deployement rules of the app to PARENT_LAST classpath
mode,
I catch exceptions ( you can see them at the end of the mail ).


here are the only jar used in the application  ( it's a demo Webapp.. )
avalon-framework-4.2.0.jar
batik-all-1.6.jar
commons-beanutils.jar
commons-collections.jar
commons-io-1.1.jar
commons-lang.jar
fop.jar
serializer-2.7.0.jar
xmlgraphics-commons-1.0.jar

Any idea?

Thanks in advance.

Exception catched:
---
[09/08/06 09:23:37:075 CEST] 003b FOTreeBuilder W
org.apache.fop.fo.FOTreeBuilder$MainFOHandler endElement Mismatch:
page-sequence (http://www.w3.org/1999/XSL/Format) vs. root


Something is corrupting the SAX event stream. The usual suspects are
buggy XML base libraries. There could be any number of other reasons,
hard to tell without having a look at all the details of the WebSphere
installation.
Double check your webapp to make sure no old xml-api.jar or xalan.jar
sneaked in.

J.Pietschmann

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



Re: strange behaviour: Fop 0.92b, Websphere 6.0.2.0, PARENT_LAST deployment

2006-08-09 Thread Fabien K
well forget the question: it's only a Websphere problem: debugging mode is
broken but normal mode is OK...I need to find a WAS patch...

Just excuse me.

F.

> Hello,
> we use Fop 0.92b in order to build documents on the fly under a Websphere
> Application Server 6.0.2.0
>
> We I deploy my application in PARENT_FIRST classpath mode, everything's
> ok.
> But if I only change deployement rules of the app to PARENT_LAST classpath
> mode,
> I catch exceptions ( you can see them at the end of the mail ).
>
>
> here are the only jar used in the application  ( it's a demo Webapp.. )
> avalon-framework-4.2.0.jar
> batik-all-1.6.jar
> commons-beanutils.jar
> commons-collections.jar
> commons-io-1.1.jar
> commons-lang.jar
> fop.jar
> serializer-2.7.0.jar
> xmlgraphics-commons-1.0.jar
>
>
>
> Any idea?
>
> Thanks in advance.
>
> Exception catched:
> ---
> [09/08/06 09:23:37:075 CEST] 003b FOTreeBuilder W
> org.apache.fop.fo.FOTreeBuilder$MainFOHandler endElement Mismatch:
> page-sequence (http://www.w3.org/1999/XSL/Format) vs. root
> (http://www.w3.org/1999/XSL/Format)
> [09/08/06 09:23:37:169 CEST] 003b FOTreeBuilder E
> org.apache.fop.fo.FOTreeBuilder fatalError
> javax.xml.transform.TransformerException:
> java.lang.IllegalArgumentException: The number of this PDFNumber must not
> be empty
>
>  some lines after ( since exception in encapsulated .. )
>
> Caused by: java.lang.IllegalArgumentException: The number of this
> PDFNumber must not be empty
>   at org.apache.fop.pdf.PDFNumber.toPDFString(PDFNumber.java:109)
>   at org.apache.fop.pdf.PDFObject.toPDF(PDFObject.java:163)
>   at org.apache.fop.pdf.PDFObject.output(PDFObject.java:152)
>   at org.apache.fop.pdf.PDFDocument.output(PDFDocument.java:850)
>   at 
> org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:657)
>   at
> org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:119)
>   at
> org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:703)
>   at
> org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:154)
>   at
> org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:320)
>   at
> org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:147)
>   at
> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:357)
>   at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193)
>   at
> org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:301)
>
>
> -
> 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]



strange behaviour: Fop 0.92b, Websphere 6.0.2.0, PARENT_LAST deployment

2006-08-09 Thread Fabien K
Hello,
we use Fop 0.92b in order to build documents on the fly under a Websphere
Application Server 6.0.2.0

We I deploy my application in PARENT_FIRST classpath mode, everything's ok.
But if I only change deployement rules of the app to PARENT_LAST classpath
mode,
I catch exceptions ( you can see them at the end of the mail ).


here are the only jar used in the application  ( it's a demo Webapp.. )
avalon-framework-4.2.0.jar
batik-all-1.6.jar
commons-beanutils.jar
commons-collections.jar
commons-io-1.1.jar
commons-lang.jar
fop.jar
serializer-2.7.0.jar
xmlgraphics-commons-1.0.jar



Any idea?

Thanks in advance.

Exception catched:
---
[09/08/06 09:23:37:075 CEST] 003b FOTreeBuilder W
org.apache.fop.fo.FOTreeBuilder$MainFOHandler endElement Mismatch:
page-sequence (http://www.w3.org/1999/XSL/Format) vs. root
(http://www.w3.org/1999/XSL/Format)
[09/08/06 09:23:37:169 CEST] 003b FOTreeBuilder E
org.apache.fop.fo.FOTreeBuilder fatalError
javax.xml.transform.TransformerException:
java.lang.IllegalArgumentException: The number of this PDFNumber must not
be empty

 some lines after ( since exception in encapsulated .. )

Caused by: java.lang.IllegalArgumentException: The number of this
PDFNumber must not be empty
at org.apache.fop.pdf.PDFNumber.toPDFString(PDFNumber.java:109)
at org.apache.fop.pdf.PDFObject.toPDF(PDFObject.java:163)
at org.apache.fop.pdf.PDFObject.output(PDFObject.java:152)
at org.apache.fop.pdf.PDFDocument.output(PDFDocument.java:850)
at 
org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:657)
at 
org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:119)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:703)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:154)
at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:320)
at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:147)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:357)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193)
at
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:301)


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