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] 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] 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] 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] 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] Jul 18, 2017 5:53:15 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] Jul 18, 2017 5:53:15 PM org.apache.catalina.core.StandardService initInternal SEVERE: Failed to initialize connector [Connector[org.apache.coyote.http11.Http11AprProtocol-80]] org.apache.catalina.LifecycleException: Failed to initialize component [Connector[org.apache.coyote.http11.Http11AprProtocol-80]] at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112) at org.apache.catalina.core.StandardService.initInternal(StandardService.java:549) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107) at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:875) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107) at org.apache.catalina.startup.Catalina.load(Catalina.java:607) at org.apache.catalina.startup.Catalina.load(Catalina.java:630) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494) Caused by: org.apache.catalina.LifecycleException: The configured protocol [org.apache.coyote.http11.Http11AprProtocol] requires the APR/native library which is not available at org.apache.catalina.connector.Connector.initInternal(Connector.java:981) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107) ... 12 more Jul 18, 2017 5:53:15 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? Any suggestions ? KR,