Hi,
While using logstash kafka input/output plugins , i am getting an exception in my logs before logstash starts up. This isi a brief snippet of the error
Caused by: java.lang.ClassNotFoundException: javax.mail.internet.AddressException
- I am on RHEL 5.11 version.
- The exception is not critical, but is too long and fills up my console,
- I am sure it is thrown when using the kafka plugin. I used to have a logstash config that read from topbeat and wrote to ealsticsearch. I split it into 2 different configs, one for reading from topbeat and writing to kafka , and the other for reading from kafka and writing to elastic. Both the configs are throwing this exception when starting up. This did not happen when I was reading from topbeat and writing to elastic
Could you please tell me what can be done to fix this?
Below is a brief stacktrace. The entire stacktrace s very long, so I have attached it across the posts and comments
Caused by: java.lang.ClassNotFoundException: javax.mail.internet.AddressException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at org.jruby.util.JRubyClassLoader.findClass(JRubyClassLoader.java:221)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 244 more