Grrrrrrrrrr...why It doesn't work under tomcat?


#1

I have rails 2.3.2 with jruby 1.2.0.
I create my application.war, deploy under tomcat and it is the error:
GRAVE: Exception caught
/home/u/apache-tomcat-6.0.18/webapps/jAlboFornitori/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/cgi_process.rb:49:in
dispatch_cgi': undefined method[]=’ for nil:NilClass
(NoMethodError)


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#2

On Wed, Apr 15, 2009 at 7:42 AM, Mauro removed_email_address@domain.invalid wrote:

I have rails 2.3.2 with jruby 1.2.0.
I create my application.war, deploy under tomcat and it is the error:
GRAVE: Exception caught
/home/u/apache-tomcat-6.0.18/webapps/jAlboFornitori/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/cgi_process.rb:49:in
dispatch_cgi': undefined method[]=’ for nil:NilClass
(NoMethodError)

Sorry for your troubles. First, since you’re using Rails 2.3.2, you
should install the newest jruby-rack jar file 1 and replace the
existing one in JRUBY_HOME/lib/ruby/gems/1.8/gems/warbler-0.9.12/lib
with it. I haven’t had a chance to release a newer Warbler yet that
contains the jar. I’m hoping to work out a scheme that will allow me
to stop bundling jar files in the warbler gem, so it’s more
independent of JRuby versions.

So try this first, and report back whether that fixed the problem.

Thanks,
/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#3

2009/4/15 Nick S. removed_email_address@domain.invalid:

existing one in JRUBY_HOME/lib/ruby/gems/1.8/gems/warbler-0.9.12/lib
with it. I haven’t had a chance to release a newer Warbler yet that
contains the jar. I’m hoping to work out a scheme that will allow me
to stop bundling jar files in the warbler gem, so it’s more
independent of JRuby versions.

So try this first, and report back whether that fixed the problem.

Under glassfish v3 prelude it works now :slight_smile:
I have still problems with tomcat, perhaps it’s my problem…


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email