Re: Fop 0.95 beta-1 shutdowns my Weblogic server
Of course, I'm aware of how to solve the problem with the fo:table-body. ;) BUT, should this error shutdown the server?? That's the main issue. I've attached the FO file with which I'm having trouble. You can try to execute it to see whether it comes out into a shutdown of the web server (remember that I am using the 0.95 beta-1 version of FOP). http://www.nabble.com/file/p19567021/CertificadoDemanda.fo CertificadoDemanda.fo Anyway, thanks for yor reply!:D Joaquín bonekrusher wrote: Hi, The error indicates that your FO file has errors. fo:table-body is missing child elements. Have you checked your FO file to see if you have a table with no fo:table-row's ? HTH, Phil -- View this message in context: http://www.nabble.com/Fop-0.95-beta-1-shutdowns-my-Weblogic-server-tp19554692p19567021.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fop 0.95 beta-1 shutdowns my Weblogic server
The only explanation I can come up with is that someone calls System.exit(int) after the exception is thrown (i.e. in an exception handler). But FOP doesn't do that except in its command-line interface. I hope you didn't integrate FOP by calling org.apache.fop.cli.Main or something. BTW, you should upgrade to 0.95 final which fixes a number of bugs. On 19.09.2008 08:42:07 Erennion wrote: Of course, I'm aware of how to solve the problem with the fo:table-body. ;) BUT, should this error shutdown the server?? That's the main issue. I've attached the FO file with which I'm having trouble. You can try to execute it to see whether it comes out into a shutdown of the web server (remember that I am using the 0.95 beta-1 version of FOP). http://www.nabble.com/file/p19567021/CertificadoDemanda.fo CertificadoDemanda.fo Anyway, thanks for yor reply!:D Joaquín bonekrusher wrote: Hi, The error indicates that your FO file has errors. fo:table-body is missing child elements. Have you checked your FO file to see if you have a table with no fo:table-row's ? HTH, Phil -- View this message in context: http://www.nabble.com/Fop-0.95-beta-1-shutdowns-my-Weblogic-server-tp19554692p19567021.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fop 0.95 beta-1 shutdowns my Weblogic server
Yep! You got it! I didn't realise that the exception handler was calling a System.exit(-1) when an exception was thrown. My fail! Now it works perfectly :D Thanks a lot and BR. Joaquín Jeremias Maerki-2 wrote: The only explanation I can come up with is that someone calls System.exit(int) after the exception is thrown (i.e. in an exception handler). But FOP doesn't do that except in its command-line interface. I hope you didn't integrate FOP by calling org.apache.fop.cli.Main or something. BTW, you should upgrade to 0.95 final which fixes a number of bugs. -- View this message in context: http://www.nabble.com/Fop-0.95-beta-1-shutdowns-my-Weblogic-server-tp19554692p19567606.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fop 0.95 beta-1 shutdowns my Weblogic server
Hi everybody: I am running fop 0.95 beta-1 (the lastest version I have found on maven repositories) in a weblogic server, and I have an unexpected problem when an error occurs whithing the fop xmlToPdf execution. In the following example, an exception had been thrown due to the fact that I had a element with no child elements defined within it. The error trace shows as: fo:42:17: Error(42/17): fo:table-body is missing child elements. Required Content Model: marker* (table-row+|table-cell+) But the real problem comes after the exception has been thrown. In this point, the server suddenly shutdowns with no apparent reason. The weblogic console shows this message: 2008-09-18 15:55:17.509::INFO: Shutdown hook executing 2008-09-18 15:55:17.525:/grec:INFO: Closing WebApplicationContext of Struts ActionServlet 'action', module '/ajax' [EMAIL PROTECTED]:55:17 INFO (AbstractApplicationContext.java:642) - Closing org.springframework.web.context.support.XmlWebA [EMAIL PROTECTED]: display name [WebApplicationContext for namespace 'action-servlet']; startup date [Thu Sep 18 15:54:09 CEST 2008]; parent: [EMAIL PROTECTED] [EMAIL PROTECTED]:55:17 INFO (DefaultSingletonBeanRegistry.java:274) - Destroying singletons in org.springframework.beans.fa [EMAIL PROTECTED]: Has anybody any idea about the reason of this behavior?? Could it be pheraphs an issue with the beta version?? Thanks in advance, Joaquín -- View this message in context: http://www.nabble.com/Fop-0.95-beta-1-shutdowns-my-Weblogic-server-tp19554692p19554692.html Sent from the FOP - Users mailing list archive at Nabble.com.
Re: Fop 0.95 beta-1 shutdowns my Weblogic server
Hi, The error indicates that your FO file has errors. fo:table-body is missing child elements. Have you checked your FO file to see if you have a table with no fo:table-row's ? HTH, Phil Erennion wrote: Hi everybody: I am running fop 0.95 beta-1 (the lastest version I have found on maven repositories) in a weblogic server, and I have an unexpected problem when an error occurs whithing the fop xmlToPdf execution. In the following example, an exception had been thrown due to the fact that I had a fo:table-body element with no child elements defined within it. The error trace shows as: fo:42:17: Error(42/17): fo:table-body is missing child elements. Required Content Model: marker* (table-row+|table-cell+) But the real problem comes after the exception has been thrown. In this point, the server suddenly shutdowns with no apparent reason. The weblogic console shows this message: 2008-09-18 15:55:17.509::INFO: Shutdown hook executing 2008-09-18 15:55:17.525:/grec:INFO: Closing WebApplicationContext of Struts ActionServlet 'action', module '/ajax' [EMAIL PROTECTED]:55:17 INFO (AbstractApplicationContext.java:642) - Closing org.springframework.web.context.support.XmlWebA [EMAIL PROTECTED]: display name [WebApplicationContext for namespace 'action-servlet']; startup date [Thu Sep 18 15:54:09 CEST 2008]; parent: [EMAIL PROTECTED] [EMAIL PROTECTED]:55:17 INFO (DefaultSingletonBeanRegistry.java:274) - Destroying singletons in org.springframework.beans.fa [EMAIL PROTECTED]: Has anybody any idea about the reason of this behavior?? Could it be pheraphs an issue with the beta version?? Thanks in advance, Joaquín -- View this message in context: http://www.nabble.com/Fop-0.95-beta-1-shutdowns-my-Weblogic-server-tp19554692p19557588.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]