Issue with 1.1.8 on windows

Description

Error when running 1.1.8 on Windows

C:\bin\logstash>java -jar logstash-1.1.8-monolithic.jar agent -f shipper.conf
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (LoadError) no such file to load – stud/interval
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at Kernel.require(jar:file:/C:/bin/logstash/logstash-1.1.8-monolithic.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at Kernel.require(file:/C:/bin/logstash/logstash-1.1.8-monolithic.jar!/logstash/JRUBY-6970.rb:10)
at RUBY.(root)(file:/C:/bin/logstash/logstash-1.1.8-monolithic.jar!/logstash/filterworker.rb:5)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at Kernel.require(jar:file:/C:/bin/logstash/logstash-1.1.8-monolithic.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at Kernel.require(file:/C:/bin/logstash/logstash-1.1.8-monolithic.jar!/logstash/JRUBY-6970.rb:10)
at RUBY.(root)(file:/C:/bin/logstash/logstash-1.1.8-monolithic.jar!/logstash/agent.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at RUBY.(root)(file:/C:/bin/logstash/logstash-1.1.8-monolithic.jar!/logstash/agent.rb:3)
at RUBY.(root)(jar:file:/C:/bin/logstash/logstash-1.1.8-monolithic.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1)
at logstash.runner.run(logstash/runner.rb:95)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:249)
at logstash.runner.run(logstash/runner.rb:173)
at logstash.runner.main(logstash/runner.rb:71)
at logstash.runner.(root)(logstash/runner.rb:198)

My config file:

input {
stdin {
type => "stdin-type"
}
}

output {
stdout { debug => true debug_format => "json"}
redis { host => "10.5.1.190" data_type => "list" key => "logstash" }
}

Gliffy Diagrams

Activity

Philippe Weber August 1, 2014 at 7:27 AM

For sure 1.4.x play very nice on windows

Jordan Sissel May 31, 2013 at 2:42 PM

FYI, the reason for reopening this ticket appears to be for a totally unrelated bug than this was filed for.

Hans-Peter Störr May 31, 2013 at 1:58 PM

For logstash-1.1.13-flatjar.jar and logstasj-1.2.0.dev-flatjar.jar the exception is currently
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (Errno::ENOENT) No such directory: file:/C:/cygwin/home/hps/logstash/logstash-1.1.13-flatjar.jar!C:/backports/1.8.7/stdlib
at org.jruby.RubyDir.entries(org/jruby/RubyDir.java:366)
at RUBY.extend_relative(file:/C:/cygwin/home/hps/logstash/logstash-1.1.13-flatjar.jar!/backports/tools.rb:68)
at RUBY.(root)(file:/C:/cygwin/home/hps/logstash/logstash-1.1.13-flatjar.jar!/backports/1.8.7/stdlib.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at Kernel.require(jar:file:/C:/cygwin/home/hps/logstash/logstash-1.1.13-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36) ...
For logstash-1.1.13-monolithic.jar it is
{:expand_path=>["jar:file:/C:/cygwin/home/hps/logstash/logstash-1.1.13-monolithic.jar!/gems/addressable-2.3.4/lib/addressable/idna/../../../data/unicode.data", "jar:file:/C:/cygwin/home/hp
s/logstash/logstash-1.1.13-monolithic.jar!/gems/addressable-2.3.4/data/unicode.data"]}
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (IOError) no !/ in spec
at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1046)
Last but not least logstash-1.2.0.dev-monolithic.jar :
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (Errno::ENOENT) No such directory: jar:file:/C:/cygwin/home/hps/logstash/logstash-1.2.0.dev-monolithic.jar!C:/gems/backports-3.3.1/lib/backports/1.8.7/stdlib
at org.jruby.RubyDir.entries(org/jruby/RubyDir.java:366)
at RUBY.extend_relative(jar:file:/C:/cygwin/home/hps/logstash/logstash-1.2.0.dev-monolithic.jar!/gems/backports-3.3.1/lib/backports/tools.rb:68)
at RUBY.(root)(jar:file:/C:/cygwin/home/hps/logstash/logstash-1.2.0.dev-monolithic.jar!/gems/backports-3.3.1/lib/backports/1.8.7/stdlib.rb:1)...

Philippe Weber April 18, 2013 at 10:51 AM

Former user April 17, 2013 at 12:54 PM

Still crashing on windows when enabling webui, v1.1.10

Caching file entries for /C:/Downloads/logstash/logstash-1.1.10-flatjar.jar
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (IOError) The filename, directory name, or volume label syntax is incorrect
at org.jruby.RubyFile.initialize(org/jruby/RubyFile.java:333)
at org.jruby.RubyIO.open(org/jruby/RubyIO.java:1179)
at RUBY.IDNA(file:/C:/Downloads/logstash/logstash-1.1.10-flatjar.jar!/addressable/idna/pure.rb:328)
at RUBY.Addressable(file:/C:/Downloads/logstash/logstash-1.1.10-flatjar.jar!/addressable/idna/pure.rb:20)
at RUBY.(root)(file:/C:/Downloads/logstash/logstash-1.1.10-flatjar.jar!/addressable/idna/pure.rb:19)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at Kernel.require(jar:file:/C:/Downloads/logstash/logstash-1.1.10-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)

Fixed

Details

Assignee

Reporter

Labels

Fix versions

Affects versions

Created January 10, 2013 at 6:16 PM
Updated August 1, 2014 at 7:27 AM
Resolved August 1, 2014 at 7:27 AM