Hi All,
I am upgrading from jruby 1.5 to jruby 1.6.3 and rails 2.3.5 to rails
3.0.
Earlier i used to use :
ActionController::Base.session_store = :java_servlet_store if
defined?($servlet_context)
in session store located in config/initializers.
Now in the same file i do :
Mb30::Application.config.session_store = :java_servlet_store if
defined?($servlet_context)
The earlioer version in prodcution used to yield jsessionid and work
well with session. Since i used java servlet store in tomcat i used the
default session timeout feature in web.xml and it worked very well.
However after upgradation i see in firebug that there is a jsession id
created but at the same time there is a rails _session_id also created
and killing the jsessionid doesnt kill the rails session id . Also i
have an HTTP wrapper API over my application which gets response and
sends it as xml. Here i figured that the jsession id is not matching the
rails session due to which in the API i am unable to get the session
objects since they are getting set in rails session.
Gem list :
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.0)
actionpack (3.0.0)
activemodel (3.0.0)
activerecord (3.0.0)
activerecord-jdbc-adapter (0.9.7 java)
activerecord-jdbcpostgresql-adapter (0.9.7 java)
activeresource (3.0.0)
activesupport (3.0.0)
arel (1.0.0)
bouncy-castle-java (1.5.0146.1)
builder (2.1.2)
bundler (1.0.18)
erubis (2.6.6)
i18n (0.4.1)
jdbc-postgres (8.4.701 java)
jrails (0.6.0)
jruby-jars (1.6.3)
jruby-openssl (0.7.2, 0.7)
jruby-rack (1.1.1, 1.0.10)
mail (2.2.5)
mime-types (1.16)
polyglot (0.3.2)
rack (1.2.1)
rack-mount (0.6.12)
rack-test (0.5.4)
rails (3.0.0)
railties (3.0.0)
rake (0.9.2, 0.8.7)
rubyzip (0.9.4)
sources (0.0.1)
thor (0.14.0)
treetop (1.4.10)
tzinfo (0.3.29, 0.3.23)
warbler (1.2.0)
Anyone can help on what could be the issue?