Re: FOP failed in websphere application server

2010-01-19 Thread Tomas Rimšelis
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 wrote: > > Hi > > In short, I'm trying to pake application in websphere to generate pdf from > xml and xsl using fop 0.

FOP failed in websphere application server

2010-01-19 Thread overtaker
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 websp

Re: JVM Crash

2010-01-19 Thread Simon Pepping
If I understand Java well, segmentation faults (SIGSEGV) are never due to the Java code, but are due to errors in the JVM itself (libjvm.so). Is it not the task of the JVM to shield Java programs from such errors? Simon On Tue, Jan 19, 2010 at 08:57:35PM +0530, ismail.k...@polaris.co.in wrote: >

Re: JVM Crash

2010-01-19 Thread Pascal Sancho
Hi Ismail, In addition to what Venkat said, FOP 0.20.x is no longer supported. I strongly encourage you to upgrade to a recent release (currently FOP 0.95). Anyway, you should provide the log (stdout) rather than the JVM dump. Note that your dump contains no line related to FOP. I suspect that th

Re: JVM Crash

2010-01-19 Thread ismail . khan
Thanks Venkat for your input This problem we are facing at regular intervals. The same conversion happens successfully some time. Please find the details below # # An unexpected error has been detected by HotSpot Virtual Machine

JVM Crash

2010-01-19 Thread ismail . khan
Hi, We are using FOP 0.20. While XML to PDF conversion there is JVM Crash. Need input on this. Please find the JVM dump # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2af991b

Re: JVM Crash

2010-01-19 Thread Venkat Reddy
Hi mate, It is too difficult to find the reason why the crash is occured, when you are using such a old version. It is very difficult to fix the problem even there is a problem with the version you mentioned, because almost all the developers are busy investing time in latest releases/version

JVM Crash

2010-01-19 Thread ismail . khan
Hi, We are using FOP 0.20. While XML to PDF conversion there is JVM Crash. Below is the JVM dump. Need input on this. j NHODGES305190201094450211.template$dot$2(Lcom/sun/org/apache/xalan/internal/xsltc/DOM;Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;Lcom/sun/ org/apache/xml/internal/se

Re: Text of given font width

2010-01-19 Thread Vincent Hennebert
Hi Tomas, Sorry about the delay. Tomas Rimšelis wrote: > I have came up with the solution - I've > used FontMetrics's getWidth(codePoint, fontSize) for the character width and > sum all the characters in a word. It is not as clear as a solution with Java > AWT, but still it works. The PDF render

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-19 Thread Vincent Hennebert
Hi, What is your problem and what you want to achieve is not entirely clear to me. IIUC, you are not happy with the fact that the content is being rendered on only one line and is being cut off at the page’s right margin? You would like it to be broken into several lines, but images should be kep