tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Tomcat 8.5.16 - APR version mismatch error upon startup
Date Tue, 18 Jul 2017 15:44:52 GMT
2017-07-18 17:42 GMT+03:00 M. Manna <>:
> 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.

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

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message