org.jruby.exceptions.RaiseException: (SystemExit) watchdog timeout at Gem::Specification.contains_requirable_file?(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:982) at (Anonymous).find_by_path(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:443) at (Anonymous).each(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:411)

JIRA | Dominic Talbot | 5 years ago
  1. 0

    ]}, \"patterns_dir\"=>[], \"drop_if_match\"=>false, \"break_on_match\"=>true, \"named_captures_only\"=>true, \"keep_empty_captures\"=>false}"},"level":"fatal"} LogStash::ThreadWatchdog::TimeoutError: watchdog timeout watch at file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/logstash/threadwatchdog.rb:29 each at org/jruby/RubyArray.java:1615 watch at file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/logstash/threadwatchdog.rb:20 run_with_config at file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/logstash/agent.rb:446 Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (SystemExit) watchdog timeout at Gem::Specification.contains_requirable_file?(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:982) at (Anonymous).find_by_path(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:443) at (Anonymous).each(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:411) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1615) at (Anonymous).each(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:410) at org.jruby.RubyEnumerable.find(org/jruby/RubyEnumerable.java:573) at (Anonymous).find_by_path(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:442) at (Anonymous).try_activate(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:206) at Kernel.require(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:59) at Kernel.require(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55) at (Anonymous).(root)(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/gems/ftw-0.0.19/lib/rack/handler/ftw.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1042) at Kernel.require(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36) at (Anonymous).(root)(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/gems/ftw-0.0.19/lib/rack/handler/ftw.rb:3) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1042) at Kernel.require(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36) at logstash.runner.run(logstash/runner.rb:73) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:258) at logstash.runner.run(logstash/runner.rb:95) at logstash.runner.main(logstash/runner.rb:37) at logstash.runner.(root)(logstash/runner.rb:120)

    JIRA | 5 years ago | Dominic Talbot
    org.jruby.exceptions.RaiseException: (SystemExit) watchdog timeout at Gem::Specification.contains_requirable_file?(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:982) at (Anonymous).find_by_path(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:443) at (Anonymous).each(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:411)
  2. 0

    Unfortunately I can't provide you with my filter configuration, but I can provide you an error stack trace. Hope you can do something with it. {panel}Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (LocalJumpError) yield called out of block at LogStash::Filters::Clone.filter(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filters/clone.rb:31) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at LogStash::Filters::Clone.filter(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filters/clone.rb:24) at RUBY.flusher(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filterworker.rb:59) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at RUBY.flusher(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filterworker.rb:56) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at RUBY.flusher(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filterworker.rb:53) at RUBY.run(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filterworker.rb:37) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:249) at RUBY.interval(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/stud/interval.rb:11) at RUBY.interval(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/stud/interval.rb:25) at RUBY.run(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filterworker.rb:37) {panel}

    JIRA | 4 years ago | Johan Carinus
    org.jruby.exceptions.RaiseException: (LocalJumpError) yield called out of block at LogStash::Filters::Clone.filter(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filters/clone.rb:31)
  3. 0

    While backfilling Logstash with old logs, Logstash crashed with the following stack trace: {noformat} Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `<<' for nil:NilClass at LogStash::Filters::Grok.filter(file:/opt/logstash/logstash-1.1.9-monolithic.jar!/logstash/filters/grok.rb:369) at Grok::Match.each_capture(jar:file:/opt/logstash/logstash-1.1.9-monolithic.jar!/gems/jls-grok-0.10.10/lib/grok/pure/match.rb:23) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612) at Grok::Match.each_capture(jar:file:/opt/logstash/logstash-1.1.9-monolithic.jar!/gems/jls-grok-0.10.10/lib/grok/pure/match.rb:21) at LogStash::Filters::Grok.filter(file:/opt/logstash/logstash-1.1.9-monolithic.jar!/logstash/filters/grok.rb:317) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612) at LogStash::Filters::Grok.filter(file:/opt/logstash/logstash-1.1.9-monolithic.jar!/logstash/filters/grok.rb:301) at org.jruby.RubyHash.each(org/jruby/RubyHash.java:1257) at LogStash::Filters::Grok.filter(file:/opt/logstash/logstash-1.1.9-monolithic.jar!/logstash/filters/grok.rb:292) at LogStash::FilterWorker.flusher(file:/opt/logstash/logstash-1.1.9-monolithic.jar!/logstash/filterworker.rb:50) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612) at LogStash::FilterWorker.flusher(file:/opt/logstash/logstash-1.1.9-monolithic.jar!/logstash/filterworker.rb:48) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612) at LogStash::FilterWorker.flusher(file:/opt/logstash/logstash-1.1.9-monolithic.jar!/logstash/filterworker.rb:45) at RUBY.run(file:/opt/logstash/logstash-1.1.9-monolithic.jar!/logstash/filterworker.rb:29) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:249) at RUBY.interval(jar:file:/opt/logstash/logstash-1.1.9-monolithic.jar!/gems/stud-0.0.8/lib/stud/interval.rb:11) at RUBY.run(file:/opt/logstash/logstash-1.1.9-monolithic.jar!/logstash/filterworker.rb:29) {noformat} From what I can see, event.fields[key] ||= [] (grok.rb:368) isn't behaving as expected and when Logstash tries to push to event.fields[key] on the next line, it's still nil. Perhaps I'm wrong, I don't really know Ruby, I can just about read it, and Googled for information I didn't know. Thanks, Daniel EDIT: Just to add, those line numbers are from the grok.rb contained in the 1.1.9 jar and don't correspond with the current git tree.

    JIRA | 4 years ago | Daniel Brierton
    org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `<<' for nil:NilClass at LogStash::Filters::Grok.filter(file:/opt/logstash/logstash-1.1.9-monolithic.jar!/logstash/filters/grok.rb:369) at Grok::Match.each_capture(jar:file:/opt/logstash/logstash-1.1.9-monolithic.jar!/gems/jls-grok-0.10.10/lib/grok/pure/match.rb:23)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Installer blocks on launching the web-console. === 2015-05-14 02:38:40,478 INFO [p.t.internal] Beginning shutdown sequence 2015-05-14 02:38:40,488 INFO [p.t.s.w.jetty9-service] Shutting down web server(s). 2015-05-14 02:38:40,491 INFO [p.t.internal] Finished shutdown sequence 2015-05-14 02:39:00,090 INFO [o.e.j.u.log] Logging initialized @11321ms 2015-05-14 02:39:01,921 INFO [p.t.s.w.jetty9-service] Initializing web server(s). 2015-05-14 02:39:01,998 INFO [p.s.j.jruby-puppet-service] Initializing the JRuby service 2015-05-14 02:39:01,999 WARN [p.s.j.jruby-puppet-core] No configuration value found for jruby-puppet max-active-instances; using default value of 3. Please consider setting this value explicitly in the jruby-puppet section of your Puppet Server config files. 2015-05-14 02:39:13,268 ERROR [p.t.internal] Error during service init!!! java.lang.IllegalStateException: Unable to borrow JRuby instance from pool at puppetlabs.services.jruby.jruby_puppet_core$eval12710$validate_instance_from_pool_BANG___12711$fn__12712.invoke(jruby_puppet_core.clj:298) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12710$validate_instance_from_pool_BANG___12711.invoke(jruby_puppet_core.clj:288) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12808$borrow_from_pool_with_timeout__12809$fn__12810.invoke(jruby_puppet_core.clj:348) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12808$borrow_from_pool_with_timeout__12809.invoke(jruby_puppet_core.clj:336) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_service$reify__13088$service_fnk__5259__auto___positional$reify__13099.borrow_instance(jruby_puppet_service.clj:73) ~[na:na] at puppetlabs.services.config.puppet_server_config_core$eval14067$get_puppet_config__14068$fn__14069$fn__14070.invoke(puppet_server_config_core.clj:101) ~[na:na] at puppetlabs.services.config.puppet_server_config_core$eval14067$get_puppet_config__14068$fn__14069.invoke(puppet_server_config_core.clj:101) ~[na:na] at puppetlabs.services.config.puppet_server_config_core$eval14067$get_puppet_config__14068.invoke(puppet_server_config_core.clj:96) ~[na:na] at puppetlabs.services.config.puppet_server_config_service$reify__14094$service_fnk__5259__auto___positional$reify__14105.init(puppet_server_config_service.clj:24) ~[na:na] at puppetlabs.trapperkeeper.services$eval5095$fn__5096$G__5087__5099.invoke(services.clj:10) ~[na:na] at puppetlabs.trapperkeeper.services$eval5095$fn__5096$G__5086__5103.invoke(services.clj:10) ~[na:na] at puppetlabs.trapperkeeper.internal$run_lifecycle_fn_BANG_.invoke(internal.clj:154) ~[na:na] at puppetlabs.trapperkeeper.internal$run_lifecycle_fns.invoke(internal.clj:182) ~[na:na] at puppetlabs.trapperkeeper.internal$build_app_STAR_$reify__5955.init(internal.clj:446) [na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_$fn__5967.invoke(internal.clj:472) [na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_.invoke(internal.clj:471) [na:na] at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:113) [na:na] at puppetlabs.trapperkeeper.core$run.invoke(core.clj:144) [na:na] at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:159) [na:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:394) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:165) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:624) [puppet-server-release.jar:na] at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:394) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:165) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:624) [puppet-server-release.jar:na] at clojure.main$main_opt.invoke(main.clj:315) [puppet-server-release.jar:na] at clojure.main$main.doInvoke(main.clj:420) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:512) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:409) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:178) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.main.main(main.java:37) [puppet-server-release.jar:na] Caused by: org.jruby.embed.EvalFailedException: (Error) Cannot determine basic system flavour at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1340) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1333) ~[puppet-server-release.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_79-icedtea] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_79-icedtea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79-icedtea] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79-icedtea] at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) ~[puppet-server-release.jar:na] at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) ~[puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) ~[na:na] at clojure.lang.AFn.applyToHelper(AFn.java:160) [puppet-server-release.jar:na] at clojure.lang.AFn.applyTo(AFn.java:144) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:137) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:408) [puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) ~[na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) ~[puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:154) [puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:132) [puppet-server-release.jar:na] at clojure.lang.Agent$Action.doRun(Agent.java:114) ~[puppet-server-release.jar:na] at clojure.lang.Agent$Action.run(Agent.java:163) ~[puppet-server-release.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_79-icedtea] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_79-icedtea] at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_79-icedtea] Caused by: org.jruby.exceptions.RaiseException: (Error) Cannot determine basic system flavour at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/feature/base.rb:32) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.Puppet(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29) ~[na:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.(root)(file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) ~[na:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) ~[na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) ~[puppet-server-release.jar:na] 2015-05-14 02:39:13,271 INFO [p.t.internal] Beginning shutdown sequence 2015-05-14 02:39:13,267 ERROR [p.t.internal] shutdown-on-error triggered because of exception! java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:59) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) [na:na] at clojure.lang.AFn.applyToHelper(AFn.java:160) [puppet-server-release.jar:na] at clojure.lang.AFn.applyTo(AFn.java:144) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:137) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:408) [puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) [na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:154) [puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:132) [puppet-server-release.jar:na] at clojure.lang.Agent$Action.doRun(Agent.java:114) [puppet-server-release.jar:na] at clojure.lang.Agent$Action.run(Agent.java:163) [puppet-server-release.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79-icedtea] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79-icedtea] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79-icedtea] Caused by: org.jruby.embed.EvalFailedException: (Error) Cannot determine basic system flavour at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1340) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1333) ~[puppet-server-release.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_79-icedtea] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_79-icedtea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79-icedtea] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79-icedtea] at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) ~[puppet-server-release.jar:na] at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) ~[puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] ... 24 common frames omitted Caused by: org.jruby.exceptions.RaiseException: (Error) Cannot determine basic system flavour at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/feature/base.rb:32) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.Puppet(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29) ~[na:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.(root)(file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) [na:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) [na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) [puppet-server-release.jar:na] 2015-05-14 02:39:13,284 INFO [p.t.s.w.jetty9-service] Shutting down web server(s). 2015-05-14 02:39:13,288 INFO [p.t.internal] Finished shutdown sequence

    JIRA | 2 years ago | Michael Tomkins
    java.lang.IllegalStateException: Unable to borrow JRuby instance from pool
  6. 0

    at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) root@pe-master:/var/log/pe-puppetserver# tail pe-puppetserver-daemon.log -n 100 Puppet at /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75 require at org/jruby/RubyKernel.java:1071 (root) at /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29 (root) at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1 require at org/jruby/RubyKernel.java:1071 require at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55 (root) at file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1 require at org/jruby/RubyKernel.java:1071 (root) at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1 require at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55 invoke at jruby_puppet_core.clj:187 invoke at jruby_puppet_core.clj:204 invoke at jruby_puppet_core.clj:190 invoke at jruby_puppet_agents.clj:54 invoke at jruby_puppet_agents.clj:39 invoke at jruby_puppet_agents.clj:116 invoke at internal.clj:256 invoke at internal.clj:240 shutdown_on_error at internal.clj:295 invoke at internal.clj:264 invoke at internal.clj:264 invoke at core.clj:626 doInvoke at core.clj:2468 invoke at core.clj:626 doInvoke at core.clj:2468 invoke at jruby_puppet_agents.clj:35 invoke at core.clj:1913 Exception in thread "main" java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:59) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) at clojure.lang.AFn.applyToHelper(AFn.java:160) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.lang.RestFn.invoke(RestFn.java:408) at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) at clojure.lang.AFn.applyToHelper(AFn.java:154) at clojure.lang.RestFn.applyTo(RestFn.java:132) at clojure.lang.Agent$Action.doRun(Agent.java:114) at clojure.lang.Agent$Action.run(Agent.java:163) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.jruby.embed.EvalFailedException: (Error) Cannot determine basic system flavour at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133) at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1340) at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1333) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ... 24 more Caused by: org.jruby.exceptions.RaiseException: (Error) Cannot determine basic system flavour at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/feature/base.rb:32) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at RUBY.Puppet(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29) at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at RUBY.(root)(file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913)

    JIRA | 2 years ago | xuhuajie
    java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jruby.exceptions.RaiseException

      (SystemExit) watchdog timeout at Gem::Specification.contains_requirable_file?(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:982) at (Anonymous).find_by_path(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:443) at (Anonymous).each(file:/home/logger/logstash/logstash-1.1.1-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:411)

      at org.jruby.RubyArray.each()
    2. JRuby Main Maven Artifact
      RubyArray.each
      1. org.jruby.RubyArray.each(org/jruby/RubyArray.java:1615)
      1 frame