On 17/03/2014 08:10, Randeep wrote: > On Mon, Mar 17, 2014 at 12:35 PM, Mark Thomas <ma...@apache.org> wrote: > >> On 17/03/2014 04:52, Randeep wrote: >>> Hi, >>> >>> I have a httpd-2.2.3-82.el5.centos.x86_64+mod_jk+apache-tomcat-6.0.37 >> stack >>> >>> Whenever I restart the server it shows the following warning. >>> INFO: The APR based Apache Tomcat Native library which allows optimal >>> performance in production environments was not found on the >>> java.library.path: >>> /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib >> >> That isn't a warning. Warnings start "WARN: ...". >> >> It is an informational message. It informs you that that the native >> library is not installed and that the native library typically has >> better performance. >> > > Yes. Its an informational message. Sorry about it. > >> >>> Then I tried to install tomcat-native-1.1.27-src >> >> Why? To get rid of the log message or to solve a performance problem? >> >> Mark >> > > Actually I'm getting this error on production server.
Again, this is not an error. They start "ERROR: ..." or "FATAL: ..." > I didn't know about > tomcat native libraries. If it increase performance then I felt that It > should be implemented. Why should you install it? What performance problem are you trying to solve? Why do you think that installing the native libraries will solve it? While the native library does - generally - perform better, it is not a magic "make it faster" library. Mark > That is why I tired to install it. > > >> > >>> >>> But I'm getting the following error. >>> >>> #./configure --with-apr=/usr/bin/apr-1-config >>> --with-java-home=/usr/java/jdk1.7.0_25 >>> then >>> #make >>> make[1]: Entering directory >>> `/usr/share/apache-tomcat-6.0.37/bin/tomcat-native-1.1.27-src/jni/native' >>> /bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc >> -pthread >>> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions >> -fstack-protector >>> --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAVE_CONFIG_H -DLINUX=2 >>> -D_REENTRANT -D_GNU_SOURCE -g -O2 -DHAVE_OPENSSL >>> >> -I/usr/share/apache-tomcat-6.0.37/bin/tomcat-native-1.1.27-src/jni/native/include >>> -I/usr/java/jdk1.7.0_25/include -I/usr/java/jdk1.7.0_25/include/linux >>> -I/usr/include/apr-1 -o src/poll.lo -c src/poll.c && touch src/poll.lo >>> src/poll.c: In function 'Java_org_apache_tomcat_jni_Poll_create': >>> src/poll.c:112: error: 'APR_POLLSET_NOCOPY' undeclared (first use in this >>> function) >>> src/poll.c:112: error: (Each undeclared identifier is reported only once >>> src/poll.c:112: error: for each function it appears in.) >>> src/poll.c: In function 'Java_org_apache_tomcat_jni_Poll_poll': >>> src/poll.c:306: warning: implicit declaration of function >> 'APR_RING_FOREACH' >>> src/poll.c:306: error: expected expression before 'tcn_pfde_t' >>> src/poll.c:307: error: expected ';' before '{' token >>> src/poll.c: In function 'Java_org_apache_tomcat_jni_Poll_maintain': >>> src/poll.c:399: warning: implicit declaration of function >>> 'APR_RING_FOREACH_SAFE' >>> src/poll.c:399: error: expected expression before 'tcn_pfde_t' >>> src/poll.c:400: error: expected ';' before '{' token >>> src/poll.c:392: warning: unused variable 'now' >>> src/poll.c:391: warning: unused variable 'num' >>> src/poll.c:391: warning: unused variable 'i' >>> src/poll.c: In function 'Java_org_apache_tomcat_jni_Poll_pollset': >>> src/poll.c:471: error: expected expression before 'tcn_pfde_t' >>> src/poll.c:472: error: expected ';' before '{' token >>> make[1]: *** [src/poll.lo] Error 1 >>> make[1]: Leaving directory >>> `/usr/share/apache-tomcat-6.0.37/bin/tomcat-native-1.1.27-src/jni/native' >>> make: *** [all-recursive] Error 1 >>> >>> This is my version of ap >>> Package apr-1.2.7-11.el5_6.5.x86_64 already installed and latest version >>> Package apr-devel-1.2.7-11.el5_6.5.x86_64 already installed and latest >>> version >>> Package apr-util-1.2.7-11.el5_5.2.x86_64 already installed and latest >>> version >>> >>> Cant I install this version in centos 5? >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org