org.jruby.exceptions.RaiseException: (SystemExit) execution expired

JIRA | Jonathan Moo | 5 years ago
  1. 0

    After having installed openjdk java, I proceded to run the logstash-1.0.17-monolithic.jar via this command: java -jar logstash-1.0.17-monolithic.jar agent -f agent-shipper.conf Some how I see some logs displayed in a flash and then an exception is immediately thrown. Qrack::ConnectionTimeout: execution expired initialize at org/jruby/ext/socket/RubyTCPSocket.java:115 new at org/jruby/RubyIO.java:864 socket at file:/home/cgiadmin/Applications/logstash-1.0.17-monolithic.jar!/gems/bunny-0.6.0/lib/qrack/client.rb:179 timeout at org/jruby/ext/Timeout.java:139 socket at file:/home/cgiadmin/Applications/logstash-1.0.17-monolithic.jar!/gems/bunny-0.6.0/lib/qrack/client.rb:178 start_session at file:/home/cgiadmin/Applications/logstash-1.0.17-monolithic.jar!/gems/bunny-0.6.0/lib/bunny/client08.rb:391 loop at org/jruby/RubyKernel.java:1419 start_session at file:/home/cgiadmin/Applications/logstash-1.0.17-monolithic.jar!/gems/bunny-0.6.0/lib/bunny/client08.rb:389 connect at file:/home/cgiadmin/Applications/logstash-1.0.17-monolithic.jar!/logstash/outputs/amqp.rb:81 register at file:/home/cgiadmin/Applications/logstash-1.0.17-monolithic.jar!/logstash/outputs/amqp.rb:62 run_output at file:/home/cgiadmin/Applications/logstash-1.0.17-monolithic.jar!/logstash/agent.rb:522 run_with_config at file:/home/cgiadmin/Applications/logstash-1.0.17-monolithic.jar!/logstash/agent.rb:370 call at org/jruby/RubyProc.java:268 call at org/jruby/RubyProc.java:232 Exception in thread "LogStash::Agent" org.jruby.exceptions.RaiseException: (SystemExit) execution expired at org.jruby.RubyThread.join(org/jruby/RubyThread.java:509) at LogStash::Agent.wait(file:/home/cgiadmin/Applications/logstash-1.0.17-monolithic.jar!/logstash/agent.rb:277) at logstash.runner.main(logstash/runner.rb:17) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) at logstash.runner.main(logstash/runner.rb:17) at logstash.runner.(root)(logstash/runner.rb:70) This is my config file configuration: input { #file { # type => "syslog" # Wildcards work here :) # path => [ "/var/log/messages", "/var/log/syslog", "/var/log/*.log" ] #} file { type => "cnetasia-openapiv2" path => "/var/log/httpd/asia.cnet.com-openapiv2-access.log" } #file { # type => "apache-error" # path => "/var/log/httpd/error_log" #} } output { # Output events to stdout for debugging. Feel free to remove # this output if you don't need it. stdout { } # Ship events to the amqp fanout queue named 'rawlogs" amqp { host => "172.17.112.98" exchange_type => "fanout" name => "rawlogs" } } I did not have jRuby installed in this server because I thought that I am compiling from the jar file hence it is not needful for it. Is there anything wrong with my setup? Let me know if you need other info from me to help solve this jRuby Exception. Many thanks! Regards, Jonathan

    JIRA | 5 years ago | Jonathan Moo
    org.jruby.exceptions.RaiseException: (SystemExit) execution expired
  2. 0

    With input syslog, an integer is required for facility. {code:title=config|borderStyle=solid} input { syslog { format => "plain" message_format => "plain" type => "syslog" } } filter { grep { type => "syslog" match => ["@message", "\w"] add_field => ["facility", "i-cause-an-error"] } } output { stdout { } } {code} cause {code:title=error|borderStyle=solid} TypeError: can't convert String into Integer << at org/jruby/RubyBignum.java:747 << at org/jruby/RubyFixnum.java:1007 filter_matched at file:/usr/lib/microsigns/logstash-1.0.17-monolithic.jar!/logstash/filters/base.rb:67 each at org/jruby/RubyHash.java:1170 filter_matched at file:/usr/lib/microsigns/logstash-1.0.17-monolithic.jar!/logstash/filters/base.rb:65 filter at file:/usr/lib/microsigns/logstash-1.0.17-monolithic.jar!/logstash/filters/grep.rb:103 filter at file:/usr/lib/microsigns/logstash-1.0.17-monolithic.jar!/logstash/filterworker.rb:50 each at org/jruby/RubyArray.java:1603 filter at file:/usr/lib/microsigns/logstash-1.0.17-monolithic.jar!/logstash/filterworker.rb:42 each at org/jruby/RubyArray.java:1603 filter at file:/usr/lib/microsigns/logstash-1.0.17-monolithic.jar!/logstash/filterworker.rb:41 run at file:/usr/lib/microsigns/logstash-1.0.17-monolithic.jar!/logstash/filterworker.rb:29 run_filter at file:/usr/lib/microsigns/logstash-1.0.17-monolithic.jar!/logstash/agent.rb:511 run_with_config at file:/usr/lib/microsigns/logstash-1.0.17-monolithic.jar!/logstash/agent.rb:360 call at org/jruby/RubyProc.java:268 call at org/jruby/RubyProc.java:232 Exception in thread "LogStash::Agent" org.jruby.exceptions.RaiseException: (SystemExit) can't convert String into Integer at org.jruby.RubyThread.join(org/jruby/RubyThread.java:509) at LogStash::Agent.wait(file:/usr/lib/microsigns/logstash-1.0.17-monolithic.jar!/logstash/agent.rb:277) at logstash.runner.main(logstash/runner.rb:17) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) at logstash.runner.main(logstash/runner.rb:17) at logstash.runner.(root)(logstash/runner.rb:70) {code}

    JIRA | 5 years ago | Bruno Clermont
    org.jruby.exceptions.RaiseException: (SystemExit) can't convert String into Integer
  3. 0

    The file input randomly fails to register with an error requiring 'filewatch/tail' The problem feels like some sort of race condition loading as it works some of the time, throws the below error others: {noformat:borderStyle=solid|title=Error} $ sudo java -jar logstash-monolithic.jar agent -f /etc/logstash/collector-agent.conf -v LoadError: no such file to load -- filewatch/tail require at org/jruby/RubyKernel.java:1047 require at file:/usr/lib/logstash/logstash-1.1.0beta2-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32 require at file:/usr/lib/logstash/logstash-1.1.0beta2-monolithic.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29 register at file:/usr/lib/logstash/logstash-1.1.0beta2-monolithic.jar!/logstash/inputs/file.rb:48 run_input at file:/usr/lib/logstash/logstash-1.1.0beta2-monolithic.jar!/logstash/agent.rb:486 run_with_config at file:/usr/lib/logstash/logstash-1.1.0beta2-monolithic.jar!/logstash/agent.rb:345 I, [2011-09-13T20:10:31.023000 #12925] INFO -- runner.class: Registering output amqp://logstash@logqueue1.mediachaperone.com:5672/raw_logs/topic/logqueue1 I, [2011-09-13T20:10:31.050000 #12925] INFO -- runner.class: Registering file input for /var/log/XXX/*_XXX.log:/var/log/XXX/XXX.log:/var/log/XXX/XXX.log:/var/log/XXX/XXX.log Exception in thread "LogStash::Agent" org.jruby.exceptions.RaiseException: (SystemExit) no such file to load -- filewatch/tail at org.jruby.RubyThread.join(org/jruby/RubyThread.java:509) at LogStash::Agent.wait(file:/usr/lib/logstash/logstash-1.1.0beta2-monolithic.jar!/logstash/agent.rb:277) at logstash.runner.main(logstash/runner.rb:37) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) at logstash.runner.main(logstash/runner.rb:37) at logstash.runner.(root)(logstash/runner.rb:90) {noformat} Here's the config (with a few values changed): {noformat:borderStyle=solid|title=collector-agent.conf} input { file { tags => ["prod"] type => "common" path => ["/var/log/app/*_app.log", "/var/log/app/console.log"] } file { tags => ["prod"] type => "app" path => ["/data/app-*/shared/log/prod*.log", "/data/app-*/shared/log/development.log"] } } output { amqp { name => "logqueue1" exchange_type => "topic" user => "logstash" port => 5672 host => "logqueue1" debug => false vhost => "/raw_logs" durable => false password => "logstash" } } {noformat}

    JIRA | 5 years ago | Michael Leinartas
    org.jruby.exceptions.RaiseException: (SystemExit) no such file to load -- filewatch/tail
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When using the attached configurations and example events, the following behavior occurs: Mac OSx 10.7, Sun Java 1.6.0_29 64bit Server VM Works as expected CentOS 5.7, OpenJDK Java 1.6.0_20 64bit Server VM Throws this exception: {code} @400000004f3d8578354108a4 RuntimeError: Deep recursion pattern compilation of "%{NETSCALERLOG}" - expanded: "%{NETSCALERLOG}" @400000004f3d85783541145c compile at file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/gems/jls-grok-0.9.6/lib/grok-pure.rb:81 @400000004f3d857835411c2c loop at org/jruby/RubyKernel.java:1420 @400000004f3d857835412014 compile at file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/gems/jls-grok-0.9.6/lib/grok-pure.rb:79 @400000004f3d8578354127e4 compile at file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/gems/jls-grok-0.9.6/lib/grok/pure/pile.rb:51 @400000004f3d85783541d7ac register at file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/logstash/filters/grok.rb:143 @400000004f3d85783541df7c each at org/jruby/RubyArray.java:1612 @400000004f3d85783541e74c register at file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/logstash/filters/grok.rb:141 @400000004f3d85783541ef1c each at org/jruby/RubyHash.java:1175 @400000004f3d8578354202a4 register at file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/logstash/filters/grok.rb:127 @400000004f3d857835420a74 run_with_config at file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:382 @400000004f3d857835423d3c run_with_config at file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:382 @400000004f3d85783542450c each at org/jruby/RubyArray.java:1612 @400000004f3d8578354248f4 run_with_config at file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:380 @400000004f3d8578354250c4 run_with_config at file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:340 @400000004f3d857835426834 run at file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:304 @400000004f3d85783570debc Exception in thread "LogStash::Agent" org.jruby.exceptions.RaiseException: (SystemExit) Deep recursion pattern compilation of "%{NETSCALERLOG}" - expanded: "%{NETSCALERLOG}" @400000004f3d85783575ad34 at org.jruby.RubyThread.join(org/jruby/RubyThread.java:509) @400000004f3d857835760edc at LogStash::Web::Runner.wait(file:/usr/local/logstash/bin/logstash-1.1.0-monolithic.jar!/logstash/web/runner.rb:75) @400000004f3d857835765144 at logstash.runner.main(logstash/runner.rb:40) @400000004f3d85783576ab1c at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612) @400000004f3d85783576ed84 at logstash.runner.main(logstash/runner.rb:40) @400000004f3d857835774374 at logstash.runner.(root)(logstash/runner.rb:108) {code}

    JIRA | 5 years ago | Ryan Gooler
    org.jruby.exceptions.RaiseException: (SystemExit) Deep recursion pattern compilation of "%{NETSCALERLOG}" - expanded: "%{NETSCALERLOG}"
  6. 0

    hi, i'm trying to add type in output / gelf to act with type specified in input/file the shipper file was as following : input { file { type => "nginx" path => ["/var/log/nginx/*.log"] } } output { gelf { host => "example.org" type => "nginx" facility => "celeryd" } } E, [2012-02-06T14:14:14.253000 #32417] ERROR -- runner.class: Unknown setting 'type' for output/gelf E, [2012-02-06T14:14:14.272000 #32417] ERROR -- runner.class: Config validation failed. Exception in thread "LogStash::Agent" org.jruby.exceptions.RaiseException: (SystemExit) exit at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:867) at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:836) at LogStash::Config::Mixin.config_init(file:/opt/logstash-1.1.0-monolithic.jar!/logstash/config/mixin.rb:48) at LogStash::Outputs::Base.initialize(file:/opt/logstash-1.1.0-monolithic.jar!/logstash/outputs/base.rb:19) at LogStash::Agent.run_with_config(file:/opt/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:293) at LogStash::Config::File.parse(file:/opt/logstash-1.1.0-monolithic.jar!/logstash/config/file.rb:49) at LogStash::Config::File.each(file:/opt/logstash-1.1.0-monolithic.jar!/logstash/config/file.rb:86) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) at LogStash::Config::File.each(file:/opt/logstash-1.1.0-monolithic.jar!/logstash/config/file.rb:85) at org.jruby.RubyHash.each(org/jruby/RubyHash.java:1170) at LogStash::Config::File.each(file:/opt/logstash-1.1.0-monolithic.jar!/logstash/config/file.rb:78) at LogStash::Config::File.parse(file:/opt/logstash-1.1.0-monolithic.jar!/logstash/config/file.rb:34) at LogStash::Agent.run_with_config(file:/opt/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:283) at LogStash::Agent.run(file:/opt/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:269) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:268) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:232)

    JIRA | 5 years ago | Eslam El Husseiny
    org.jruby.exceptions.RaiseException: (SystemExit) exit

    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) execution expired

      at org.jruby.RubyThread.join()
    2. JRuby Main Maven Artifact
      RubyThread.join
      1. org.jruby.RubyThread.join(org/jruby/RubyThread.java:509)
      1 frame