I use tomcat 4.0 Fop is 0.20.3 java is 1.3.1 My OS is linux (2 intel 1ghz) I execute this script :
i=2 while [ $i -ne 0 ] do wget "http://localhost:8080/fop/fop?xml=$HOME/elixirTOfop/test/rien.xml&xsl=$HOME /elixirTOfop/test/rien.xsl" -O multi/servletfop$i.pdf & i=$(expr $i - 1) done //When i=2, the result is : Connexion vers localhost:8080...Connect�! 200 OK Longueur: 61,003 [application/pdf] 0K .......... .......... .......... .......... .......... 83% 0:00 51.2M 50K ......... 100% 16:32:58 (58.18 MB/s) - `multi/servletfop2.pdf' sauvegard� [61003/61003] 200 OK Longueur: 61,003 [application/pdf] 0K .......... .......... .......... .......... .......... 83% 0:00 51.2M 50K ......... 100% 16:32:58 (58.18 MB/s) - `multi/servletfop1.pdf' sauvegard� [61003/61003] The size of pdf is 61003. This size is good, and i cab open PDFs //But i=3 the result is 200 OK Longueur: 50,204 [application/pdf] 0K ...200 OK Longueur: 50,204 [application/pdf] 0K .......... .......... .......... .......... ......... 100% 0:00 50.2M 16:34:45 (47.88 MB/s) - `multi/servletfop3.pdf' sauvegard� [50204/50204] ....... .200 OK Longueur: 50,204 [application/pdf] ........ 0K .... .......... ............ ...... ............ ............. ... .....100% 0:00 10.0M ..... ...16:34:45 (9.58 MB/s) - `multi/servletfop1.pdf' sauvegard� [50204/50204] ...... 100% 0:00 50.2M 16:34:45 (23.94 MB/s) - `multi/servletfop2.pdf' sauvegard� [50204/50204] //The size is different and I can't open PDFs (the bad size is not always 50204) Where is the problem ? The size of xml is 50.0Ko (may be is too big) The size of xsl is 14.4Ko thanks Pierre. -----Message d'origine----- De : John Austin [mailto:[EMAIL PROTECTED] Envoy� : lundi 27 mai 2002 02:59 � : [EMAIL PROTECTED] Objet : Re: servlet FOP multi-thread On Wednesday 22 May 2002 12:36, you wrote: > >And how do you know the document size? Do you save it locally? > > Yes I save it locally (I use wget -O) > > >Well, you can try to save pdfs on the server to make sure they are > > generated > > >ok. What's your servlet engine? > > servlet engine : I use tomcat Pierre, please try and give him a little more information in your messages. Tell him which versions of FOP, Tomcat, Java, which OS and the like. Try to isolate the smallest possible example that produces the problem and post that. Thansk and good luck
