Closed kares closed 10 years ago
I'm on JRuby 1.7.13/JRuby-Rack 1.1.14/Tomcat 6.0.37, with code:
puts request.env['java.servlet_context']
puts request.env['java.servlet_context'].inspect
I get the result below during the request:
org.jruby.rack.servlet.DefaultServletRackContext@4af95a9
#<Java::OrgJrubyRackServlet::DefaultServletRackContext:0x4af95a9>
Let me know if you need more debug output.
Thanks Samson - much appreciated, had a hard time reproducing jruby/warbler#274 myself on TC6 ...
trace details copied from https://github.com/jruby/warbler/issues/274
https://github.com/jruby/jruby-rack/blob/master/src/main/ruby/rack/handler/servlet/default_env.rb#L238