Skip to content

Install issues logstash-input-jms-3.0.1 on logstash 5.2.2 #20

@JohanHolman

Description

@JohanHolman

I've got the latest logstash version installed (tar extract) on Red Hat Enterprise Linux Server release 6.7

# cd logstash
# bin/logstash --version
logstash 5.2.2
# vendor/jruby/bin/jruby --version
jruby 1.7.25 (1.9.3p551) 2016-04-13 867cb81 on Java HotSpot(TM) 64-Bit Server VM 1.8.0_66-b17 +jit [linux-amd64]

Sematic logger < 4.0.0 was needed so, I installed it like this (not sure this is the right way)

# cp /tmp/semantic_logger-3.4.1.gem  .
# env GEM_HOME=vendor/bundle/jruby/1.9 vendor/jruby/bin/jruby vendor/jruby/bin/gem install semantic_logger -V
Successfully installed semantic_logger-3.4.1

Check if sematic logger is installed

# env GEM_HOME=vendor/bundle/jruby/1.9 vendor/jruby/bin/jruby -S gem list --local|grep semantic
semantic_logger (3.4.1)

Try to install the plugin 3.0.1

# ./bin/logstash-plugin install file:///tmp/logstash-input-jms-3.0.1-java.gem.zip
Installing file: /tmp/logstash-input-jms-3.0.1-java.gem.zip
ERROR: An error occured when installing the: file:///tmp/logstash-input-jms-3.0.1-java.gem.zip, to have more information about the error add a DEBUG=1 before running the command., message: Bundler could not find compatible versions for gem "semantic_logger":
  In Gemfile:
    logstash-input-jms (= 3.0.1) java depends on
      semantic_logger (< 4.0.0) java
Could not find gem 'semantic_logger (< 4.0.0) java', which is required by gem 'logstash-input-jms (= 3.0.1) java', in any of the sources.

jruby-jms >= 1.2.0 was needed for plugin 3.0.0. I installed it like this (not sure this is the right way)

# env GEM_HOME=vendor/bundle/jruby/1.9 vendor/jruby/bin/jruby vendor/jruby/bin/gem install jruby-jms -V
Successfully installed jruby-jms-1.2.0-java

Check if jruby-jms is installed

# env GEM_HOME=vendor/bundle/jruby/1.9 vendor/jruby/bin/jruby -S gem list --local|grep "jms"
jruby-jms (1.2.0 java)

Try to install the plugin 3.0.0

# ./bin/logstash-plugin install file:///home/onl19206/logstash-input-jms-3.0.0-java.gem.zip`
Installing file: /home/onl19206/logstash-input-jms-3.0.0-java.gem.zip
ERROR: An error occured when installing the: file:///home/onl19206/logstash-input-jms-3.0.0-java.gem.zip, Installing, file:, /home/onl19206/logstash-input-jms-3.0.0-java.gem.zip, to have more information about the error add a DEBUG=1 before running the command., message: Bundler could not find compatible versions for gem "jruby-jms":
  In Gemfile:
    logstash-input-jms (= 3.0.0) java depends on
      jruby-jms (>= 1.2.0) java
Could not find gem 'jruby-jms (>= 1.2.0) java', which is required by gem 'logstash-input-jms (= 3.0.0) java', in any of the sources.

So what do I do wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions