RE: Improving FOP Performance? -
If the requirements include: speed, efficiency, portability, and high reliability for multi-threading; then Ada with the Ravenscar profile for rate-monotonic scheduling is the best solution. Please visit http://www.adaic.org/ and http://www.stsc.hill.af.mil/crosstalk/2003/11/0311dobbing.html. Aonix has also done some work on real-time Java. www.aonix.com Bob Leif _ From: Riz Virk [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 9:17 AM To: [EMAIL PROTECTED] Subject: RE: Improving FOP Performance? - Yes a third also ... Also, you might want to considering using a servlet engine like tomcat to take care of multi-threading issues rather than trying to write your own thread code (unless of course you like writing multi-threaded code ...:) . You would then modify your existing code to invoke the servlet rather than your shell script ... that way you won't have to worry about restarting the jvm as tomcat will have it running constantly ... the rest of your code (which limits the # of simultaneous transactions to three ) can probably stay the same .. Thanks, -Riz Rizwan Virk CTO CambridgeDocs [EMAIL PROTECTED] personal: [EMAIL PROTECTED] _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Fri 2/11/2005 11:30 AM To: [EMAIL PROTECTED] Subject: RE: Improving FOP Performance? - I would second Dominik's idead to invoke FOP programatically. Manoj -Jesiolowski, Dominik [EMAIL PROTECTED] wrote: - To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] From: Jesiolowski, Dominik [EMAIL PROTECTED] Date: 02/11/2005 07:13AM Subject: RE: [***SPAM***] - Improving FOP Performance? - Bayesian Filter d etected spam Hello, We are using FOP to convert to generate PDF Invoices for our Customers. We need to generate roughly around 25,000 Invoices Per Month and the Number would increase each Month. We generate PDF Docs from XML Input Files. We had Trial runs to check for Performance and Memory usage. Currently, We are just invoking FOP command directly from a Shell Script which would call the FOP Command repeatedly but making sure that not more than 2 (or sometimes 3) FOP Processes are running at any instant. So you are starting, and stopping JVM, each time you run fop. Consider writing java app that invokes fop processing in a loop. Regards Dominik - 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] attachment: winmail.dat- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
CSS to XSL FO?
Is there any tool to convert a cascading style sheet (CSS) to XSL FO? Thank you. Bob Leif - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FOP.NET
Ada would have let you use the same code for all of your implementations. A version of the GNU (GNAT) Ada compiler generates ECMA, which is used in .NET. Parenthetically, the ECMA compiler was based on the GNAT J code generator. Bob Leif -Original Message- From: Gunnar Liljas [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 8:18 AM To: [EMAIL PROTECTED] Subject: Re: FOP.NET We have all been wondering why .NET isn't implemented in Open Source components written in Java. You're ironic, I know, but .NET-usage of FOP would still be quite usable. To get it in C# one would have to rewrite the entire thing (although help is available in the form om Java Language Conversion Assistant in Visual Studio). A C# FOP would preferrably use the pull architecture of the XMLReader in .NET, instead of the SAX Parser. NFOP is in J#, and while it may be worth using in a .NET environment, J# is still a strange animal. /G - 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]
RE: Memory consumption
This memory link probably would not have occurred if you had used Ada. Many of the items that Java internally represents as pointers can be coded as Ada generics (templates), which incidentally can be combined with tagged types (classes)to provide a very flexible form of inheritance. Java is still not portable, since it requires its own environment and is not an ISO standard. Ada is an ISO standard. Even C# would have been a better choice; at least it is an ECMA standard and has a decent execution speed. Bob Leif Robert C. Leif, Ph.D. Email [EMAIL PROTECTED] -Original Message- From: Ben Galbraith [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 7:28 AM To: [EMAIL PROTECTED] Subject: Re: Memory consumption Folks, If you haven't figured it out yet, let me inform you: FOP suffers from large memory leaks. A memory leak in Java is nothing mysterious; it occurs because a program never dereferences objects, which prevents the Java garbage collector thread from reclaiming them. Thus, no matter how many times you try to tell the GC thread to collect (with System.gc() and other nonsense) the memory will never be reclaimed. There are only two solutions: 1. Split up FOP generation into discreet jobs, and spawn a new JVM to generate each job. You can get fancy and create a system that uses a spawned JVM until it runs out of memory -- use the Runtime objects memory methods to check. 2. Fix FOP's memory leak problem. I've had this on my to-do list to patch in maintenance for some time, but frankly, for me it was much cheaper to distribute FOP jobs across our network in parallel jobs running on multiple JVMs. Parallel computing, baby. Ben Ganesh wrote: If you can afford the gc time consumption then there is a sure way of garbage collection. This method will ensure that garbage is collected for sure...Use the Sizeof class as given in the java world article below. This is a sure way of garbage collection, but then it slows down the system ! http://www.javaworld.com/javaworld/javatips/jw-javatip130.html -Original Message- From: Dennis Myrén [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 7:12 PM To: [EMAIL PROTECTED] Subject: RE: Memory consumption I am not an expert in java memory handling either, But I suggest you release all handles after each run in the loop, And then perform a garbage collect. Regards, dennis.myren -Original Message- From: Timo Haberkern [mailto:[EMAIL PROTECTED] Sent: 16. september 2003 15:38 To: [EMAIL PROTECTED] snip/ I'm not really the expert on JVM Memory Management, but AFAICT these declarations belong outside the 'for'-loop. (Not sure whether this is causing memory problems, but it just seems ... more elegant. If they really do not depend on the variables changing in the loop, that is... If behaviour would be what I'm guessing, then these would consume memory - the total of which would only be released on completion of the loop...) snip/ No :-( That doesn't help anything... Any other ideas? driver = null; You won't be needing this. Just resetting the Driver should be ok. mhmm, that was i try! I thought that it maybe helps a little bit but it doesn't. But it remains anyhow... I also notice you have read this (?) http://xml.apache.org/fop/running.html#memory Have you tried the multiple page-sequences tip? Every PDF File is only 2 pages long. And the memory is consumed for PDFs with big images... My problem is that i can't get down the memory after rendering one PDF and before the next rendering... regds Timo - 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] **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. *** - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands
RE: Memory consumption
Most memory leaks are the result of using pointers. If a language provides a construct that can replace the use of pointers, then this problem can be minimized. Java has significant overhead because it checks its dispatching at run-time rather than at compile time. Bob Leif Robert C. Leif, Ph.D. Email [EMAIL PROTECTED] -Original Message- From: Ben Galbraith [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 8:22 AM To: [EMAIL PROTECTED] Subject: Re: Memory consumption Robert C. Leif wrote: This memory link probably would not have occurred if you had used Ada. Many If *I* had used Ada? :-) I've contributed 0.1% of the FOP code (a measly patch for CMYK images); don't look @ me! Let's not get into debates about superior languages; I think time has shown the topic to be a morass of flame wars and pointless arguments. As far as memory leaks go, the notion of a program continuing to reference memory unnecessarily is fairly language agnostic. Ben of the items that Java internally represents as pointers can be coded as Ada generics (templates), which incidentally can be combined with tagged types (classes)to provide a very flexible form of inheritance. Java is still not portable, since it requires its own environment and is not an ISO standard. Ada is an ISO standard. Even C# would have been a better choice; at least it is an ECMA standard and has a decent execution speed. Bob Leif Robert C. Leif, Ph.D. Email [EMAIL PROTECTED] -Original Message- From: Ben Galbraith [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 7:28 AM To: [EMAIL PROTECTED] Subject: Re: Memory consumption Folks, If you haven't figured it out yet, let me inform you: FOP suffers from large memory leaks. A memory leak in Java is nothing mysterious; it occurs because a program never dereferences objects, which prevents the Java garbage collector thread from reclaiming them. Thus, no matter how many times you try to tell the GC thread to collect (with System.gc() and other nonsense) the memory will never be reclaimed. There are only two solutions: 1. Split up FOP generation into discreet jobs, and spawn a new JVM to generate each job. You can get fancy and create a system that uses a spawned JVM until it runs out of memory -- use the Runtime objects memory methods to check. 2. Fix FOP's memory leak problem. I've had this on my to-do list to patch in maintenance for some time, but frankly, for me it was much cheaper to distribute FOP jobs across our network in parallel jobs running on multiple JVMs. Parallel computing, baby. Ben Ganesh wrote: If you can afford the gc time consumption then there is a sure way of garbage collection. This method will ensure that garbage is collected for sure...Use the Sizeof class as given in the java world article below. This is a sure way of garbage collection, but then it slows down the system ! http://www.javaworld.com/javaworld/javatips/jw-javatip130.html -Original Message- From: Dennis Myrén [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 7:12 PM To: [EMAIL PROTECTED] Subject: RE: Memory consumption I am not an expert in java memory handling either, But I suggest you release all handles after each run in the loop, And then perform a garbage collect. Regards, dennis.myren -Original Message- From: Timo Haberkern [mailto:[EMAIL PROTECTED] Sent: 16. september 2003 15:38 To: [EMAIL PROTECTED] snip/ I'm not really the expert on JVM Memory Management, but AFAICT these declarations belong outside the 'for'-loop. (Not sure whether this is causing memory problems, but it just seems ... more elegant. If they really do not depend on the variables changing in the loop, that is... If behaviour would be what I'm guessing, then these would consume memory - the total of which would only be released on completion of the loop...) snip/ No :-( That doesn't help anything... Any other ideas? driver = null; You won't be needing this. Just resetting the Driver should be ok. mhmm, that was i try! I thought that it maybe helps a little bit but it doesn't. But it remains anyhow... I also notice you have read this (?) http://xml.apache.org/fop/running.html#memory Have you tried the multiple page-sequences tip? Every PDF File is only 2 pages long. And the memory is consumed for PDFs with big images... My problem is that i can't get down the memory after rendering one PDF and before the next rendering... regds Timo - 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] **Disclaimer Information
RE: Tools to convert a word document to XSL file?
Word 2003 can be run in XML format. The top level schema appears to be well designed. Unfortunately, the Microsoft naming system tends to be overly cryptic. The sources for the lower level schemas do not appear to be available. This lack of availability has stopped me from validating the top level schema with XMLSpy. This capacity for validation would greatly facilitate extension of Word's capabilities. Although XSL is available, XSL-FO does not appear to be available. It is conceivable that Microsoft's nonstandard approach to styling could be translated and both the schemas and XML documents reused to create W3C standard documents with XSL-FO based stylesheets. Microsoft unfortunately is creating their forms with a different technology than Xforms. Unfortunately, it does not appear that even one of Microsoft's major competitors has had the necessary combination to technological and business sense to build a W3C standard document processor. Bob Leif Robert C. Leif, Ph.D. Email [EMAIL PROTECTED] -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Saturday, September 13, 2003 3:35 AM To: [EMAIL PROTECTED] Subject: Re: Tools to convert a word document to XSL file? I want to use Word is wonderfully future-tense (I hope)--learn Docbook instead and create your sources is XML. If you're going to use XSLT and XSL FO, it's always best to start with XML. If you need persuasion on this point, check the cocoon.apache.org site for some very well-run sample document websites that keep their source text in XML and output to multiple output types. (They may also have other XML standards to recommend besides Docbook, I don't know.) Glen --- Zhang, Li [EMAIL PROTECTED] wrote: Does anyone know any tools to convert a word document to an XSL file? I want to use Word to generate the template, and then convert it to XSL file so I can use it in my struts action class to output PDFs. Thank you and have a nice weekend. Li __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com - 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]
RE: FOP performance - frustrating.. help!!
From: Bob Leif To: Lee Insoo A good deal of your problems comes from the selection of Java as the programming language. Java is a tremendous marketing success. Unfortunately, Java was obsolete the day it was created. Although Java is owned by SUN, it has been the second finest gift to Microsoft. It has their competitors using a flawed tool. The finest gift was when IBM told its customers that OS/2 would run best on Microchannel hardware. The best language for web tools is Ada, which is ISO/IEC standard 8652:1995(E). It is what Java claimed to be, portable. Ada includes generics (templates) which work; enumerated types; and, whenever possible, dispatches at compile time. Ada is like XML in that it has range checking and begin and end structures. There is an excellent GNU Ada compiler (GNAT) available at ftp://ftp.cs.nyu.edu/pub/gnat/ On a 1.4 gigaHz Pentium, the time for a GNAT compile and link is minimal. The error-messages are excellent. http://www.adaic.org/ is a source of useful information on Ada. -Original Message- From: Lee, Insoo [mailto:[EMAIL PROTECTED] Sent: Friday, December 27, 2002 12:30 PM To: '[EMAIL PROTECTED]' Subject: FOP performance - frustrating.. help!! Hello, I'm getting a little frustrated with FOP performance. We are generating an XML on the fly that contains a few tables with about 1,000 rows in total. We passdown this XML along with XSL to the transformer to generate PDF from our servlet. (transformer.transform( inXML, new SAXResult( driver.getContentHandler())); ) It works well, but it works slow. It takes about 5 minutes for 1,000 rows and this is only for transformer translation (excluing any data query time or jdom XML building time) I read through past emails/FAQs and I think I tried them all and it still does not improve the performance... Please help!! Here is what I have done. 1) run with more memory - yes I tried with 512MB (I don't get OutOfMemory error) 2) run in separate VM - only helps other requests coming to the site 3) try with the latest FOP - I did - mine is fop-0.20.4 4) try with the latest xalan.jar and xerces.jar - tried them, but no improvement 5) cache XSL style sheet - didn't really help... 6) use multiple page-sequence - got it to work and I don't get OutOfMemeory exception, but still performance didn't get better. (even if I break them into multiple page-sequences, I will still have to read through one row at a time, right? - that's why performance is not really improving..) 7) no forward-reference - I don't have any page numbers 8) try with new JDK - trying with JDK 1.3 9) seralize servlet request - haven't done this, but I doubt this will have any performance impact (I'm testing with one request for now) 10) no images - I don't have any... 11) Don't make the XML tree too deep - mine is very flat with 2 levels deep. I have 1,000 rows and each row looks something like following in XML ROW TA_FUND_CODE539/TA_FUND_CODE LONG_NAMESome Fund/LONG_NAME DAILY_FACTOR0.376/DAILY_FACTOR SHORT_RATE_365NA/SHORT_RATE_365 LONG_RATE_365NA/LONG_RATE_365 RATE_360NA/RATE_360 CURR_7_DAY_YIELDNA/CURR_7_DAY_YIELD SEVEN_DAY_EFF_YIELD1.4/SEVEN_DAY_EFF_YIELD AVG_30_DAY_RATE1.58000/AVG_30_DAY_RATE PRICE1./PRICE RATE_DATE09 Dec 2002/RATE_DATE CURRENCYUSD/CURRENCY STATUSI/STATUS /ROW Here is the question: Is this normal to take this long - 5 minutes - to produce a few tables with combined total 1,000 rows (about 30 pages)? Any other better way? Thank you for your suggestions. Regards, IL - 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]
RE: Why is FO(P) a superior model than what most proprietary tool s propose
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 nothing against J codes. I believe that the translators from Java to Ada do exist and suggest that you post to Team-Ada to obtain more information. However if I remember correctly, direct translation from Java to Ada produces code that has a large number of pointers, which are not normally present in Ada code. Since Quest Diagnostics produces medical software, you will find the high level of safety associated with a validated Ada compiler to be suitable for a regulated industry. I will gladly send you some of my publications that are in PDF form. --- Pascal Obry [EMAIL PROTECTED]; Team Ada: Ada Advocacy Issues (83 95) [EMAIL PROTECTED] A W S - Ada Web Server 1.2 release / SOAP 0.9 Authors: Dmitriy Anisimkov Pascal Obry April 29th, 2002, Dmitriy Anisimkov and I are very happy to announce the availability of the AWS 1.2 release. The API could change slightly at this stage but should be fairly stable now. AWS stand for Ada Web Server. It is not a real Web Server like Apache. It is a small yet powerful HTTP component to embedded in any applications. It means that you can communicate with your application using a standard Web browser and this without the need for a Web Server. AWS is fully developed in Ada with GNAT. AWS support SOAP, Server Push, HTTPS/SSL, client HTTP, hotplug modules... We have worked very hard to make this release as stable as possible. Note that Hotplug modules are very nice but have a potentially security hole as it is implemented today. A new secure implementation will be proposed in a future version. The SOAP implementation has been validated on http://validator.soapware.org/. Pointers: - AWS User's Mailing List: http://lists.act-europe.fr/mailman/listinfo/aws AWS Home Page (sources and documentation): http://libre.act-europe.fr/ Templates_Parser sources: Templates_Parser module (sources and documentation) is provided with AWS distribution. Latest version of this module and the documentation can be found at: http://perso.wanadoo.fr/pascal.obry/contrib.html http://perso.wanadoo.fr/pascal.obry/templates_parser.html Templates_Parser is a very useful add-on for AWS. You should have a look at it if you plan to develop a Web service. Templates_Parser permits to completely separate the HTML design from the Ada code. Some other Templates engine are WebMacro, FreeMarker, PHP, ASP, JSP and Velocity. All of them are based on explicit iterators (#foreach with a variable) where Templates_Parser is based on implicit ones (you use a more intuitive table iterator). Be sure to check the documentation. Only the Velocity project has the goal to support complete separation of HTML design and code. GNU/Ada - GNAT You need at least version 3.14 to use AWS 1.2. ftp://cs.nyu.edu/pub/gnat/ XMLada (optional): You need this library only if you want to use AWS SOAP feature. You need at least XMLada 0.7.1. http://libre.act-europe.fr/ Socket binding: Since AWS 1.2 you need at least version 1.0 of the Socket binding. for Win32: http://perso.wanadoo.fr/pascal.obry/contrib.html http://vagul.tripod.com/adasockets.tgz for UNIX: http://www.rfc1149.net/devel/adasockets POSIX Binding (optional) :..(Truncated) --- -Original Message- From: Savino, Matt C [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 2:39 PM To: '[EMAIL PROTECTED]' Subject: RE: Why is FO(P) a superior model than what most proprietary tool s propose From: Matt Savino To: Bob Leif Sounds great. Tell me where I can get a good Ada app-server and a Java-Ada translator for all the existing code--and I'll run it by the corporate brass. Matt Savino -Original Message- From: Robert C. Leif [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 2:35 PM To: [EMAIL PROTECTED] Subject: RE: Why is FO(P) a superior model than what most proprietary tool s propose From: Bob Leif To: Matt Savino It sounds like you need the performance of an efficient compiled language that performs wherever possible its inheritance at compile rather than run time. Ada is an ISO standard which is available as a GNU compiler, GNAT. It should be noted that Java is a proprietary language owned by SUN. -Original Message- From: Savino, Matt C [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 2:01 PM To: '[EMAIL PROTECTED]' Subject: RE: Why is FO(P) a superior model than what most proprietary tool
RE: Why is FO(P) a superior model than what most proprietary tool s propose
From: Bob Leif To: Matt Savino It sounds like you need the performance of an efficient compiled language that performs wherever possible its inheritance at compile rather than run time. Ada is an ISO standard which is available as a GNU compiler, GNAT. It should be noted that Java is a proprietary language owned by SUN. -Original Message- From: Savino, Matt C [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 2:01 PM To: '[EMAIL PROTECTED]' Subject: RE: Why is FO(P) a superior model than what most proprietary tool s propose We're using FOP in a production environment to render some management reports and a very complicated lab report. We've had to limit the management reports to about 2000 rows (~50 page PDF) because of FOP's memory issues w/large PDFs. Also I worry about serious slowdown if we ever get 3 or 4 users on the same instance of the app server all running a decent sized PDF at once. Does anyone know if wrapping FOP in a session bean would allow me to distribute processing around to unused servers or otherwise handle the java.lang.outOfMemoryError better? (We're on Weblogic 6.1) I compared FOP to RenderX from XEP. RenderX was the only solution that really mathces FOP's profile (XSL:FO based, java-based or at least platform neutral, no extra servers to run or programs to install - if there are any more out there, please post). For the report I was running, FOP was about 10 times faster than RenderX. But from most accounts performance between the two should similar. I figure there must be something particular about my stylesheet that RenderX didn't like. So I called XEP to see what kind of support my interest in purchasing their $5k/cpu product might garner. They weren't very helpful but did say they were insanely busy. I have a feeling if you could come up with a high-performing commerical all Java FO-PDF engine, you'd be very rich very quick. Matt Savino
RE: HELP DRIVER!
From: Bob Leif, It seems that the Java underlying FOP is a source of a significant number of problems. I would suggest that the developers switch to a much more reliable and efficient object oriented technology, Ada. Since Ada is an ISO standard and has an extensive validation suite, it is much more portable than Java. The GNAT (GNU) Ada compiler can produce both J codes and fully compiled executables. -Original Message- From: dav sem [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 6:18 AM To: [EMAIL PROTECTED] Subject: Re: HELP DRIVER! Hi, another info: Jaguar Server 3.6.1 use Sun/jdk1.2 and when I test Fop I use jdk1.3.1 This can be an answer? DS. From: Jeremias Maerki [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: HELP DRIVER! Date: Wed, 16 Jan 2002 13:23:47 +0100 What version do you use? As far as I know there's no Service class in current versions. You may need to upgrade. On Wed, 16 Jan 2002 08:51:59 + dav sem wrote: Hi, I'm building EJB Component that perform a pdf document. The EJB component is correctly installed in Jaguar Server (EJB Container). I have successful set up the classpath inside Jaguar server and when I try to instantiate Driver - Driver driver = new Driver(); I obtain this error result: java.lang.NullPointerException at org.apache.fop.apps.Service.providers(Driver.java:540) at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:258) at org.apache.fop.apps.Driver.init(Driver.java:189) Why?? Previously I have build a pure java application that perform a pdf document and I haven't never received this! HELP!!!1 Tanks in advance Davide Cheers, Jeremias Mrki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029 Internet http://www.outline.ch _ Scarica GRATUITAMENTE MSN Explorer dall'indirizzo http://explorer.msn.it/intl.asp.