All,
I'm attempting to run the logstash web interface from the project's
provided monolithic jar from
http://semicomplete.com/files/logstash/logstash-1.0.17-monolithic.jar
which on my system is named /srv/logstash.jar
I'm running the web interface through supervisor, configuration like so:
[program:logstash_web]
command=java -jar -Xms64m -Xmx128m /srv/logstash.jar web --address
10.181.136.97 --log /var/log/logstash/web.log
startsecs=60
On 'supervisorctl start logstash_web' I receive many of:
Exception in thread "main" org.jruby.exceptions.RaiseException:
(LoadError) no such file to load --
file:/srv/logstash.jar!/gems/mizuno-0.4.0/lib/java/jetty-jmx-7.3.0.v20110203
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038)
at
Kernel.require(file:/srv/logstash.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29)
at
#<Class:0x117a73d30>.(root)(file:/srv/logstash.jar!/gems/mizuno-0.4.0/lib/mizuno.rb:12)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603)
at
#<Class:0x117a73d30>.(root)(file:/srv/logstash.jar!/gems/mizuno-0.4.0/lib/mizuno.rb:12)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038)
at
Kernel.require(file:/srv/logstash.jar!/gems/mizuno-0.4.0/lib/mizuno.rb:32)
at
#<Class:0x117a73d30>.(root)(file:/srv/logstash.jar!/logstash/web/runner.rb:2)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038)
at Kernel.require(file:/srv/logstash.jar!/logstash/web/runner.rb:29)
at logstash.runner.run(logstash/runner.rb:39)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:268)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:228)
at logstash.runner.run(logstash/runner.rb:53)
at logstash.runner.main(logstash/runner.rb:13)
at logstash.runner.(root)(logstash/runner.rb:70)
However, if I cut supervisor out of the loop and do just:
# java -jar -Xms64m -Xmx128m /srv/logstash.jar web --address
10.181.136.97 --log /var/log/logstash/web.log
Listening on 10.181.136.97:9292
2011-10-05 23:05:55.378:INFO::jetty-7.x.y-SNAPSHOT
2011-10-05 23:05:55.409:INFO::started o.e.j.s.ServletContextHandler{/,null}
2011-10-05 23:05:55.416:INFO::Started [email protected]:9292
then there is no problem. I am running Debian supervisor 3.0a8-1. Ideas?
--
Brian L. Troutwine
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users