Forum: JRuby Re: Re: Re: I need help.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jay McGaffigan (Guest)
on 2009-04-06 21:20
(Received via mailing list)

<link media="all" type="text/css"
href="/webmail/static/deg/css/wysiwyg-3933289048.css" rel="stylesheet">
<br>hey nick,<br><br>That link implies that you shouldn't be using
cookie based sessions... is that true?&nbsp; If so will the next update
to jruby-rack let us use Cookie based
sessions?<br><br>Thanks!<br>Jay<br><br>Apr 6, 2009 11:43:42 AM, <a
href="mailto:removed_email_address@domain.invalid" class="parsedEmail"
target="_blank">removed_email_address@domain.invalid</a> wrote:<br><blockquote
style="border-left: 3px solid rgb(102, 153, 204);">On Mon, Apr 6, 2009
at 5:11 AM, Mauro &lt;<a href="mailto:removed_email_address@domain.invalid"
target="_blank" class="parsedEmail
parsedEmail">removed_email_address@domain.invalid</a>&gt; wrote:<br>&gt; 
2009/4/6 Jay
McGaffigan &lt;<a href="mailto:removed_email_address@domain.invalid" 
parsedEmail">removed_email_address@domain.invalid</a>&gt;:<br>&gt;&gt; If you 
using glassfish.&nbsp; Please post your server log.&nbsp; I've
been<br>&gt;&gt; deploying to GF successfully for a while now and found
that the server log<br>&gt;&gt; is very helpful in pointing out what's
going on.<br>&gt;<br>&gt; I'm using glassfish v3 prelude and jruby
1.2.0RC2.<br>&gt; I go in administration console and deploy my
Hello.war.<br>&gt; This application prints only a "hello world" it
doesn't no more.<br>&gt; When I go to http://localhost:8080/Hello I see
the rails welcome page<br>&gt; but when I call the controller with its
action say/hello, the message<br>&gt; is:<br>&gt; "<br>&gt; We're sorry,
but something went wrong.<br>&gt;<br>&gt; We've been notified about this
issue and we'll take a look at it shortly.<br>&gt; "<br>&gt;<br>&gt; The
server.log is:<br>&gt;
warning: already initialized constant VERSION<br>&gt;
to create shared application instance<br>&gt;
org.jruby.rack.RackInitializationException: uninitialized
ActionController::Session::JavaServletStore<br><br>D'oh! So sorry,
you've been bitten by the jruby-rack/Rails 2.3<br>incompatibility issue.
It's described here:<br><a href=""
will be fixed in the next release of
unsubscribe from this list, please visit:<br><br>    <a
href="" class="parsedLink"

To unsubscribe from this list, please visit:
Nick S. (Guest)
on 2009-04-06 22:21
(Received via mailing list)
Actually, what I'm doing in the next release of jruby-rack is to not
override Rails' default session, which is the cookie store. Changing
your own Rails application to use the cookie store should work fine,
but due to the way that JRuby-Rack tries to default to a java servlet
based session store, it may still require the workaround mentioned in
the link.

On Mon, Apr 6, 2009 at 12:19 PM, Jay McGaffigan
<removed_email_address@domain.invalid> wrote:
> Apr 6, 2009 11:43:42 AM, removed_email_address@domain.invalid wrote:
>> This application prints only a "hello world" it doesn't no more.
> D'oh! So sorry, you've been bitten by the jruby-rack/Rails 2.3
> --------------------------------------------------------------------- To
> unsubscribe from this list, please visit:

To unsubscribe from this list, please visit:
This topic is locked and can not be replied to.