missing jruby-win32ole gem in logstash 1.4.0rc1

Description

Steps to reproduce:

  • Download logstash 1.4.0rc1 on Windows

  • Configure the eventlog source, which requires win32ole.

  • Run logstash.bat agent

You will receive the error:

LoadError: no such file to load – jruby-win32ole

It appears as though jruby-complete-1.7.11.jar is missing this gem.

Gliffy Diagrams

Activity

Show:

Philippe Weber January 24, 2015 at 5:12 PM

Dependency management is now done through individual gemspec per plugin.

Con Zyor April 18, 2014 at 11:15 PM

Indeed, I downloaded the logstash-contrib-1.4.0.tar.gz and I see that vendor\bundle\jruby\1.9\gems\jruby-win32ole-0.8.5 is present. That's why applying the contrib plugins fixes this problem. This dependency should move into the main distribution, or eventlog should be moved into contrib. After adding this single dependency manually, the main distribution eventlog source works properly.

TommyO April 16, 2014 at 5:36 PM
Edited

Validating that @Carlos Vializ comment fixes this bug. Bug should be closed (and I'll get to work on a Windows version of the plugin install script, if I get time).

Carlos Vializ April 16, 2014 at 4:23 PM

I was able to fix this issue when I encountered it.
I installed the contrib plugins via the instructions in the 1.4.0 Release Notes (http://logstash.net/docs/1.4.0/release-notes) and the error ceased to occur.
Logstash 1.4.0 doesn't ship with all the contrib plugins and their dependencies, so I guess the eventlog plugin's dependencies aren't met by default.

Cris April 15, 2014 at 2:15 PM
Edited

same issue on windows server 2008 and windows 7... running java 1.7

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Created March 19, 2014 at 4:56 PM
Updated January 24, 2015 at 5:12 PM
Resolved January 24, 2015 at 5:12 PM