Logstash JMS input connecting and disconnecting on and on

Hi,

I am using Logstash v6 with the logstash-input-jms plugin, but I am using TIBCO EMS v7.0.

I was doing a POC in a windows environment, and everything is works fine there, but I am now moving the elasticsearch stack to a Linux cluster, and the connection to EMS is established, but after few seconds it is gone. After some time, I can see the ReceiverCount growing, but after few seconds it is gone again.

Does anybody has any idea what could it could be? Again, the same code works fine in the windows environment.

Here is the jms.yml configuration that I am using:
ems:
:username: myuser
:password: mypassword
:jndi_name: ConnectionFactory
:jndi_context:
java.naming.factory.initial: com.tibco.tibjms.naming.TibjmsInitialContextFactory
java.naming.provider.url: tcp://emsn1:7222,tcp://emsn2:7222
java.naming.security.principal: admin
java.naming.security.credentials: admin
:require_jars:
- /opt/logstash/logstash-6.0.1/config/instance_config/jms.jar
- /opt/logstash/logstash-6.0.1/config/instance_config/tibjms.jar
- /opt/logstash/logstash-6.0.1/config/instance_config/tibcrypt.jar

Here is the input in the logstash config:

input {
jms {
destination => "myqueuetest.queue"
include_body => true
include_header => false
include_properties => false
interval => 10
timeout => -1
threads => 20
use_jms_timestamp => false
yaml_file => "/opt/logstash/logstash-6.0.1/config/instance_config/jms.yml"
yaml_section => "ems"
}
}

Thanks,
Rob

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.