Forum: JRuby Which Rack to use with JRuby 1.2.0?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
439a9cebe73c87771d06723f6027bfed?d=identicon&s=25 Norman Smith (smithno)
on 2009-05-16 21:24
Moving my project from RoR/MySQL to JRoR/Oracle/JBoss has been really
painful! This forum has been a life saver! So, Thanks to those who have
answered my questions and on to the next question...

I am using JRuby 1.2.0 and Rails 2.2.2. The app runs fine stand alone.

I downloaded Warbler to build the War file. All of the write-ups make it
appear that you just install it, then run to create a working War file.
First, I had to patch repaired_system.rb per a posting I found here to
get Warbler to run without throwing an exception. So now I can create a
War file. I had to manually move the GEMS to the ...\WEB-INF\GEMS
directory. It looks like GEMS are not getting found.

I noticed that JAR files for JRuby 1.3.0RC1 and Rack 0.9.4 are included
in the lib folder by default. I have tried replacing them with JRuby
1.2.0 and Rack 0.9.3, which seems to get close to be deploying in JBoss.

What's the correct Warbler version for a JRuby 1.2.0 and Rails 2.2.2
based app? Should I go to a previous Warbler version? Has anybody had
success with Warbler building working WAR files with JRuby 1.2.0? I have
no clue what I am doing wrong...
This topic is locked and can not be replied to.