Hi Glen,
Thanks for the information. I followed the sample when I created the servlet ... and yes I use version 0.20.5. The thing is: the servlet is running perfectly on our development environment, but the problem occurs when I deploy the code to our staging system.
I have checked the class path again and again ... and can't find a problem there.
Regards, Manfred
From: Glen Mazza <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: FOP hangs at Driver driver = new Driver(); line Date: Wed, 28 Jul 2004 04:13:11 -0700 (PDT)
Take a look at the examples on our embedding page (http://xml.apache.org/fop/embedding.html) to make sure you're following the general syntax needed.
I assume you're using current production 0.20.5, our sample servlet (http://cvs.apache.org/viewcvs.cgi/xml-fop/src/java/org/apache/fop/servlet/FopServlet.java?rev=1.5&view=markup) may also be of help to you.
Glen
--- Manfred Reuter <[EMAIL PROTECTED]> wrote: > there was a spelling mistake in my previous email: > org.java.fop.apps.Driver.java should be > org.apache.fop.apps.Driver.java > ----- Original Message ----- > From: Manfred Reuter > To: [EMAIL PROTECTED] > Sent: Tuesday, July 27, 2004 11:03 PM > Subject: FOP hangs at Driver driver = new > Driver(); line > > > Hi, > > I'm using FOP (creating adhoc pdf reports) that is > called from a servlet on a JRUN 3.1 machine (JDK > 1.4.1) and have trouble to initialize the "Driver" > class. Actually it seems as it would hang at this > point ... no exception, no error message ... > I tried already adding > if (cl == null){ > cl = ClassLoader.getSystemClassLoader(); > } > to Service.provider() method in > org.java.fop.apps.Driver.java to rule out a class > loader issue. I found the code somewhere in the > archive of this email list, but I found out the > program doesn't reach this particular code at all. > > Any help is highly appreciated. > > Thanks and regards, > Manfred
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]