Came across the --faster option yesterday and decided to give it a try
because it sounded as if it would make things faster :-). I am using
trinidad to run a sinatra app and ran into an error with jruby-rack
org.jruby.rack.RackInitializationException: load error:
./lib/email_gateway – java.lang.ArrayIndexOutOfBoundsException: -1
from server.rb:148:in `start’
at
org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:184)
at
org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:59)
at
org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:27)
at
org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4323)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4780)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:988)
at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:771)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:988)
at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:275)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:427)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:649)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:302)
Any idea why --faster would cause this? Should i even be using
–faster?
I am using jruby-1.5.3
thx.
-karl