J'ai Ubuntu 8.10, exécutant glassfish v3 (pas prélude). premier déploiement de tout jruby sur un SERVEUR glassfish v3 (pas la gemme). J'ai déployé l'application en utilisant la méthode 'choose folder', plutôt que la méthode de déploiement asadmin, bien que j'aie aussi essayé cela.jRuby Glassfish v3 expéditeur erreur
je reçois le message d'erreur suivant:
#|2010-10-18T16:48:01.643+1100|SEVERE|glassfish3.0.1|org.glassfish.scripting.jruby.JRubyContainer|_ThreadID=35;_ThreadName=Thread-1;|no such file to load -- dispatcher
from /home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/rack/adapter/rails.rb:99:in `load_application'
from file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/rack/adapter/rails.rb:75:in `initialize'
from file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/jruby/rack/rails.rb:25:in `new'
from file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/jruby/rack/rails.rb:25:in `new'
from <script>:1
/home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require': no such file to load -- dispatcher (LoadError)
from /home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/rack/adapter/rails.rb:99:in `load_application'
from file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/rack/adapter/rails.rb:75:in `initialize'
from file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/jruby/rack/rails.rb:25:in `new'
from file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/jruby/rack/rails.rb:25:in `new'
from <script>:1
...internal jruby stack elided...
from Kernel.require(/home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239)
from ActiveSupport::Dependencies::Loadable.require(/home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225)
from ActiveSupport::Dependencies::Loadable.load_dependency(/home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591)
from ActiveSupport::Dependencies.new_constants_in(/home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225)
from ActiveSupport::Dependencies::Loadable.load_dependency(/home/architect/development/jruby/jruby-1.5.3/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239)
from ActiveSupport::Dependencies::Loadable.require(file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/rack/adapter/rails.rb:99)
from Rack::Adapter::Rails.load_application(file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/rack/adapter/rails.rb:75)
from Rack::Adapter::Rails.initialize(file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/jruby/rack/rails.rb:25)
from (unknown).new(file:/opt/glassfishv3/glassfish/modules/grizzly-jruby.jar!/jruby/rack/rails.rb:25)
from #<Class:01x1719508>.new(<script>:1)
from (unknown).(unknown)(:1)
ce qui est très bizarre. Je ne peux pas en trouver beaucoup, mais je sais par expérience que le répartiteur a été supprimé et que l'on ne peut plus utiliser ruby on rails apps avec mongrel. dans ce cas, avec jruby en place et glassfish v3, je n'ai aucune idée de ce qui se passe. pourquoi cherche-t-il même un répartiteur?
des conseils sur ma config serait super. Que suis-je susceptible de manquer? Le glassfish ne devrait-il pas le traiter comme une application en rack et ce problème ne devrait pas se produire.
Notez également, si je cours l'application avec jruby dans WEBrick, tout est bon.
merci!