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=6395>.
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=6395

FOP stalls when it is executed by java application

           Summary: FOP stalls when it is executed by java application
           Product: Fop
           Version: 0.20.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: general
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


hello, i have been working on this project and wanted to execute FOP from my 
java application and it stalls when it is executed.

it only works when i...
1.) 
execute it like this:
Runtime.getRuntime().exec("java -cp jars" +File.separator+ "fop.jar;jars" 
+File.separator+ "batik.jar;jars" +File.separator+ "xalan.jar;jars" 
+File.separator+ "xerces.jar org.apache.fop.apps.Fop temp" 
+File.separator+ "make_pdf.fo " +target_file.getText());
and after having a piriode of time in between where it does nothing.
it takes up to ten times as long as when it is executed by the batchfile
and it works perfectly from a batchfile
2.)
execute it like this:
Runtime.getRuntime().exec("java -cp jars" +File.separator+ "fop.jar;jars" 
+File.separator+ "batik.jar;jars" +File.separator+ "xalan.jar;jars" 
+File.separator+ "xerces.jar org.apache.fop.apps.Fop temp" 
+File.separator+ "make_pdf.fo " +target_file.getText()).waitFor();
and i close the window and with it the main programm and then all of a sudden 
it finishes and i get the pdf

either one is not very fine.
i need waitFor() with it and i cannot close the programm
i doubt that it lies within my programm because it is just one of many runtimes 
and it is the only one that doesn't work

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to