You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mladen Turk <mt...@apache.org> on 2013/02/13 07:01:00 UTC

[ANN] Apache Tomcat Native 1.1.27 released

The Apache Tomcat team announces the immediate availability of Apache
Tomcat Native 1.1.27 stable.

Please refer to the change log for the list of changes:
http://tomcat.apache.org/native-doc/miscellaneous/changelog.html

Downloads:
http://tomcat.apache.org/download-native.cgi

Thank you,
-- 
The Apache Tomcat Team

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Henri,

On 2/14/13 4:14 AM, Henri Gomez wrote:
> I build Tomcat Native on various machine, CentOS 5/6, openSUSE/SLES and
> notice this error on CentOS 5.9 :
> 
> /bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
> -o src/network.lo -c src/network.c && touch src/network.lo
> /bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
> -o src/os.lo -c src/os.c && touch src/os.lo
> /bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/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)

What version of APR are you building against?

-chris


Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Mladen Turk <mt...@apache.org>.
On 02/20/2013 11:52 PM, Christopher Schultz wrote:
> Henri,
>
> On 2/14/13 4:14 AM, Henri Gomez wrote:
>> I build Tomcat Native on various machine, CentOS 5/6, openSUSE/SLES and
>> notice this error on CentOS 5.9 :
>
> On CentOS 6.2:
>
>
> Now, there are obviously a few differences between our two environments:
> I'm building a vanilla x86_64 and it looks like you have an IA32
> architecture with some i586 components (maybe just the JVM).
>

Didn't you follow the discussion?
He has CentOS  5.x and you have 6.x, so you have different apr version.
Anyhow this issues has been solved with BZ 54559 and r1446443



Regards
-- 
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Henri,

On 2/14/13 4:14 AM, Henri Gomez wrote:
> I build Tomcat Native on various machine, CentOS 5/6, openSUSE/SLES and
> notice this error on CentOS 5.9 :

On CentOS 6.2:

First, some prerequisites:

$ sudo yum install gcc make \
                   apr apr-devel \
                   java-1.7.0-openjdk java-1.7.0-openjdk-devel

$ wget ...
$ tar xzf ...
$ cd ...

[...]

$ ./configure --with-apr=`which apr-1-config` \
              --with-java-home=/usr/lib/jvm/java-1.7.0/
[...]

$ make
[...]

$ find . -name "*.so"
./.libs/libtcnative-1.so


> /bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
> -o src/network.lo -c src/network.c && touch src/network.lo

Mine looks like this:

/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
-I/home/tom/tomcat-native-1.1.27-src/jni/native/include
-I/usr/lib/jvm/java-1.7.0//include
-I/usr/lib/jvm/java-1.7.0//include/linux  -I/usr/include/apr-1   -o
src/network.lo -c src/network.c && touch src/network.lo

Now, there are obviously a few differences between our two environments:
I'm building a vanilla x86_64 and it looks like you have an IA32
architecture with some i586 components (maybe just the JVM).

Can you post your whole ./configure command?

-chris


Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Henri,

On 2/14/13 4:14 AM, Henri Gomez wrote:
> I build Tomcat Native on various machine, CentOS 5/6, openSUSE/SLES and
> notice this error on CentOS 5.9 :

I was able to build using Debian Squeeze with APR 1.4.2 and OpenSSL 0.9.8o.

$ ./configure --with-apr=/usr/bin --with-ssl=yes
--with-java-home=/usr/lib/jvm/java-6-sun/

[...]

$ time make

