[syslog-ng] java 10+ support for elasticsearch2
Nik Ambrosch
nik at ambrosch.com
Fri Jun 15 06:01:19 UTC 2018
Oracle is pushing to deprecate Java 8/9 - I was wondering if anyone has
gotten syslog-ng 3.15 working with Oracle JDK 10.0.1? I'm seeing this on
startup which seems to prevent the loading of the elasticsearch2
destination:
Jun 15 01:51:39 centos3 syslog-ng[55366]: WARNING: An illegal reflective
access operation has occurred
Jun 15 01:51:39 centos3 syslog-ng[55366]: WARNING: Illegal reflective
access by org.syslog_ng.SyslogNgClassLoader
(file:/usr/lib64/syslog-ng/java-modules/syslog-ng-core.jar) to method
java.net.URLClassLoader.addURL(java.net.URL)
Jun 15 01:51:39 centos3 syslog-ng[55366]: WARNING: Please consider
reporting this to the maintainers of org.syslog_ng.SyslogNgClassLoader
Jun 15 01:51:39 centos3 syslog-ng[55366]: WARNING: Use
--illegal-access=warn to enable warnings of further illegal reflective
access operations
Jun 15 01:51:39 centos3 syslog-ng[55366]: WARNING: All illegal access
operations will be denied in a future release
Jun 15 01:51:39 centos3 syslog-ng[55366]: [2018-06-15T01:51:39.333858]
Error while expanding path list: object is not an instance of declaring
class;
Jun 15 01:51:39 centos3 syslog-ng[55366]:
java.lang.IllegalArgumentException: object is not an instance of declaring
class
Jun 15 01:51:39 centos3 syslog-ng[55366]: at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
Jun 15 01:51:39 centos3 syslog-ng[55366]: at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Jun 15 01:51:39 centos3 syslog-ng[55366]: at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Jun 15 01:51:39 centos3 syslog-ng[55366]: at
java.base/java.lang.reflect.Method.invoke(Method.java:564)
Jun 15 01:51:39 centos3 syslog-ng[55366]: at
org.syslog_ng.SyslogNgClassLoader.expandClassPath(SyslogNgClassLoader.java:144)
Jun 15 01:51:39 centos3 syslog-ng[55366]: at
org.syslog_ng.SyslogNgClassLoader.loadClass(SyslogNgClassLoader.java:65)
Jun 15 01:51:39 centos3 syslog-ng[55366]: [2018-06-15T01:51:39.335187]
Can't find class;
class_name='org.syslog_ng.elasticsearch_v2.ElasticSearchDestination'
Jun 15 01:51:39 centos3 syslog-ng[55366]: [2018-06-15T01:51:39.337627]
Error initializing message pipeline; plugin_name='java',
location='#buffer:2:3'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20180615/590d8d86/attachment.html>
More information about the syslog-ng
mailing list