 |
Forums |
Admin Discussion Forums: help Start New Thread
| Message: 97304 |
 |
BY: Amal Chaudhuri (amalc) DATE: 2012-01-02 18:01 SUBJECT: "can't create Java VM" with Passenger Hi,
I'm having a very odd problem. We are quite successfully running rjb under the same Passenger. However, a different Rails app running under the same passenger reports the can't create Java VM error. Debugging output follows. Will be grateful for any help.
The error about not finding rjb also occurs in the app which is running fine.
Thanks.
Amal.
Running under Centos 6
$ ruby -v -e "p ENV['JAVA_HOME']"
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
"/usr/java/jdk1.7.0"
$ which java
/usr/bin/java
$ ruby -d -rubygems -rrjb -e 'Rjb::load'
Exception `LoadError' at /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36 - no such file to load -- rjb
$ ruby -rubygems -rrjb -d -e 'Rjb::load'
Exception `LoadError' at /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36 - no such file to load -- rjb
| |
Thread View
Post a followup to this message
|
 |