https://issues.apache.org/bugzilla/show_bug.cgi?id=46571
--- Comment #10 from Rainer Jung <rainer.j...@kippdata.de> 2009-10-02 10:44:34 PDT --- We can also use apr_poll_method_defname() to detect, whether the event "port" mechanism is used in the existing APR lib and then check for the right minimum version. This can be done in an m4 macro during configure, like we do today, but also in java/org/apache/tomcat/jni/Library.java during tcnative initialization. Both ways are useful: - configure to detect the problem early - runtime init to detect in case compile APR and runtime APR are not the same Open question: should the library only warn but still start in case "port" is used and the loaded APR version is to old, or should it refrain from starting. I vote for not starting then, because if "port" is returned by apr_poll_method_defname() we know we are on a platform with the problem and we should expect it to happen under load. If it happens it is very hard to analyze what's going on. So better tell people, that the versions they are using are simply not right. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org