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? > 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 > > 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