2017-07-18 17:42 GMT+03:00 M. Manna <manme...@gmail.com>: > Hello, > > We have recently upgraded our tomcat from 8.0.29 to 8.5.16. As part of > standard upgrade we have cleaned up all our bin/conf/lib folder contents > and removed any older jars (e.g. ecj jars). > > Upon startup - we are getting the following error: > > Listening for transport dt_socket at address: 5005 > > Jul 18, 2017 5:53:14 PM org.apache.catalina.core.AprLifecycleListener init > > SEVERE: An incompatible version [1.1.33] of the APR based Apache Tomcat > Native library is installed, while Tomcat requires version [1.2.6] > [...]
> We copied and pasted the tcnative-1.dll into JDK ext folder and the problem > seems to have gone away. But in the past with all the tomcats, we never had > to do it. Is this something new we have to take care of? > > We also tried running tomcat standalone by downloading it from apache sites > and they work fine - is this some new classpath settings we need to do? The tcnative-1.dll library is loaded via a java.lang.System.loadLibrary() call. It searches directories listed by "java.library.path" system property. Print the value of that property and it should give you a clue where to look for a duplicate copy of the library. http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/tomcat/jni/Library.java?revision=1734771&view=markup#l42 Placing the dll into JDK ext folder is an unusual way to configure it. The usual location is the same directory where service wrapper is (Tomcat85.exe). Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org