RE: stress test FOP in a servlet?

2002-05-01 Thread Arved Sandstrom
If you're on NT an inexpensive (as in free), easy to use, and useful tool is M$ Web Application Stress Tool, at http://webtool.rte.microsoft.com/download.asp. I use it myself to test an in-house servlet engine. Regards, Arved Sandstrom > -Original Message- > From: Carter, Will [mailto:[EM

Re: FW: FopServlet problem...

2002-05-01 Thread J.Pietschmann
Moisio Juha wrote: But when I give xml and xsl paremeters (files glossary.xml and glossary.xsl) it throws ClassNotFoundExeption... ... /www/jakarta-tomcat-4.0.3/juhantesti/servlets/WEB-INF/lib Tomcat 4.0.3 has some known problems with the classloader. There are some instructions in the Tomcat doc s

Re: Memory consumption with large images in FOP

2002-05-01 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: the resulting PDF has a black rectangle, where the image should be. In PDF, images are rendered at 1/72 inch per pixel, or roughly 3.53 cm per 100 pixel. Higher resolution images are scaled down during rendering, you may see a resampling artifact, or simply a bug (probably

FW: FopServlet problem...

2002-05-01 Thread Moisio Juha
Hi, I'm having litte bit problems with Fopservlet.java (doc/examples/embedding). If I try to make pdf from readme.fo, it works fine. But when I give xml and xsl paremeters (files glossary.xml and glossary.xsl) it throws ClassNotFoundExeption... Command line version works just fine for both inp

Re: Passing page numbers to an external servlet

2002-05-01 Thread J.Pietschmann
Kevin Pearcey wrote: This won't work as it attempts to place the fo:page-number as an attribute of fo:external-graphic. This is the problem I have and as far as I can tell there is no way of solving it. It seems like xsl:fo just doesn't have the power to do much page conditional things without

Re: I get a mysterious NoClassDefFoundError

2002-05-01 Thread J.Pietschmann
L'eau wrote: -jar fop.jar -xml xmlfoRef.xml -xsl xml2pdf.xsl -pdf output.pdf ^ Using the -jar option forces the classpath defined in the manifest in the jar, which contains relative path entries. I belive the -cp setting is completely irrelevant in this scenario. Replace "-jar fop.jar" by org

Re: FOP memory consumption

2002-05-01 Thread J.Pietschmann
Bernd Brandstetter wrote: memory would have to be available on every box. From what I've read on the list, I'm sure this is due to excessive usage of forward references and large (partly nested) tables spanning multiple pages. However, this is an absolute requirement for our documentation. From

RE: FOP memory consumption

2002-05-01 Thread Savino, Matt C
> No. A forward reference is for example a fo:page-number-citation > referring to a page after the current page, like in the > overused "page X of Y" construct. > No offense, but if it's over-used, then it's probably because end users ask for it. As a project lead I really wouldn't look forward t

FOP justifying problem

2002-05-01 Thread Ben Rockwood
Hello. I just started using FOP and I really like it so far. However I'm running into a problem and noticed it mentioned in this lists archives, so I joined. I have a DocBook XML that I've converted to FO via XSLTproc. I've rendered it using both RenderX (the eval) and FOP. The diffrence is that

Re: FOP memory consumption

2002-05-01 Thread J.Pietschmann
John Bourke wrote: Hi Bernd, You seem to be in much the same predicament as I am. I have large tables on recurring pages and like you I'm running out of memory. Does anybody no of a way to implement tables without eating memory and what exactly do forward references mean? Is that like using the xpa

Re: Trying to resolve memory exception through correct use of page se quencing

2002-05-01 Thread J.Pietschmann
John Bourke wrote: I think the problem is caused by me having a page sequence called detail page, into which my 500 pages worth of data is placed with a page break before each page full. BUT, this is all within the one page sequence which I think FOP is trying to render all at once. FOP tries to re

Re: struggling with fop

2002-05-01 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: Hi Gurus, I have been struggling with the convertion to PDF > using FOP. It was working well for the past few > weeks and all of a sudden I am getting this exception > error and I have tried everything I could think of. > Now, I am seeking for your help The exception >

struggling with fop

2002-05-01 Thread pandianoliver
Hi Gurus, I have been struggling with the convertion to PDF using FOP. It was working well for the past few weeks and all of a sudden I am getting this exception error and I have tried everything I could think of. Now, I am seeking for your help The exception error occurs on the call to I

Re: I get a mysterious NoClassDefFoundError

2002-05-01 Thread Jeff_Mitchell
Devon- OK, I'm confused too. I don't have a jimi-1.0.jar (or any jimi*.jar, for that matter) I'm attaching the .bat that came with my download (I downloaded last Friday, so I would think they'd be the same, since the download directory we both pulled from shows the package being last uploaded o

Re: I get a mysterious NoClassDefFoundError

2002-05-01 Thread Carlos
There should be two files: fop.sh (for Unix) and fop.bat (for windows) If they are not there, I would download fop again Carlos On 05/01/02 8:40, "L'eau" <[EMAIL PROTECTED]> wrote: > > Hi Jeff, > > Now I'm confused. I downloaded FOP from > http://xml.apache.org/dist/fop/ , just this morning

Re: Trying to resolve memory exception through correct use of page se quencing

2002-05-01 Thread Peter B. West
John, Yes, minimising page-sequence length will reduce memory consumption. Peter John Bourke wrote: Ideally for each page full I would like to start a new page sequence and thus allow FOP only render one page at a time. Does this sound to anybody like the right way to go about this?

RE: stress test FOP in a servlet?

2002-05-01 Thread Ryan.Asleson
>>You can use "Loadrunner" by Mercuryinteractive to do stress test. >>http://www-heva.mercuryinteractive.com/products/loadrunner/ You can also try JMeter, available from Apache: http://jakarta.apache.org/jmeter/ I haven't personally used it, but I think it can be used to create a load on a ser

RE: stress test FOP in a servlet?

2002-05-01 Thread Xie, David (IPCG-NJ)
You can use "Loadrunner" by Mercuryinteractive to do stress test. http://www-heva.mercuryinteractive.com/products/loadrunner/ -Original Message- From: Carter, Will [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 11:58 AM To: '[EMAIL PROTECTED]' Subject: stress test FOP in a ser

RE: stress test FOP in a servlet?

2002-05-01 Thread Savino, Matt C
Just make a frameset that loads as many identical pages as you want. You'll get near concurrent loading. Or you can shell out $30k for loadrunner. Matt Savino > -Original Message- > From: Carter, Will [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 01, 2002 8:58 AM > To: '[EMAIL PROTEC

stress test FOP in a servlet?

2002-05-01 Thread Carter, Will
What is the best way to stress test fop in a servlet find out how many users it would take to produce out of memory errors? is there an easy way to send multiple concurrent requests to a servlet? thanks, will

RE: Passing page numbers to an external servlet

2002-05-01 Thread Kevin Pearcey
Title: RE: Passing page numbers to an external servlet This won't work as it attempts to place the fo:page-number as an attribute of fo:external-graphic. This is the problem I have and as far as I can tell there is no way of solving it. It seems like xsl:fo just doesn't have the power to do m

Re: I get a mysterious NoClassDefFoundError

2002-05-01 Thread L'eau
Hi Jeff, Now I'm confused. I downloaded FOP from http://xml.apache.org/dist/fop/ , just this morning. It didn't include a jimi.jar and it didn't include any .bat files either. I included ever .jar file that was in my lib directory, in the classpath. Is there another place that I can download fr

Memory consumption with large images in FOP

2002-05-01 Thread Jeff_Mitchell
I just started a project using FOP for the dynamic creation of Marketing Materials in PDF form, and with all of the talk about memory consumption, I began wondering if anyone has had any experience with large images in FOP, or knows how image processing in FOP works? The marketing materials I'm cr

RE: Why is FO(P) a superior model than what most proprietary too ls propose

2002-05-01 Thread Patrick Lanphier
We are considering this strongly. I just had a conversation with a couple of members of management here which were very positive. Patrick Lanphier The Artemis Group http://www.artemisgroup.com phone: 814-235-0444 fax: 800-582-9710 On Tue, 30 Apr 2002, Kilmer, Erich wrote: > I would also be in

RE: Passing page numbers to an external servlet

2002-05-01 Thread Chris . Brown
Title: RE: Passing page numbers to an external servlet * This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. *

Passing page numbers to an external servlet

2002-05-01 Thread Kevin Pearcey
Hi, Can any one there help me the XSL for the following problem. I'm calling an external servlet to generate some graphics for a page footer, to improve things I want to supply the page number to the servlet but can't figure out if its possible to include it in the src="" attribute. I kind of wan

Re: I get a mysterious NoClassDefFoundError

2002-05-01 Thread Carlos
Look at the fop.sh script and see what is it that you're missing. I normally run fop like this: /usr/local/java/fop/fop.sh -xml why-naginata.xml -xsl xsl/fo/cal.xsl -pdf naginata.pdf Note that you can specify additional classpath on the fop.sh script. See if the fop.sh script works and let us kn

Re: I get a mysterious NoClassDefFoundError

2002-05-01 Thread Jeff_Mitchell
Devon- I think you're missing a jar in there. My call to FOP includes the following -cp parameter: -cp build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar;lib\avalon-framework-4.0.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar I didn't see the path to the jimi-1.0,jar in your classpa

RE: FOP memory consumption

2002-05-01 Thread John Bourke
Hi Bernd, You seem to be in much the same predicament as I am. I have large tables on recurring pages and like you I'm running out of memory. Does anybody no of a way to implement tables without eating memory and what exactly do forward references mean? Is that like using the xpath following comman

I get a mysterious NoClassDefFoundError

2002-05-01 Thread L'eau
Hi, I'm new to the list. I don't have any clue why this is happening to me. I've spent the past 4 hours trying to figure this out. I stumbled onto a similar error message in the archives here, and it helped me realize I needed to add the classpaths, but I'm still having the error. I'm using the l

FOP memory consumption

2002-05-01 Thread Bernd Brandstetter
Hi, I'm new to FOP and followed the discussions on this list for the last few days since I'm currently trying to use XSL:FO to produce the PDF documentation for a project database which is in XML format. While I'm very satisfied with the resulting output, I have strong doubts about the usabili

Re: Why is FO(P) a superior model than what most proprietary tool s propose

2002-05-01 Thread Richard C . Dunn
On Tuesday 30 April 2002 09:08 pm, you wrote: > I would agree with the last statement about a high performance commercial > all Java FO->PDF. However, there is really no need. Would anybody be > interested in working on FOP with payment leaving the licensing as is? > This way everybody can benefi

Trying to resolve memory exception through correct use of page se quencing

2002-05-01 Thread John Bourke
Hi, I'm having a problem rendering a large file (500 plus pages) using FOP. Fop eventually causes my machine to run out of memory even though I'm allocating it 300mb. I think the problem is caused by me having a page sequence called detail page, into which my 500 pages worth of data is placed with

Adding Fonts - Must I use absolute paths in fopconfig.xml?

2002-05-01 Thread Scott Moore
I've got my own servlet with FOP which reads a fopconfig.xml file that I deploy with the servlet. So far, so good. However, when I added fonts to fopconfig.xml, I had a bunch of problems until I hardcoded the path to the font under my servlet. Obviously, this is a problem because my servlet (sup

Re: Why is FO(P) a superior model than what most proprietary tool s propose

2002-05-01 Thread Scott Moore
I just keep track of it myself. Declare a member variable of type int and increment it everytime a request comes in and decrement it after the request is serviced (in a finally{} block, watch out for exceptions messing up your counter). Make sure you synchronize access to it and it should work ju

Re: fonts

2002-05-01 Thread Jeff_Mitchell
Matthew- I just finished doing this on a Windows box also, and I believe your problem is that the JVM can't find the files for the TTFReader class. You can include class paths by using the -cp command line option. Take a look at the actual fop.bat that came in the distribution, and make sure yo

Re: Why is FO(P) a superior model than what most proprietary tool s propose

2002-05-01 Thread Ryan.Asleson
>>The memory requirements depend on the complexity of the >>layout (tables spanning multiple pages are bad), how big >>included graphics are (they are all held in memory), and, >>often the worst of all, whether you are using forward >>references, like the popular "page x of y" (which forces >>all

RE: FOP: Page Orientation in Postscript

2002-05-01 Thread TSchutzerWeissmann
That's great, much much easier, thanks Jeremias! Regards, Tom Weissmann -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 01 May 2002 13:22 To: [EMAIL PROTECTED] Subject: Re: FOP: Page Orientation in Postscript You can have that a lot simpler! Edit the config.xml i

Re: FOP: Page Orientation in Postscript

2002-05-01 Thread Jeremias Maerki
You can have that a lot simpler! Edit the config.xml in the conf directory and remove all entries in für the stream-filter-list. You then have to rebuild FOP. That way, you get an uncompressed PDF directly. > It looks like it could be a bit more complicated than some missing commands. > The reaso

RE: FOP: Page Orientation in Postscript

2002-05-01 Thread TSchutzerWeissmann
Hello Jeremias, It looks like it could be a bit more complicated than some missing commands. The reason I was doing this was that I wanted uncompressed PDF as a template: FOP's great but a bit slow for 200-odd near-identical documents. In the end what I did was make the PDF in FOP and use Ghostscr

Re: fonts

2002-05-01 Thread Jeremias Maerki
This means the Java VM can't load the class in the error message. The clue is to supply the necessary jar files in the classpath. This involves the -cp parameter. I suggest that if you plan to use Java in the future that you at least read about some basics on launching the Java VM. The documentatio

Re: FOP: Page Orientation in Postscript

2002-05-01 Thread Jeremias Maerki
I've had similar experiences within GhostView, but I haven't found out yet what's missing. Maybe it's the missing BoundingBox DSC comment, although adding that manually didn't help. It's likely that a setpagedevice command might solve that, but I haven't investigated yet. Please tell me if you find

Anything for a non-programmer to do?

2002-05-01 Thread Matthew Huggett
(B (B (BHi: (B  (BIs there anything that a non-programmer (Bcan do to help the FOP project? I'm a technical writer.  Is there anything (Binvolving documentation that needs to be done? (B  (BMatthew

FOP: Page Orientation in Postscript

2002-05-01 Thread TSchutzerWeissmann
Dear FOP-users, I was just mucking around with Ghostscript to see what it could do, and used it to turn a FOP-produced postscript file into PDF. It came out in portrait when it should have been landscape, and I can't work out how to stop this happening. If I make the PDF using FOP it comes out as

[xsl] XSLTInputHandler error

2002-05-01 Thread pandianoliver
Hi Gurus, I have been struggling with the convertion to PDF using FOP. It was working well for the past few weeks and all of a sudden I am getting this exception error and I have tried everything I could think of. Now, I am seeking for your help The exception error occurs on the call to

RE: Why is FO(P) a superior model than what most proprietary tools propose

2002-05-01 Thread Keen Tim
That's a big yes from me as well. Cheers Tim > -Original Message- > From: Peter B. West [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 1 May 2002 15:50 > To: [EMAIL PROTECTED] > Subject: Re: Why is FO(P) a superior model than what most proprietary > tools propose > > > Patrick, > > If I

Re: Why is FO(P) a superior model than what most proprietary tool s propose

2002-05-01 Thread Peter B. West
Patrick, If I read you right, I think the answer to that would be a resounding cry of "Yes" all round. You will certainly get one from me. What did you have in mind? Peter Patrick Lanphier wrote: I would agree with the last statement about a high performance commercial all Java FO->PDF. However

RE: Why is FO(P) a superior model than what most proprietary tool s propose

2002-05-01 Thread Robert C. Leif
From: Bob Leif To: Matt Savino et al. I believe that, "good Ada app-server", is covered by the following abbreviated version of a posting from Pascal Obry, which I received from Team-Ada. Since JGNAT is an Ada compiler that produces J codes, you may not need a translator. Parenthetically, I have n

fonts

2002-05-01 Thread Matthew Huggett
(B (B (BHi: (B  (BI'm trying to create a few font metrics (Bfiles. (B  (BHere's the command I'm using: (B  (B    C:\Program Files\FOP\fop-0.20.3>java (Borg.apache.fop.fonts.apps.TTFReader -ttcname "HGRM" C:\Windows\Fonts\HGRM.TTC (Bhgrm.xml (B  (BAnd this is the error messa

RE: Why is FO(P) a superior model than what most proprietary tool s propose

2002-05-01 Thread Patrick Lanphier
I would agree with the last statement about a high performance commercial all Java FO->PDF. However, there is really no need. Would anybody be interested in working on FOP with payment leaving the licensing as is? This way everybody can benefit. Anybody with experience interested? Patrick Lanph

RE: Why is FO(P) a superior model than what most proprietary tool s propose

2002-05-01 Thread Carter, Will
how do you get the server to queue other requests? will -Original Message- From: Scott Moore [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 4:29 PM To: '[EMAIL PROTECTED]' Subject: RE: Why is FO(P) a superior model than what most proprietary tool s propose The short answer is y