Rails 2.3.5, tomcat Ok, jetty strange error

Hi

I’ve setup a basic rails app using the JRoR Tutorial[1]. The application
runs fine with jruby script/server and using Tomcat, but it produces the
following error in Jetty 6.1.22:

  • no such file to load – i18n/backend/simple (full backtrace in [2])

I’ve uploaded the example project to my github account:

Has anybody an idea why it works in container but not in the other? How
can I debug things like that?

Cheers,
Reto

Env:
JRuby 1.4.0
warbler (0.9.14)
Jetty 6.1.22
rack (1.0.1)
apache-tomcat-5.5.28
Java 1.6.0_17

On a OS X 10.6.

[1]

[2] (Full log on: https://gist.github.com/208cf7cc23c985e80a79 )

org.jruby.rack.RackInitializationException: no such file to load –
i18n/backend/simple|?from
file:/private/var/folders/qq/qqIt3QgTHgun3vAdBNOZA
TM/-Tmp-/Jetty_0_0_0_0_8080_phonebook.war__phonebook__n05eg7/webapp/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/rails.rb:49:in
require_frameworks_with_servlet_env'|?from /private/var/folders/qq/qqIt3QgTHgun3vAdBNOZA TM/-Tmp-/Jetty_0_0_0_0_8080_phonebook.war__phonebook__n05eg7/webapp/WEB-INF/gems/gems/rails-2.3.5/lib/initializer.rb:134:inprocess’|?from /private/var/folders/qq/qqIt3QgTHgun3vAdBNOZA
TM/-Tmp-/Jetty_0_0_0_0_8080_phonebook.war__phonebook__n05eg7/webapp/WEB-INF/gems/gems/rails-2.3.5/lib/initializer.rb:113:in
run'|?from /private/var/folders/qq/qqIt3QgTHgun3vAdBNOZA++++TM/-Tmp-/Jetty_0_0_0_0_8080_phonebook.war__phonebook__n05eg7/webapp/WEB-INF/config/environment.rb:9|?from /private/var/folders/qq/qqIt3QgTHgun3vAdBNOZA++++TM/-Tmp-/Jetty_0_0_0_0_8080_phonebook.war__phonebook__n05eg7/webapp/WEB-INF/config/environment.rb:32:inload’|?from file:/private/var/folders/qq/qqIt3QgTHgun3vAdBNOZA
TM/-Tmp-/Jetty_0_0_0_0_8080_phonebook.war__phonebook__n05eg7/webapp/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/rails.rb:32:in
load_environment'|?from file:/private/var/folders/qq/qqIt3QgTHgun3vAdBNOZA TM/-Tmp-/Jetty_0_0_0_0_8080_phonebook.war__phonebook__n05eg7/webapp/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/rails.rb:155:innew’|?from :2|?from
/private/var/folders/qq/qqIt3QgTHgun3vAdBNOZA
TM/-Tmp-/Jetty_0_0_0_0_8080_phonebook.war__phonebook__n05eg7/webapp/WEB-INF/gems/gems/rack-1.0.1/lib/rack/builder.rb:29:in
instance_eval'|?from /private/var/folders/qq/qqIt3QgTHgun3vAdBNOZA TM/-Tmp-/Jetty_0_0_0_0_8080_phonebook.war__phonebook__n05eg7/webapp/WEB-INF/gems/gems/rack-1.0.1/lib/rack/builder.rb:29:ininitialize’|?from :2:in `new’|?from :2|
at
org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:153)
at
org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:50)
at
org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:26)
at
org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:39)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email