Apache Tomcat doesn't find Native library -
i maintained countless instances of tomcat run problem never ran before.
i known log message tomcat complains can't find native lib @ d:\programme\apache software foundation\tomcat 7.0\bin:
"the apr based apache tomcat native library allows optimal performance in production environments not found on java.library.path: d:\programme\apache software foundation\tomcat 7.0\bin; [...]"
as usual put native lib "tcnative-1.dll" bin-folder of tomcat (and yes, @ drive d:!!), tomcat furthermore complains missing native lib.
i tried specify -djava.library.path
@ startup, without success. there no further messages in log may indicate other problems @ startup.
why doesn't tomcat find native lib?
the web full of stupid trial-and-error-approaches , tomcat documentation doesn't explicitly describes under circumstances doesn't take native lib in bin-folder.
additional info:
apache tomcat 7.0.8
jvm 1.6.0_29-b11
check if dll bitsize matches jdk bitsize (not os bitsize): e.g. if run win64, 32bit java, make sure have 32bit dll.
Comments
Post a Comment