Hi,
I was able to narrow it down where the problem in Driver.java is: Somehow the program stops when the Driver adds the Element Mapping of "org.apache.fop.svg.SVGElementMapping".
Thanks and regards, Manfred
From: "Manfred Reuter" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: FOP hangs at Driver driver = new Driver(); line Date: Wed, 28 Jul 2004 10:35:00 -0700
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]
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]