Bugs item #9711, was opened at 2007-03-31 12:12
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=7857&aid=9711&group_id=2014

Category: rails-integration
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: Robert Egglestone (tantalon)
Assigned to: Robert Egglestone (tantalon)
Summary: Tomcat4 problem

Initial Comment:
Has anyone else seen a problem with using Tomcat4 + ActiveRecord-JDBC+RI 1.0?
 
Our application can read our database without any problem, but an update or 
write fails (there are *no* errors reported).
No data fields are written. If we create a new record, the record is created 
but the fields are all blank.
 
--------

Updating from the JRuby scrpit/console works correctly.

--------

It looks like not all the parameters are being set.
Processing PortalController#update (for 127.0.0.1 at 2007-03-19 10:17:07) [POST]
  Session ID: 2371bc481dedbc76190d88f994512c6c
  Parameters: {"controller"=>"portal", "action"=>"update", "id"=>"6"}
Redirected to http://127.0.0.1:8080/ccms-jr/portal/show/6
Completed in 0.40700 (2 reqs/sec) | DB: 0.00000 (0%) | 302 Found 
[http://127.0.0.1/ccms-jr/portal/update/6]

It also looks like static files are going to RailsServlet rather than 
FileServlet.
ActionController::UnknownAction (No action responded to stylesheets):
    
C:/Apps/jakarta-tomcat-4.1.31/./temp/jruby-rails-4196.tmp/lib/ruby/gems/1.8/gems/actionpack-1.13

I wonder if it's because we're generating a web.xml for servlet-api 2.4, but 
Tomcat 4 only supports 2.3.

Anyway I'll try it out with Tomcat 4 and see what happens.

----------------------------------------------------------------------

>Comment By: Robert Egglestone (tantalon)
Date: 2007-12-18 11:36

Message:
The patch has been in there for ages, and haven't heard anything more about the 
issue, so will assume it's all good.

----------------------------------------------------------------------

Comment By: Ola Bini (olabini)
Date: 2007-08-12 01:28

Message:
Anyone still have this problem?

----------------------------------------------------------------------

Comment By: Robert Egglestone (tantalon)
Date: 2007-04-28 19:27

Message:
Changed plugin to generate 2.3 web.xml
This needs more testing

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=7857&aid=9711&group_id=2014
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to