Can't run apps under tomcat

I’ve set warble in 1.9 compatibility mode in config/warble.rb.
I’ ve deployed under tomcat6 but when I try to run the app I have this
error:

org.jruby.rack.RackInitializationException: library `fiber’ could not
be loaded: java.lang.ClassNotFoundException:
org.jruby.libraries.FiberExtLibrary

Is that a jruby bug?

On 29 December 2011 10:06, Mauro [email protected] wrote:

I’ve set warble in 1.9 compatibility mode in config/warble.rb.
I’ ve deployed under tomcat6 but when I try to run the app I have this error:

org.jruby.rack.RackInitializationException: library `fiber’ could not
be loaded: java.lang.ClassNotFoundException:
org.jruby.libraries.FiberExtLibrary

Is that a jruby bug?

There is someone that deploy jruby on rails applications under tomcat
using warbler and jruby-1.6.5?
If the problem is not only mine then I’ll wait for jruby-1.6.6, but
please tell me if others have the same problem.

On Dec 30, 11:52am, Mauro [email protected] wrote:

There is someone that deploy jruby on rails applications under tomcat
using warbler and jruby-1.6.5?
If the problem isnotonly mine then I’ll wait for jruby-1.6.6, but
please tell me if others have the same problem.

I have a Trinidad / Sinatra application that fails with jdk1.6.0_30 /
jruby-1.6.5.1 and works with jdk1.6.0_30 / jruby 1.7.0.dev
I start it like this with a rackup file
bundle exec jruby --1.9 -S trinidad

This is on Windows 7

This works:
$ jruby -v
jruby 1.7.0.dev (ruby-1.9.3-p0) (2011-12-30 e80efe7) (Java HotSpot™
Client VM 1.6.0_30) [Windows 7-x86-java]

This fails
jdk1.6.0_30 / jruby-1.6.5.1

LoadError: library `fiber’ could not be loaded:
java.lang.ClassNotFoundException
: org.jruby.libraries.FiberExtLibrary
require at org/jruby/RubyKernel.java:1047
(root) at c:/Users/canderson/jruby/jruby-1.6.5.1/lib/ruby/
gems/1.8/gems