Prachi Tripathi created JRUBY-6427: -------------------------------------- Summary: Jruby Java_Servlet_store with Rails 3 Key: JRUBY-6427 URL: https://jira.codehaus.org/browse/JRUBY-6427 Project: JRuby Issue Type: Bug Components: Rails WAR Deployment, Ruby 1.8.7 Affects Versions: JRuby 1.6.3 Environment: Jruby 1.6.3 rails 3.0.0 Ruby 1.8.7 Tomcat 6.0.26 Java 6
Reporter: Prachi Tripathi I am trying to get the JavaSessionStore working in my JRuby on Rails 3 app. I had it working with Rails 2.3.5 I have been unable to figure out how to get it working with Rails 3 though I am using jruby-rack 1.0.10 warbler 1.2.0 rails 3.0.0 jruby 1.6.3 I tried a few things MyApp::Application.config.session_store = :java_servlet_store This did nothing, it was still a cookie store As per certain blogs , did the following too: config.action_dispatch.session_store = :java_servlet_store included the above in application.rb too I did a little digging and found that its not setting as java_servlet_store and still taking CookieStore. I see in firebug that there is a jsession id in the first response set cookie created but at the same time there is a rails _session_id also created and killing the jsessionid doesnt kill the rails session id . I'm not sure if this is a bug in jruby-rack, or if I just don't know the proper way to setup the JavaServletStore. I have searched in forums but to no avail. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email