views:

125

answers:

0

My application is developed on Rails 2.3.5, its running fine on Webrick, Mongrel, Tomcat and Glassfish. But when I try to the run the same war file that was generated using warbler gem in Weblogic, I am getting the following error:

Application initialization failed: no such file to load -- rack
  from 
C:/bea/wlserver_10.3/samples/domains/wl_server/servers/examplesServer/tmp/_WL_user/Phonebook/f6lg0m/war/WEB-INF/lib/jruby-rack-0.9.6.jar!/vendor/rack.rb:1
  from 
C:/bea/wlserver_10.3/samples/domains/wl_server/servers/examplesServer/tmp/_WL_user/Phonebook/f6lg0m/war/WEB-INF/lib/jruby-rack-0.9.6.jar!/vendor/rack.rb:22:in 
`require'
  from 
C:/bea/wlserver_10.3/samples/domains/wl_server/servers/examplesServer/tmp/_WL_user/Phonebook/f6lg0m/war/WEB-INF/lib/jruby-rack-0.9.6.jar!/jruby/rack/booter.rb:22:in 
`boot!'
  from 
C:/bea/wlserver_10.3/samples/domains/wl_server/servers/examplesServer/tmp/_WL_user/Phonebook/f6lg0m/war/WEB-INF/lib/jruby-rack-0.9.6.jar!/jruby/rack/boot/rack.rb:9
  from 
C:/bea/wlserver_10.3/samples/domains/wl_server/servers/examplesServer/tmp/_WL_user/Phonebook/f6lg0m/war/WEB-INF/lib/jruby-rack-0.9.6.jar!/jruby/rack/boot/rack.rb:1:in 
`load'
  from <script>:1

Anybody had luck running a Rails 2.3.5 application using JRuby 1.4.0, Warbler 0.9.5 on Weblogic 10.3?

One of our project requirements is that the application has to be deployed on Weblogic. I posted the same problem on JRuby forums with no luck. Any help is highly appreciated.

Thanks in advance.