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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to