I've only played with APR a little bit, but in my experiments I've found it
to be unstable in JDK6 thus far. JDK5 seems OK though.
- DML
On 05/12/2008 02:57 PM, Geoff Cadien wrote:
Wondering if anyone else is successfully using MINA+APR. I just tried
testing with the echoserver example (just replaced NioSocketAcceptor with
AprSocketAcceptor) and the VM crashes when making more than a couple
concurrent connections.
I'm hoping I've simply done something stupid and someone with some more
experience using the apr-transport could point me in right direction.
Specifics:
[EMAIL PROTECTED]:~$ uname -a
Linux jellikit 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686
GNU/Linux
[EMAIL PROTECTED]:~$ java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)
tomcat-native-1.1.13
apr-1.2.11
MINA trunk
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x9065a71b, pid=30889, tid=2420497296
#
# Java VM: Java HotSpot(TM) Server VM (10.0-b22 mixed mode linux-x86)
# Problematic frame:
# C [libapr-1.so.0+0x1b71b] apr_pollset_remove+0x4b
#
# An error report file with more information is saved as:
# /home/geoff/src/mina-trunk/trunk/example/hs_err_pid30889.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Thanks,
-geoff