Uninitialized constant ActionController::Session::JavaServletStore


#1

I’m seeing the problem described here
http://www.nabble.com/uninitialized-constant-ActionController::Session::JavaServletStore-td21895091.html

using JRuby 1.2.0, Rails 2.3.2, Warbler 0.9.12, but the described
workaround of adding
config.session_store = :cookie

to environment.rb results in:

org.jruby.rack.RackInitializationException: undefined method
`session_store=’ for #Rails::Configuration:0xe398a7

Anyone have a suggestion? I’m trying to build the simplest possible
app to run as a war file but so far utterly failing, though
script/server
runs fine in every case.

TIA for any suggestions…

Hassan S. ------------------------ removed_email_address@domain.invalid


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#2

On Fri, Mar 27, 2009 at 12:02 PM, Hassan S.
removed_email_address@domain.invalid wrote:

`session_store=’ for #Rails::Configuration:0xe398a7

Anyone have a suggestion? I’m trying to build the simplest possible
app to run as a war file but so far utterly failing, though script/server
runs fine in every case.

Sorry about the trouble. I need to release a new jruby-rack to fix
this issue. You can work around it with the instructions here:

http://wiki.jruby.org/wiki/Rails_2.3.2

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#3

On Fri, Mar 27, 2009 at 10:08 AM, Nick S. removed_email_address@domain.invalid
wrote:

Sorry about the trouble. I need to release a new jruby-rack to fix
this issue. You can work around it with the instructions here:

http://wiki.jruby.org/wiki/Rails_2.3.2

Nick, you’re a lifesaver – thanks for the timely response.

Now to see if this will transfer from Tomcat to OC4J :slight_smile:

Thanks again.

Hassan S. ------------------------ removed_email_address@domain.invalid


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email