/bin/bash /usr/share/apr-1.0/build/libtool --silent --mode=link
x86_64-linux-gnu-gcc -pthread  -g -O2 -pipe -Wall -g -O2 -DHAVE_CONFIG_H
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL
-I/home/cschultz/packages/tomcat-native-1.1.27-src/jni/native/include
-I/usr/lib/jvm/java-6-sun//include
-I/usr/lib/jvm/java-6-sun//include/linux  -I/usr/include/apr-1.0
-version-info 1:27:1    -o libtcnative-1.la -rpath /usr/local/apr/lib
src/address.lo src/bb.lo src/dir.lo src/error.lo src/file.lo src/info.lo
src/jnilib.lo src/lock.lo src/misc.lo src/mmap.lo src/multicast.lo
src/network.lo src/os.lo src/poll.lo src/pool.lo src/proc.lo src/shm.lo
src/ssl.lo src/sslcontext.lo src/sslinfo.lo src/sslnetwork.lo
src/sslutils.lo src/stdlib.lo src/thread.lo src/user.lo
os/unix/system.lo os/unix/uxpipe.lo -lssl -lcrypto  /usr/lib/libapr-1.la
make[1]: Leaving directory
`/home/cschultz/packages/tomcat-native-1.1.27-src/jni/native'

real	0m12.185s
user	0m13.190s
sys	0m1.770s

I don't have a CentOS system handy to test, so I'm downloading a 6.2 VM.
There don't seem to be any 5.9 pre-build VMs available, yet (it's a
little fresh).

Can you post your "configure" command and its output? Also, which APR
and OpenSSL libraries you have installed?

-chris


Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Mladen Turk <mt...@apache.org>.
On 02/14/2013 10:21 AM, Konstantin Kolinko wrote:
> 2013/2/14 Henri Gomez <he...@gmail.com>:
>> Note, CentOS 5 came with an old APR (1.2) :
>>
>> * apr-util-1.2.7-11.el5_5.2
>> * apr-1.2.7-11.el5_6.5
>> * apr-devel-1.2.7-11.el5_6.5
>>

>>>
>>> Any ideas ?
>>>
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=54559
> 1.1.27 needs APR >= 1.3.0
>

Yes.
Version 1.1.27 has performance upgrade by using APR_POLLSET_NOCOPY
ensuring that we do not copy sockets twice.
Eg. with older wersion for 1000 sockets there was

for (0 ... 1000) {
   if (socket == found) {
      And then internally inside APR
      for (0 ... 1000) {
         if (socket == found) {
            Do something....
         }
      }
   }
}

This was not something optimal because we already maintain the list
of sockets which have been added to the pollset so we can remove
keepalive'd one.

If you still need that for 1.2.x APR you can use the following patch
but the performance will be the same.
However Centos/RHEL 5 has much bigger problem an that is openssl 0.9.8
so you loose TLS 1.1 and stuff.

--- include/tcn.org	2013-02-07 08:17:47.000000000 +0100
+++ include/tcn.h	2013-02-13 19:49:30.840165877 +0100
@@ -51,6 +51,20 @@
  #include <unistd.h>
  #endif

+#if !defined(APR_POLLSET_NOCOPY)
+/* Add missing API */
+#define APR_RING_FOREACH(ep, head, elem, link)                          \
+    for (ep = APR_RING_FIRST(head);                                     \
+         ep != APR_RING_SENTINEL(head, elem, link);                     \
+         ep = APR_RING_NEXT(ep, link))
+
+#define APR_RING_FOREACH_SAFE(ep1, ep2, head, elem, link)               \
+    for (ep1 = APR_RING_FIRST(head), ep2 = APR_RING_NEXT(ep1, link);    \
+         ep1 != APR_RING_SENTINEL(head, elem, link);                    \
+         ep1 = ep2, ep2 = APR_RING_NEXT(ep1, link))
+
+#define APR_POLLSET_NOCOPY  0
+#endif
  #include "tcn_api.h"



Regards
-- 
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Konstantin Kolinko <kn...@gmail.com>.
2013/2/14 Henri Gomez <he...@gmail.com>:
> Note, CentOS 5 came with an old APR (1.2) :
>
> * apr-util-1.2.7-11.el5_5.2
> * apr-1.2.7-11.el5_6.5
> * apr-devel-1.2.7-11.el5_6.5
>
>
>
> 2013/2/14 Henri Gomez <he...@gmail.com>
>
>> I build Tomcat Native on various machine, CentOS 5/6, openSUSE/SLES and
>> notice this error on CentOS 5.9 :
>>
>> /bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
>> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
>> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
>> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
>> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
>> -I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
>> -o src/network.lo -c src/network.c && touch src/network.lo
>> /bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
>> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
>> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
>> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
>> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
>> -I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
>> -o src/os.lo -c src/os.c && touch src/os.lo
>> /bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
>> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
>> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
>> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
>> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
>> -I/opt/axway/jvm/java-1.6.0-sun-i586/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
>> `/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native'
>> make: *** [all-recursive] Error 1
>> error: Bad exit status from
>> /home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/TEMP/rpm-tmp.58191
>> (%build)
>>
>>
>> RPM build errors:
>>     Bad exit status from
>> /home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/TEMP/rpm-tmp.58191
>> (%build)
>> Build step 'Execute shell' marked build as failure
>> Finished: FAILURE
>>
>>
>> Any ideas ?
>>

