| View previous topic :: View next topic |
| Author |
Message |
mikev
Joined: 19 Oct 2009 Posts: 3
|
Posted: Mon Nov 02, 2009 5:41 pm Post subject: Ruby, Glassfish, Mutex relocking by same thread exception |
|
|
I commented out the startup code that was causing the issue at: http://forums.netbeans.org/viewtopic.php?t=19274&highlight=initialization and now I get the following. The initial web page loads and displays content properly but when I click on any link to another page causing a request to the server I get the following exception. I've seen some other posting about something this being a problem with not calling close on Rack when running in development. I've got my environment set to production in the warbler.rb file. Is there a new version of some gem that is needed?
End of component rendering
INFO: Completed in 61828ms (View: 61828, DB: 110) | 200 OK [http://localhost/cidr]
SEVERE: Mutex relocking by same thread
C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:31:in `lock': Mutex relocking by same thread (ThreadError)
from C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:31:in `run'
from C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in `call'
from C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in `call'
from C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:48:in `call'
from C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
from C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
from <script>:39:in `service'
from :1
...internal jruby stack elided...
from Mutex.lock(C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:31)
from #<Class:01x3302c6>.run(C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108)
from ActionController::Dispatcher.call(C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/static.rb:31)
from Rails::Rack::Static.call(C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:4
from Rack::URLMap.call(C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40)
from Array.each(C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40)
from Rack::URLMap.call(<script>:39)
from Grizzlet.service(:1) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|