Thanks,
Myron
The stack trace:
org.jruby.rack.RackInitializationException: No such file to load -- C:\Users\Myron\.netbeans.1\apache-tomcat-6.0.16_base\webapps\FractalComposerDotCom\WEB-INF/config/environment.rb
from file:/C:/Users/Myron/.netbeans/6.1/apache-tomcat-6.0.16_base/webapps/FractalComposerDotCom/WEB-INF/lib/jruby-rack-0.9.1.jar!/jruby/rack/rails.rb:29:in `load_environment'
from file:/C:/Users/Myron/.netbeans/6.1/apache-tomcat-6.0.16_base/webapps/FractalComposerDotCom/WEB-INF/lib/jruby-rack-0.9.1.jar!/jruby/rack/rails.rb:148:in `new'
from <script>:3
from file:/C:/Users/Myron/.netbeans/6.1/apache-tomcat-6.0.16_base/webapps/FractalComposerDotCom/WEB-INF/lib/jruby-rack-0.9.1.jar!/rack/builder.rb:22:in `instance_eval'
from file:/C:/Users/Myron/.netbeans/6.1/apache-tomcat-6.0.16_base/webapps/FractalComposerDotCom/WEB-INF/lib/jruby-rack-0.9.1.jar!/rack/builder.rb:22:in `initialize'
from <script>:3:in `new'
from <script>:3
I haven't seen your error before, but I've seen other errors related
to Tomcat with JRuby-Rack. It's on my list to do some compatibility
testing with Tomcat soon.
Is there any part of your application or server configuration that
uses backslashes, or is that just coming out of JRuby or Java? The
code in JRuby-Rack that sets RAILS_ROOT is here:
http://github.com/nicksieger/jruby-rack/tree/master/src/main/ruby/jruby/rack/rails.rb#L18
http://github.com/nicksieger/jruby-rack/tree/master/src/main/ruby/jruby/rack/servlet_helper.rb#L131-137
Can you see anything in that code that would cause you problems?
Perhaps Tomcat doesn't like my usage of ServletContext.getRealPath?
Cheers,
/Nick
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
It's possible, but I'm more inclined to blame JRuby-Rack and/or
Tomcat, given that you haven't mentioned anything out of the ordinary
that you're doing with warbler and/or jruby-rack.
Sorry I don't have any immediate suggestions! If you have a sample app
that exhibits the behavior you see that I could try, that would be a
great help.
Cheers,
/Nick