https://issues.apache.org/bugzilla/show_bug.cgi?id=54559
1.1.27 needs APR >= 1.3.0

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Henri Gomez <he...@gmail.com>.
Note, CentOS 5 came with an old APR (1.2) :

* apr-util-1.2.7-11.el5_5.2
* apr-1.2.7-11.el5_6.5
* apr-devel-1.2.7-11.el5_6.5



2013/2/14 Henri Gomez <he...@gmail.com>

> I build Tomcat Native on various machine, CentOS 5/6, openSUSE/SLES and
> notice this error on CentOS 5.9 :
>
> /bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
> -o src/network.lo -c src/network.c && touch src/network.lo
> /bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
> -o src/os.lo -c src/os.c && touch src/os.lo
> /bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/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
> `/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native'
> make: *** [all-recursive] Error 1
> error: Bad exit status from
> /home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/TEMP/rpm-tmp.58191
> (%build)
>
>
> RPM build errors:
>     Bad exit status from
> /home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/TEMP/rpm-tmp.58191
> (%build)
> Build step 'Execute shell' marked build as failure
> Finished: FAILURE
>
>
> Any ideas ?
>

Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Henri Gomez <he...@gmail.com>.
I build Tomcat Native on various machine, CentOS 5/6, openSUSE/SLES and
notice this error on CentOS 5.9 :

/bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
-D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
-I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
-I/opt/axway/jvm/java-1.6.0-sun-i586/include
-I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
-o src/network.lo -c src/network.c && touch src/network.lo
/bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
-D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
-I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
-I/opt/axway/jvm/java-1.6.0-sun-i586/include
-I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
-o src/os.lo -c src/os.c && touch src/os.lo
/bin/sh /usr/lib/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 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
-D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
-I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
-I/opt/axway/jvm/java-1.6.0-sun-i586/include
-I/opt/axway/jvm/java-1.6.0-sun-i586/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
`/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native'
make: *** [all-recursive] Error 1
error: Bad exit status from
/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/TEMP/rpm-tmp.58191
(%build)


RPM build errors:
    Bad exit status from
/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/TEMP/rpm-tmp.58191
(%build)
Build step 'Execute shell' marked build as failure
Finished: FAILURE


Any ideas ?

Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

All,

On 2/13/13 1:01 AM, Mladen Turk wrote:
> The Apache Tomcat team announces the immediate availability of
> Apache Tomcat Native 1.1.27 stable.

It's worth mentioning that tcnative-1.1.27 is required in order to
configure Tomcat for the following features:

* SSLHonorCipherOrder [1]
* Enable FIPS mode with OpenSSL 1.0.1c [2]
* Disable TLS compression (thwarts CRIME attack) [3]

If any of the above affect you, I would highly recommend that you
upgrade at your earliest convenience.

- -chris

[1] http://issues.apache.org/bugzilla/show_bug.cgi?id=53481
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=54468
[3] https://issues.apache.org/bugzilla/show_bug.cgi?id=54324
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEAREIAAYFAlEbskIACgkQ9CaO5/Lv0PC0vwCeKOfTusD1g4Fp9jA3UIEoMAY8
NGkAoLdIo+3qiZTBLg4kbtsRAWwtAikg
=Tzhr
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

