You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/08/24 18:17:11 UTC
DO NOT REPLY [Bug 47712] NoSuchFieldException when trying to use
Tomcat Native library
https://issues.apache.org/bugzilla/show_bug.cgi?id=47712
--- Comment #1 from Roy Robinson <ro...@logicalimages.com> 2009-08-24 09:17:08 PDT ---
Description: Blocks use of the native tomcat i/o library (tcnative)
Tomcat version: 5.5.28
Platforms: PC, Windows and Linux
I found this defect independently; I'd like to confirm it and Nicolas's
analysis. It absolutely prevents using the native library. I'd also recommend
changing the very misleading (i.e., wrong) message that appears when not
operating in DEBUG level. Just moving the getField invocations ahead of the
org.apache.tomcat.jni.SSL code fixes the problem.
Here's the ed script for the path:
91,93d
83a
major = clazz.getField("TCN_MAJOR_VERSION").getInt(null);
minor = clazz.getField("TCN_MINOR_VERSION").getInt(null);
patch = clazz.getField("TCN_PATCH_VERSION").getInt(null);
.
Thanks.
Roy
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org