RE: stress test FOP in a servlet?
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 servlet? 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: Why is FO(P) a superior model than what most proprietary tool s propose
Are there any companies out there developing products base on FOP? Just curious. -Original Message- From: Patrick Lanphier [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 4:34 PM To: [EMAIL PROTECTED] Subject: Re: Why is FO(P) a superior model than what most proprietary tools propose We are considering using FOP in place of JReports or any other reporting tools. More needs to be written on how to use Cocoon and FOP as a true report writer. Any help would be great. I'm currently working with Corda in hopes that they will change the SVG format to inlining so that it can be easy used with FOP. If any of you would like to talk to them about this that would be great. Patrick Lanphier The Artemis Group http://www.artemisgroup.com phone: 814-235-0444 fax: 800-582-9710 On Tue, 30 Apr 2002, J.Pietschmann wrote: Patrick Andries wrote: Alex McLintock wrote: I don't know about an industry analysts study of XSL:FO but we ought to be able to come up with case studies for people who have successfully used FOP. I think this is crucial. I found nothing of the sort. There was recently an announcement on the cocoon list that a major NASA site (KSC, i believe) is being redesigned using Cocoon 2 (includes FOP) and will going online soon. Perhaps some details regarding FOP usage there could be asked for. Apart from this, for my job I found XSLFO superior to the various proprietary reporting tools (rather expensive stuff). It's just me, though. J.Pietschmann
RE: fop out of memory
In your classpath create system variable: CATALINA_OPTS Value: -Xms32m -Xmx128m(Xms=min Xmx=max heap size) -Original Message- From: Pierre St-Vincent [mailto:[EMAIL PROTECTED] Sent: Monday, March 18, 2002 1:09 PM To: [EMAIL PROTECTED] Subject: fop out of memory Hi everybody ! We are currently using fop to process quite large documents (about 860k) and for the largest of them we get an out of memory error, generating the following message: --- java.lang.OutOfMemoryError no stack trace available --- Does anybody know how to increase the amount of memory allocated to fop ? Thanks for your help, Pierre St-Vincent.
sent request to servlet from VB
Hi all, Does anyone know how to call a servlet from VB code? I want to sent the request from IIS to Tomcat without using isapi_redirect.dll. Is possible to do this? I look forward to your suggestions. thanks, David
FOPException
Hi All, I am getting a FOPException error when I sent large number of requests to FOP servlet. I checked the FOPException.java, and can't figure out what is causing this problem. What confuses me is of the 100 pdf requests sent, majority of them came back successful, only a few gave me FOPException error. Would anyone please explain to me why this is happening? Thanks in advance. David Error message: org.apache.fop.apps.FOPException at org.apache.fop.apps.Driver.render(Driver.java:429) at org.apache.fop.apps.Driver.run(Driver.java:508) at org.apache.fop.tools.servlet.FopServlet.renderFO(FopServlet.java:178) at org.apache.fop.tools.servlet.FopServlet.renderXml_Xsl(FopServlet.java :203) at org.apache.fop.tools.servlet.FopServlet.doGet(FopServlet.java:150) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContext.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source) at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source) at java.lang.Thread.run(Thread.java:484) - java.lang.NullPointerException at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094) at org.apache.fop.apps.Driver.render(Driver.java:424) at org.apache.fop.apps.Driver.run(Driver.java:508) at org.apache.fop.tools.servlet.FopServlet.renderFO(FopServlet.java:178) at org.apache.fop.tools.servlet.FopServlet.renderXml_Xsl(FopServlet.java:203) at org.apache.fop.tools.servlet.FopServlet.doGet(FopServlet.java:150) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContext.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
question regarding FOP/Cocoon/Tomcat
Hi there, I have a question regarding running FOP within Cocoon. I have setup Cocoon 2.0.1 within Jakarta Tomcat 4.0.1. The sample pages (hello.pdf) came out fine, but i don't understand how cocoon was able to call FOP and grab the xml and xsl files. Would anybody please explain to me how can I point cocoon to xml and xsl and generate pdf? or at least point me to the right document. Thank you in advance. David
RE: FOPException
Thanks Joerg for your sugguestions. I will check out Cocoon. -Original Message- From: Joerg Pietschmann [mailto:[EMAIL PROTECTED] Sent: Friday, February 08, 2002 3:50 AM To: FOP User Subject: RE: FOPException Xie, David (IPCG-NJ) [EMAIL PROTECTED] wrote: I am running FOP 0.20.1. The strange thing is when I ran one or two FOP servlets embed from my browser everything works fine. However, when I send many requests, sometime I get errors such as FOPException, connection reset by peer:socket write error and Connection aborted by peer:socket write error. This is most likely caused by browsers timing out, in rare circumstances by network congestion. It could help to run the server on a bigger machine. Unfortunately, FOP is not thread safe and therefore can't easily take advantage of MP machines. This really worries me, because eventually this application would take more than 20,000 hits per week. If this is distributed over 5 days nine-to-five, it's roughly one hit every 6 seconds. If your servlet takes more than that on average, you'll have to investigate in caching and/or setting up multiple server processes with load balancing. You might want to evaluate Cocoon for its caching abilities (FOP is already build in there). Regards J.Pietschmann
FOPException
Hi all, Has anyone ever experience the following FOP exception error? Do you know what causes it? I appreciate your input. thanks David org.apache.fop.apps.FOPException at org.apache.fop.apps.Driver.render(Driver.java:429) at org.apache.fop.apps.Driver.run(Driver.java:508) at org.apache.fop.tools.servlet.FopPdf.renderFO(FopPdf.java:206) at org.apache.fop.tools.servlet.FopPdf.renderXml_Xsl(FopPdf.java:231) at org.apache.fop.tools.servlet.FopPdf.doGet(FopPdf.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unkn Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Sour at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContext.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
FOP Weakness
Hi All, I have three questions regarding FOP. First of all, does anyone know what FOP stands for? My guess File object program. Second question is regarding the FOP performance. I notice that every time FOP runs on Jakarta Tomcat 4.0, the cpu usage is almost 100%. This is not good if we are running other applications on the same server. Anyone experiencing such problem? Do you have a solution? Does increasing heap size make any difference? My final question is regarding FOP scability. I have been doing numerous tests on FOP using Loadrunner, a simulation application that allows us to specify certain number of users and number of requests. When making large number of requests to jakarta Tomcat and FOP to generate pdfs, I kept on getting socket write error (java.net.socketException Error: connection reset by peer: socket write error). Anyone know what cause this error? On the web, it said this error is caused by browser and it's not big deal. Thanks for you help, I look forward to your expert opinion. Dave
FOP embed
Hi all, I am trying to generate PDF straight from xml and xsl using embedding FOP. However, I am experiencing the following error? Does anyone know what cause the unknown formatting object ^html error? I appreciate your help. Error message: building formatting object tree setting up fonts WARNING: Unknown formatting object ^html org.apache.fop.apps.FOPException at org.apache.fop.apps.Driver.render(Driver.java:429) at org.apache.fop.apps.Driver.run(Driver.java:508) at org.apache.fop.tools.servlet.FopPdf.renderFO(FopPdf.java:199) at org.apache.fop.tools.servlet.FopPdf.renderXml_Xsl(FopPdf.java:224) at org.apache.fop.tools.servlet.FopPdf.doGet(FopPdf.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.servlets.InvokerServlet.serveRequest(Unknown Sour ce) at org.apache.catalina.servlets.InvokerServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unkn own Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Sour ce)
Socket write error
Hi all, I am trying to generate PDF from xml-xsl using Fop0.20.1. So far, the program works fine with few users requests. However, when I test the application with more than 10 users, many jobs fail. The error message I kept on getting is java.net.socketException Error: connection reset by peer: socket write error. Have you ever experience such a problem? I have a feeling it might be a setting in jakarta-tomcat where you can limit the number of socket connections. Do you know how to increase the socket connections? Thank you in advance for you help. David