Error in Apache Tomcat

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Error in Apache Tomcat

Postby GabrielWyss » Thu May 03, 2018 7:32 am

Hello everybody

In the logs of our Apache Tomcat Servers version 7 and 8 we found regurarly the following entry:
(Found in line: 4) 02-May-2018 06:39:10.576 SEVERE [http-nio-80-exec-5] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [omsv_police] created a ThreadLocal with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value [[email protected]]) and a value of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [4c5a4e58-69ee-44d4-afc1-df4d233f186b-0]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.


This error comes with different solutions.
Does anyone have any idea where this problem comes from?

Thanks for help
Gabriel Wyss
om computer - SAN Partner
http://www.omcomputer.ch
GabrielWyss
 
Posts: 79
Joined: Tue Jul 13, 2010 2:12 pm
Location: Cham, Switzerland

Re: Error in Apache Tomcat

Postby rgansevles » Fri May 11, 2018 10:53 am

Gabriel,

This is a bug in the microsoft jdbc driver and reported in https://github.com/Microsoft/mssql-jdbc/issues/314 and https://github.com/Microsoft/mssql-jdbc/issues/465

It is supposed to be fixed in the latest release, see https://github.com/Microsoft/mssql-jdbc/releases
Can you try with the latest release?

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1867
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 0 guests