<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hello,</div>
<div>&nbsp;</div>
<div>I am able to compile syslog-ng 3.7.2 without the Java-based modules included successfully and the syslog-ng run fine. Now I need to re-compile again with the Java-based modules included. I execute the following steps listed in the syslog-ng-3.7-ose-admin
guide:</div>
<div>&nbsp;</div>
<div>Installed openjdk version &quot;1.8.0_71&quot;</div>
<div>Installed gradle version 2.11</div>
<div>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH</div>
<div>export LD_LIBRARY_PATH=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-1.b15.el6_7.x86_64/jre/lib/amd64/server:$LD_LIBRARY_PATH</div>
<div>&nbsp;</div>
<div>When I run ./configure, I notice the java module option is set to &quot;no&quot; in the summary:</div>
<div> Modules:</div>
<div>&nbsp; Module search path&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : ${exec_prefix}/lib/syslog-ng</div>
<div>&nbsp; Sun STREAMS support (module): no</div>
<div>&nbsp; SQL support (module)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no</div>
<div>&nbsp; PACCT module (EXPERIMENTAL) : no</div>
<div>&nbsp; MongoDB destination (module): yes</div>
<div>&nbsp; JSON support (module)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no</div>
<div>&nbsp; SMTP support (module)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no</div>
<div>&nbsp; AMQP destination (module)&nbsp;&nbsp; : yes</div>
<div>&nbsp; STOMP destination (module)&nbsp; : yes</div>
<div>&nbsp; GEOIP support (module)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no</div>
<div>&nbsp; Redis support (module)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no</div>
<div>&nbsp; Riemann destination (module): no</div>
<div>&nbsp; python&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : yes (pkg-config package: python)</div>
<div>&nbsp; java&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no</div>
<div>&nbsp;</div>
<div>I go ahead to execute &quot;make&quot; and &quot;make install&quot; without error. But I don't see the &quot;java-modules&quot; directory is created in /usr/local/lib/syslog-ng directory.</div>
<div>When I include the following declaration in my syslog-ng.conf to start syslog-ng, I got the following error:</div>
<div>[2016-02-20T05:46:59.039466] Plugin module not found in 'module-path'; module-path='/usr/local/lib/syslog-ng', module='mod-java'</div>
<div>&nbsp;</div>
<div>Why Java modules is not included? What steps am I missing?</div>
<div>Any help is appreciated</div>
<div>&nbsp;</div>
<div>Ming</div>
<div>&nbsp;</div>
</span></font>
</body>
</html>