MaoXuePeng said:
I want a jkjni.dll file used to do some test about Tomcat, anybody know
that? Can you mail it to me?
My mail is (e-mail address removed)
Thanks!
MaoXuePeng.
Depending on exactly what you are trying to do and the version of
Tomcat you are using, you may find you don't actually want or need
this jkjni module. The documentation for Tomcat 5.0.28 has a warning
about absolutely positively not using the JNI module in production
Tomcat deployments (though they don't really say why -- I presume the
code just isn't stable enough).
I have been working with Tomcat 5.0.28 and Apache 2.0.52 on SuSE Linux
9.0 for a few weeks and find I get the following notices in the
../logs/catalina.out logfile related to jkjni:
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Nov 26, 2004 1:00:42 AM org.apache.jk.server.JkMain start
INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
Nov 26, 2004 1:00:42 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=4/57
config=/opt/tomcat5028/conf/jk2.properties
Nov 26, 2004 1:00:42 AM org.apache.catalina.startup.Catalina start
The reference to APR is "Apache Portable Runtime", a library that
allows higher level interfaces to Apache to use OS-independent hooks
for their functions to simplify life for developers. I have apr-1.0.0
installed and
my connector is accepting connections from Apache so the JK connector
is working so I suspect that the jkjni module is not necessary for
what I'm doing. If you are using an LDAP directory instead of a
database for your application, you may find you need JNI.
mdh