Re: FOP hangs at Driver driver = new Driver(); line
Hi, I verified the class path and I'm using xalan and xerxes that comes with FOP. We use Windows 2000 - do I also have to use here the headless option? Thanks and regards, Manfred From: J.Pietschmann [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: FOP hangs at Driver driver = new Driver(); line Date: Wed, 28 Jul 2004 22:28:13 +0200 Manfred Reuter wrote: 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. That's most likely an issue with X server access. Try the headless option, as advised. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Toolbar provides one-click access to Hotmail from any Web page FREE download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP hangs at Driver driver = new Driver(); line
Hi, found it ... and it seems to work. Thanks all of you for your help. There is another problem, but it seems it has nothing to do with FOP. 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 16:19:06 -0700 Hi, I verified the class path and I'm using xalan and xerxes that comes with FOP. We use Windows 2000 - do I also have to use here the headless option? Thanks and regards, Manfred From: J.Pietschmann [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: FOP hangs at Driver driver = new Driver(); line Date: Wed, 28 Jul 2004 22:28:13 +0200 Manfred Reuter wrote: 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. That's most likely an issue with X server access. Try the headless option, as advised. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Toolbar provides one-click access to Hotmail from any Web page FREE download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Dont 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]
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
Re: FOP hangs at Driver driver = new Driver(); line
there was a spelling mistake in my previous email:org.java.fop.apps.Driver.javashould 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
Re: FOP hangs at Driver driver = new Driver(); line
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.5view=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]
Re: FOP hangs at Driver driver = new Driver(); line
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.5view=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]
Re: FOP hangs at Driver driver = new Driver(); line
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.5view=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] _ Dont 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]
Re: FOP hangs at Driver driver = new Driver(); line
On Jul 28, 2004, at 11:06 AM, Manfred Reuter wrote: 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 This may not be related, but are the staging and production systems running 'headless'? If so, there's a FAQ about it: http://xml.apache.org/fop/faq.html#svg-headless Hope this helps! Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP hangs at Driver driver = new Driver(); line
Something else to look at whenever something inexplicable is occurring is make sure that the same versions of xalan.jar and xerces.jar are being activated on both machines--some versions of the two don't work well with Fop. Glen --- Clay Leeds [EMAIL PROTECTED] wrote: On Jul 28, 2004, at 11:06 AM, Manfred Reuter wrote: 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 This may not be related, but are the staging and production systems running 'headless'? If so, there's a FAQ about it: http://xml.apache.org/fop/faq.html#svg-headless Hope this helps! Web Maestro Clay - 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 hangs at Driver driver = new Driver(); line
Manfred Reuter wrote: 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. That's most likely an issue with X server access. Try the headless option, as advised. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]