All,

On 2/13/13 1:01 AM, Mladen Turk wrote:
> The Apache Tomcat team announces the immediate availability of
> Apache Tomcat Native 1.1.27 stable.

It's worth mentioning that tcnative-1.1.27 is required in order to
configure Tomcat for the following features:

* SSLHonorCipherOrder [1]
* Enable FIPS mode with OpenSSL 1.0.1c [2]
* Disable TLS compression (thwarts CRIME attack) [3]

If any of the above affect you, I would highly recommend that you
upgrade at your earliest convenience.

- -chris

[1] http://issues.apache.org/bugzilla/show_bug.cgi?id=53481
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=54468
[3] https://issues.apache.org/bugzilla/show_bug.cgi?id=54324
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEAREIAAYFAlEbskIACgkQ9CaO5/Lv0PC0vwCeKOfTusD1g4Fp9jA3UIEoMAY8
NGkAoLdIo+3qiZTBLg4kbtsRAWwtAikg
=Tzhr
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Tony Anecito <ad...@yahoo.com>.
Never mind I figured out it has nothing to do with logging but some sort of CPU metric.

Regards,
-Tony

--- On Wed, 2/13/13, Tony Anecito <ad...@yahoo.com> wrote:

From: Tony Anecito <ad...@yahoo.com>
Subject: Re: [ANN] Apache Tomcat Native 1.1.27 released
To: "Tomcat Developers List" <de...@tomcat.apache.org>, "Tomcat Users List" <us...@tomcat.apache.org>
Date: Wednesday, February 13, 2013, 11:05 AM

Many thanks to the Tomcat team!!

I have one simple question. The mention of microseconds instead of milliseconds in the release notes is that the resolution for logging processing time for the request (%D) in the access logs? If so will it be available for Windows OS?

Thanks and keep up the great work!
-Tony

--- On Tue, 2/12/13, Mladen Turk <mt...@apache.org> wrote:

From: Mladen Turk <mt...@apache.org>
Subject: [ANN] Apache Tomcat Native 1.1.27 released
To: "Tomcat Developers List" <de...@tomcat.apache.org>, "Tomcat Users List" <us...@tomcat.apache.org>, announce@tomcat.apache.org
Date: Tuesday, February 12, 2013, 11:01 PM

The Apache Tomcat team announces the immediate availability of Apache
Tomcat Native 1.1.27 stable.

Please refer to the change log for the list of changes:
http://tomcat.apache.org/native-doc/miscellaneous/changelog.html

Downloads:
http://tomcat.apache.org/download-native.cgi

Thank you,
-- The Apache Tomcat Team

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [ANN] Apache Tomcat Native 1.1.27 released

Posted by Tony Anecito <ad...@yahoo.com>.
Many thanks to the Tomcat team!!

I have one simple question. The mention of microseconds instead of milliseconds in the release notes is that the resolution for logging processing time for the request (%D) in the access logs? If so will it be available for Windows OS?

Thanks and keep up the great work!
-Tony

--- On Tue, 2/12/13, Mladen Turk <mt...@apache.org> wrote:

From: Mladen Turk <mt...@apache.org>
Subject: [ANN] Apache Tomcat Native 1.1.27 released
To: "Tomcat Developers List" <de...@tomcat.apache.org>, "Tomcat Users List" <us...@tomcat.apache.org>, announce@tomcat.apache.org
Date: Tuesday, February 12, 2013, 11:01 PM

The Apache Tomcat team announces the immediate availability of Apache
Tomcat Native 1.1.27 stable.

Please refer to the change log for the list of changes:
http://tomcat.apache.org/native-doc/miscellaneous/changelog.html

Downloads:
http://tomcat.apache.org/download-native.cgi

Thank you,
-- The Apache Tomcat Team

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org