I’m trying to deploy a prototype JRuby/Rails application into the
WebLogic 10.3 application server. First, I’m getting a warning on
non-existent jruby.home directory and ultimately an error that rubygems
can’t be loaded.
- Windows XP Pro
- JRE 1.5.0_14
- JRuby 1.3.0 RC1
- Rails 2.3.2
- Warbler 0.9.13
- Oracle/BEA WebLogic 10.3
- Oracle Database 10g
After updating to the recent Rake version, I’m able to create a WAR file
using Warbler without a problem. After auto-deploying to the WebLogic,
the WAR is apparently exploded into the corresponding tmp directory.
When WebLogic attempts to launch the application, the following warning
appears in the log:
Warning: JRuby home
does not exist, using C:\DOCUME~1\SANDBOX\LOCALS~1\Temp\
It is followed by an error ultimately complaining about unavalability of
unable to create shared application instance
org.jruby.rack.RackInitializationException: no such file to load –
I’m guessing that the error could be related to “missing” JRuby home
although I’m not sure. Does anyone have any idea how to make it work?
Thanks in advance.