-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RJB + PdfWriter Freezes Passenger #223
Comments
From stephen%[email protected] on August 18, 2008 10:02:24 I've created a GitHub repository that holds a simple application that will cause this |
From honglilai on August 18, 2008 10:09:48 I get "uninitialized constant TestController::Document" when I run it in Mongrel. Did |
From honglilai on August 18, 2008 10:19:10 Never mind, that was caused by me not having rjb installed. This problem is caused by the fact that you're using Java inside your Rails Status: Invalid |
From stephen%[email protected] on August 18, 2008 11:04:37 Yep, that did it. Thanks. Any chance of this being fixed in the future? |
From honglilai on August 18, 2008 11:25:39 This cannot be fixed. The JVM is fundamentally incompatible with smart spawning. The only way to make it compatible is to fix things at the application level. E.g. by |
From stephen%[email protected] on August 15, 2008 17:43:36
What steps will reproduce the problem? temp_file = Tempfile.new("some_name", RAILS_TMP)
temp_file.close
document = PdfDocument.new_with_sig('Lcom.lowagie.text.Rectangle;',
PageSize.LETTER)
output_file = FileOutputStream.new_with_sig('Ljava.lang.String;',
temp_file.path)
writer = PdfWriter.getInstance(document, output_file) What is the expected output? What do you see instead? This works correctly under Mongrel, but using Passenger, the last line just
hangs. The Passenger process just runs forever. What version of the product are you using? On what operating system? Ubuntu Hardy Heron 32-bit
Apache 2.2.8 (from Repository)
Passenger 2.0.3
Ruby Enterprise 1.8.6 (2008-08-08 patchlevel 286)
iText 2.1.3
RJB 1.1.4 Please provide any additional information below. RAILS_TMP = File.join(RAILS_ROOT, 'tmp')
Original issue: http://code.google.com/p/phusion-passenger/issues/detail?id=122
The text was updated successfully, but these errors were encountered: