[Bug 64153] ServerContainer is not available in ServletContext

2020-02-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64153 --- Comment #8 from Boris Petrov --- Thanks for the workaround, works like a charm! And thanks for the support and quick fix! -- You are receiving this mail because: You are the assignee for the bug. --

[Bug 64153] ServerContainer is not available in ServletContext

2020-02-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64153 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 64153] ServerContainer is not available in ServletContext

2020-02-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64153 --- Comment #6 from Mark Thomas --- As a work-around, use: root_ctx.parentClassLoader = JRuby.runtime.jruby_class_loader rather than root_ctx.loader = WebappLoader.new(JRuby.runtime.jruby_class_loader) The second approach is probably going

[Bug 64153] ServerContainer is not available in ServletContext

2020-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64153 Mark Thomas changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #5 from Mark Thomas ---

[Bug 64153] ServerContainer is not available in ServletContext

2020-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64153 --- Comment #4 from Boris Petrov --- Yes, I'm sorry the reproduction project is far from the best possible but it was easiest for me. You're more familiar with Tomcat itself and I believe that the important code is in `server_runner.rb` so if y

[Bug 64153] ServerContainer is not available in ServletContext

2020-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64153 --- Comment #3 from Mark Thomas --- nokogiri 1.10.8 is broken. It includes jing.jar in the lib directory that in turn has a reference to saxon.jar in its classpath. That JAR is missing. I wondered if that failure was causing the WebSocket conta

[Bug 64153] ServerContainer is not available in ServletContext

2020-02-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64153 --- Comment #2 from Boris Petrov --- Mark, thanks for the support. Here is a reproduction project: https://github.com/boris-petrov/tomcat-bug Sorry for all the accidental complexity with Ruby and all that but it was the easiest way for me to

[Bug 64153] ServerContainer is not available in ServletContext

2020-02-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64153 Mark Thomas changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Mark Thomas