Thanks Konstantin

1) Our %CATALINA_HOME% and %CATALINA_BASE% are both pointing to the root of
the binary folder - as described by the Reading.txt
2) We have never set anything for java.library.path - and it has always
worked because %CATALINA_HOME%\bin is part of the search path.


Our application doesn't have any other duplicate tcnative-1.dll but I will
keep checking.

KR,


On 18 July 2017 at 16:44, Konstantin Kolinko <knst.koli...@gmail.com> wrote:

> 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
>
>

Reply via email to