tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47712] NoSuchFieldException when trying to use Tomcat Native library
Date Mon, 24 Aug 2009 16:17:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47712



--- Comment #1 from Roy Robinson <robinson@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


Mime
View raw message