Please help. About to deploy my first Jruby+Rails application.
Any one success with will_paginate (3.0 pre3)
on Rails 3.0.3 , jruby 1.5.6 (ruby 1.8.7 patchlevel 249) DEPLOY in war
with warbler
Everything work fine until I warble it. I have test it with JBOSS 5.0GA
and stand alone executable feature of Warbler
I have try edit s.authors = [‘Mislav Marohnić’] => s.authors =
[‘Mislav Marohnic’] but the same error.
Error below. ====================================================
[Winstone 2011/01/13 00:39:08] - Beginning extraction from war file
[Winstone 2011/01/13 00:39:13] - WARNING: The Servlet 2.4/2.5 spec XSD
was unavailable inside the winstone classpath. Will be retrieved from
the web if required (slow)
[Winstone 2011/01/13 00:39:13] - No webapp classes folder found -
/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/classes
[webapp 2011/01/13 00:39:17] - Info: using runtime pool timeout of 30
seconds
[webapp 2011/01/13 00:39:17] - Warning: no min runtimes specified.
[webapp 2011/01/13 00:39:17] - Warning: no max runtimes specified.
[Winstone 2011/01/13 00:39:17] - Listener winstone.ajp13.Ajp13Listener
not found / disabled - ignoring
[Winstone 2011/01/13 00:39:17] - Listener winstone.ssl.HttpsListener not
found / disabled - ignoring
[Winstone 2011/01/13 00:39:17] - Winstone Servlet Engine v0.9.10
running: controlPort=disabled
[Winstone 2011/01/13 00:39:17] - HTTP Listener started: port=8080
WARNING: #<ThreadError: Mutex relocking by same thread>
encoding: utf-8
require File.expand_path(‘…/lib/will_paginate/version’, FILE)
Gem::Specification.new do |s|
s.name = ‘will_paginate’
s.version = WillPaginate::VERSION::STRING
s.date = ‘2010-02-05’
s.summary = “Adaptive pagination plugin for web frameworks and other
applications”
s.description = “The will_paginate library provides a simple, yet
powerful and extensible API for pagination and rendering of page links
in web application templates.”
s.authors = [‘Mislav Marohnić’]
s.email = ‘[email protected]’
s.homepage = ‘Home · mislav/will_paginate Wiki · GitHub’
s.has_rdoc = true
s.rdoc_options = [‘–main’, ‘README.rdoc’, ‘–charset=UTF-8’]
s.extra_rdoc_files = [‘README.rdoc’, ‘LICENSE’, ‘CHANGELOG.rdoc’]
s.files = Dir[‘Rakefile’, ‘{bin,lib,test,spec}/**/', 'README’,
‘LICENSE*’]
s.files &= git ls-files -z
.split(“\0”) if type -t git 2>/dev/null || which git 2>/dev/null
&& $?.success?
end
WARNING: Invalid .gemspec format in
‘/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/gems/specifications/will_paginate.gemspec’
[webapp 2011/01/13 00:41:31] - Application Error
org.jruby.rack.RackInitializationException: Mutex is not locked
from
file:/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/lib/jruby-stdlib-1.5.6.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:478:in
find_files' from file:/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/lib/jruby-stdlib-1.5.6.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:1103 from file:/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/lib/jruby-stdlib-1.5.6.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:1:in
require’
from
/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/config/boot.rb:1
from
/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/config/boot.rb:165:in
require' from file:/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/lib/jruby-rack-1.0.4.jar!/jruby/rack/rails.rb:165:in
load_environment’
from
file:/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/lib/jruby-rack-1.0.4.jar!/jruby/rack/rails.rb:173:in
to_app' from file:/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/lib/jruby-rack-1.0.4.jar!/jruby/rack/rails.rb:194:in
new’
from :2
from
file:/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/lib/jruby-rack-1.0.4.jar!/vendor/rack-1.2.1/rack/builder.rb:46:in
instance_eval' from file:/private/var/folders/2G/2GKC0wveGdGQAoy5KUMoPE+++TM/-Tmp-/winstone5017177245545562905webroot/test1.war/WEB-INF/lib/jruby-rack-1.0.4.jar!/vendor/rack-1.2.1/rack/builder.rb:46:in
initialize’
from :2:in `new’
from :2