-
Notifications
You must be signed in to change notification settings - Fork 36
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
Apache + Passenger #20
Comments
I would need to make a pull request at some point. But you can see github/Mahaswami/jasper-rails fork for a solution. |
Mahaswami, Thank You very much! I appreciate a lot your help and contribution! Please, make the pull request, your contribution is very valid to this plugin. Just to make things clear, the error "Cant Create Java VM" is related to declare JAVA_HOME on environments.rb. Thanks a lot! :) 👍 |
There's a new version on master that doesn't import java classes as constants. Can anyone (that runs jasper-rails + Apache2 + Passenger) confirm if this issue is gone? For more info about new features see #24 or the mailing list. Thanks! |
I'm Still using Mahaswami solution. |
msaraiva, i just tried today in another project install jasper-rails using ' gem 'jasper-rails' ' on my Gemfile, and i founded the same problem with apache + passenger, it says " Can't Create VM ", when i used mahaswami solution ( ' gem 'jasper-rails',:git => 'https://github.com/Mahaswami/jasper-rails.git' |
@francisco, @msaraiva, I am "Mahaswami" and happy to be of any help on On Wed, Jul 31, 2013 at 12:04 AM, Francisco [email protected]:
|
Hi, Francisco. Hi you have ' gem 'jasper-rails' ' in your Gemfile, you're not using gem 'jasper-rails', '>= 2.0.0.beta1' If the problem is related to the java classes as constants, then it should Cheers! 2013/7/31 Mahaswami Software [email protected]
|
Hi, Mahaswami. Thanks for your help. Have you tried out the version on master? In case the Thanks! 2013/7/31 Mahaswami Software [email protected]
|
@drmwndr sorry about not responding to your request for pull request 3 months ago. That notification never reached me. |
@msaraiva will do and let you know. Thank you |
Marlus, Thanks for considering fix this! ;) Francisco |
I've got the same problem here, but I realized that my JAVA_HOME was empty somehow. If you are using some zsh config or something similar, instead of setting this path on environment, make sure to set it on zshrc. |
I can confirm that there is an issue with Passenger (nginx + rbench). The pdf creation times out without an error message. @Mahaswami 's fork does the trick for me. However, there is a bug in his latest commit (no class error, see comments for fix) |
The plugin is not working properly with Apacha + Passenger. I always get the error "Cant Create Java VM" from Passenger when i run my App in Production Environment.
Server Setup is:
Debian 6.0
Java JDK 1.7.0
Apache2 + Passenger
Ruby 1.9.2
Java Home and PATH are correctly set.
The text was updated successfully, but these errors were encountered: