-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java servlet store broken with Rails 5.1 and Tomcat 7 #211
Comments
yes, unfortunately jruby-rack is behind. we pbly only officially supported Rails <= 4.2 its mostly luck that nothing broke with 5.0. Rack's 2.0 changes also should get reviewed for this. unfortunately were low on maintainers... |
Ah OK, I see. If you can point me in the right direction in tackling this I
would be happy to help out.
On Aug 12, 2017 4:05 AM, "Karol Bucek" <notifications@github.com> wrote:
yes, unfortunately jruby-rack is behind. we pbly only officially supported
Rails <= 4.2 its mostly luck that nothing broke with 5.0. Rack's 2.0
changes also should get reviewed for this. unfortunately were low on
maintainers...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#211 (comment)>,
or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGJa90AHk5QenDWYk3mO810LZ02hvoC_ks5sXVzXgaJpZM4O1E8R>
.
|
honestly did you try :) ? its not that hard to find, start here and find yourself around ... |
No, I haven't had a chance to look into it yet. I may have some time this
week to take a look.
Thanks!
Kevin McCormack
Full Stack Web Developer
HarlemSquirrel.github.io
…On Aug 12, 2017 10:44 AM, "Karol Bucek" ***@***.***> wrote:
honestly did you try :) ? its not that hard to find, start here
<https://github.com/jruby/jruby-rack/blob/1.1-stable/src/main/ruby/action_dispatch/session/java_servlet_store.rb#L12>
and find yourself around ...
... also backwards-compatibility is important if you want it in 1.1.x
(1.1-stable branch)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#211 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGJa907222fcg3MVS4DSkGeCWn2K84fvks5sXbpKgaJpZM4O1E8R>
.
|
* Add Rack::Handler::Servlet::DefaultEnv#get_header Fixes #211 * Update Rack::Handler::Servlet::DefaultEnv Add missing methods to handle ActionController::Base#reset_session
I am trying to set up my rails app to use
:java_servlet_store
in place of:cookie_store
for my session store.Rails throws
undefined method 'get_header' for Rack::Handler::Servlet::DefaultEnv
being thrown when adding the following configuration:Full backtrace:
Adding the configuration above to my sample app shows this happens with a new rails app.
I also posted in SO.
https://stackoverflow.com/questions/45594295/undefined-method-get-header-for-rackhandlerservletdefaultenv
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: