Mutex errors in rails application

We just converted our MRI rails 2.3.2 app to JRuby 1.5.1 running under
Glassfish gem v3 and are occasionally getting the following 2 mutex
errors.
Any advice on investigating the problem would be appreciated. The mutex
not
locked has occurred twice and the other once over about 30K of those
requests over 12 hours.

A ThreadError occurred in inquiries#create_from_xml:
Mutex is not locked

A ThreadError occurred in inquiries#create_from_xml:
Mutex is not owned by calling thread

Same exact backtrace for both:
/opt/jruby-1.5.1/lib/ruby/1.8/monitor.rb:165:in mon_enter' /opt/jruby-1.5.1/lib/ruby/1.8/monitor.rb:165:in mon_enter’
/opt/jruby-1.5.1/lib/ruby/1.8/monitor.rb:189:in `mon_synchronize’

[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/module/synchronization.rb:35:in
`connected_with_synchronization?’

[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:333:in
`connected?’

[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:128:in
`connected?’

[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:46:in
`render_with_benchmark’

[RAILS_ROOT]/vendor/plugins/active_scaffold/lib/extensions/action_controller_rendering.rb:13:in
render_with_active_scaffold' [RAILS_ROOT]/app/controllers/inquiries_controller.rb:250:in create_from_xml’

View this message in context:
http://old.nabble.com/Mutex-errors-in-rails-application-tp28933962p28933962.html
Sent from the JRuby - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I should mention since it very well could be important that we’re using
the
spawn library to perform saving of the request as well as emailings
within
this controller action.

View this message in context:
http://old.nabble.com/Mutex-errors-in-rails-application-tp28933962p28934165.html
Sent from the JRuby - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

A ThreadError occurred in inquiries#create_from_xml:
Mutex is not owned by calling thread

Same exact backtrace for both:
/opt/jruby-1.5.1/lib/ruby/1.8/monitor.rb:165:in mon_enter' /opt/jruby-1.5.1/lib/ruby/1.8/monitor.rb:165:inmon_enter’
/opt/jruby-1.5.1/lib/ruby/1.8/monitor.rb:189:in `mon_synchronize’

try with 1.6.0 dev perhaps?
Do you have a reproducible script for it too?
-r