ruby - RJB + Passenger. RJB appears not call Java -
i'm having issue rjb , passenger.
my system: debian 6 java jdk 7 apache2 + passenger ruby 1.9.2 rails 3.2.6
i'm using jasper-rails gem read .jasper reports on ror app. on developing machine (over webrick) runs ok, when upload production server (passenger + apache2) when click in report link, got lots of time processing , doesn't go anywhere.
i made test running "top" on linux @ same time click generate report, , realized java process not created, looks not being called.
java_home , ld_library_path correctly set on system , on environments.rb have idea how solve or debug issue?
on log files dont errors or warning.
any appreciate.
thanks in advance people.
follows environment.rb setup:
# load rails application require file.expand_path('../application', __file__) env['java_home'] = "/usr/lib/jvm/jdk1.7.0" env['ld_library_path'] = "/usr/lib/jvm/jdk1.7.0/jre/lib/i386:/usr/lib/jvm/jdk1.7.0/jre/lib/i386/client" # initialize rails application sigma::application.initialize!
solved using solution forked mahaswami software: www.github.com/mahaswami/jasper-rails
this guys modified plugin work passenger.
thank you! ;)
Comments
Post a Comment