You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2001/09/26 19:19:50 UTC
DO NOT REPLY [Bug 3840] New: -
System.exit() calls in FOP kill Tomcat
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3840>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3840
System.exit() calls in FOP kill Tomcat
Summary: System.exit() calls in FOP kill Tomcat
Product: Fop
Version: all
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: general
AssignedTo: fop-dev@xml.apache.org
ReportedBy: jswap@yahoo.com
I am embedding FOP into a servlet that generates PDF files when requested. I
have noticed there are a few calls to System.exit() in the FOP source (like in
BufferManager.java). If this code is executed, Tomcat's JVM will die, which is
real bad. Instead of calling System.exit(), exceptions should be allowed to
percolate to the top.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org