title: Logstash stopped processing because of an error: (SystemExit) exit org.jruby.exceptions.SystemExit
body: <p>I am trying to run logstash on Windows.</p>
  <p>Just installed <a href="https://www.oracle.com/java/technologies/javase-jdk16-downloads.html#license-lightbox" rel="nofollow noreferrer">Java</a>. Then ran logstash as descirbed <a href="https://www.elastic.co/guide/en/logstash/current/running-logstash-windows.html" rel="nofollow noreferrer">here</a>.</p>
  <p>Also validated the java install as described in the <a href="https://www.elastic.co/guide/en/logstash/current/running-logstash-windows.html#running-logstash-windows-validation" rel="nofollow noreferrer">same page</a>.</p>
  <p>And then when I run <a href="https://www.elastic.co/guide/en/logstash/current/running-logstash-windows.html#running-logstash-windows-manual" rel="nofollow noreferrer">logstash manually</a>, it first started, but then immediately shutdown, spitting this right on my face.</p>
  <p>What am I missing?</p>
  <pre><code>PS D:\Vivek\Softwares\logstash-7.12.0-windows-x86_64\logstash-7.12.0&gt; .\bin\logstash.bat -f .\config\syslog.conf
  Using JAVA_HOME defined java: C:\Program Files\Java\jdk-16
  WARNING, using JAVA_HOME while Logstash distribution comes with a bundled JDK
  2021-04-10T09:47:38.036+05:30 [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
  Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
  Sending Logstash logs to D:/Vivek/Softwares/logstash-7.12.0-windows-x86_64/logstash-7.12.0/logs which is now configured via log4j2.properties
  [2021-04-10T09:47:48,897][INFO ][logstash.runner          ] Log4j configuration path used is: D:\Vivek\Softwares\logstash-7.12.0-windows-x86_64\logstash-7.12.0\config\log4j2.properties
  [2021-04-10T09:47:48,905][INFO ][logstash.runner          ] Starting Logstash {&quot;logstash.version&quot;=&gt;&quot;7.12.0&quot;, &quot;jruby.version&quot;=&gt;&quot;jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc Java HotSpot(TM) 64-Bit Server VM 16+36-2231 on 16+36-2231 +indy +jit [mswin32-x86_64]&quot;}
  [2021-04-10T09:47:48,995][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
  [2021-04-10T09:47:49,259][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=&gt;&quot;D:/Vivek/Softwares/logstash-7.12.0-windows-x86_64/logstash-7.12.0/config/syslog.conf&quot;}
  [2021-04-10T09:47:49,263][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
  [2021-04-10T09:47:49,415][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=&gt;9600}
  [2021-04-10T09:47:54,462][INFO ][logstash.runner          ] Logstash shut down.
  [2021-04-10T09:47:54,471][FATAL][org.logstash.Logstash    ] Logstash stopped processing because of an error: (SystemExit) exit
  org.jruby.exceptions.SystemExit: (SystemExit) exit
          at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.13.0.jar:?]
          at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.13.0.jar:?]
          at D_3a_.Vivek.Softwares.logstash_minus_7_dot_12_dot_0_minus_windows_minus_x86_64.logstash_minus_7_dot_12_dot_0.lib.bootstrap.environment.&lt;main&gt;(D:\Vivek\Softwares\logstash-7.12.0-windows-x86_64\logstash-7.12.0\lib\bootstrap\environment.rb:89) ~[?:?]
  </code></pre>