> -----Original Message-----
> From: André Warnier (tomcat) <a...@ice-sa.com>
> Sent: Monday, July 22, 2019 12:26
> To: users@tomcat.apache.org
> Subject: [EXTERNAL] Re: WAR file not deploying correctly
> 
> On 22.07.2019 10:27, Victor WILLART wrote:
> > Hi,
> >
> >
> > Thanks for your answers. I am sorry I can't use the prefix indentation for
> replies yet. Next time I am going to use it with my other mail addresses with
> which I just subscribed !
> >
> >
> > @André
> >
> > I am not sure for the platform I am using, maybe you mean Polymer ?
> 
> I mean Windows, Linux, ..  (OS)
> 

Windows 64 bits

> >
> >
> > @Konstantin
> >
> > My back up files are not in any folders from Tomcat.
> >
> >
> > @Christopher
> >
> > This command is really handy, I didn't know about it. But It' returning the
> entire structure of my app folder so I think my WAR file is good, at least it
> isn't empty.
> >
> >
> > Below are the logs I found in Catalina.2019-07-22.log
> >
> > I am not sure if everything is related to my problem, but the first lines 
> > seem
> to be struggling with this config folder ...
> >
> >
> > ---------------------------------------------------
> >
> > 22-Jul-2019 09:36:31.598 SEVERE
> > [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
> > org.apache.catalina.startup.ExpandWar.deleteDir [C:\Program
> > Files\Apache Software Foundation\Tomcat
> > 8.0\webapps\ProductionMetricsApp-0.3.0\config] could not be completely
> > deleted. The presence of the remaining files may cause problems
> > 22-Jul-2019 09:36:31.598 SEVERE
> > [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
> > org.apache.catalina.startup.ExpandWar.deleteDir [C:\Program
> > Files\Apache Software Foundation\Tomcat
> > 8.0\webapps\ProductionMetricsApp-0.3.0] could not be completely
> > deleted. The presence of the remaining files may cause problems
> > 22-Jul-2019 09:36:31.599 SEVERE
> > [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
> > org.apache.catalina.startup.ExpandWar.delete [C:\Program Files\Apache
> > Software Foundation\Tomcat 8.0\webapps\ProductionMetricsApp-0.3.0]
> > could not be completely deleted. The presence of the remaining files
> > may cause problems
> > 22-Jul-2019 09:36:31.623 SEVERE [localhost-startStop-2]
> org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial
> connections of pool.
> >   java.sql.SQLException: Unable to load class:
> com.microsoft.sqlserver.jdbc.SQLServerDriver from
> ClassLoader:java.net.URLClassLoader@72ea2f77;ClassLoader:WebappClassLo
> ader
> >    context: ProductionMetricsApp-0.3.0
> >    delegate: false
> > ----------> Parent Classloader:
> > java.net.URLClassLoader@72ea2f77
> >   at
> org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(Pooled
> Connection.java:280)
> >   at
> org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.
> java:200)
> >   at
> org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(Connection
> Pool.java:708)
> >   at
> org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(Connectio
> nPool.java:642)
> >   at
> org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:464)
> >   at
> org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:14
> 1)
> >   at
> org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProx
> y.java:115)
> >   at
> org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.
> java:102)
> >   at
> com.GEDIGAPP.EncryptedDataSourceFactory.createDataSource(EncryptedD
> ataSourceFactory.java:50)
> >   at
> org.apache.tomcat.jdbc.pool.DataSourceFactory.getObjectInstance(DataSou
> rceFactory.java:241)
> >   at
> org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java
> :94)
> >   at javax.naming.spi.NamingManager.getObjectInstance(Unknown
> Source)
> >   at org.apache.naming.NamingContext.lookup(NamingContext.java:841)
> >   at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
> >   at org.apache.naming.NamingContext.lookup(NamingContext.java:829)
> >   at org.apache.naming.NamingContext.lookup(NamingContext.java:166)
> >   at
> org.apache.catalina.core.NamingContextListener.addResource(NamingCont
> extListener.java:1084)
> >   at
> org.apache.catalina.core.NamingContextListener.createNamingContext(Na
> mingContextListener.java:663)
> >   at
> org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingCont
> extListener.java:256)
> >   at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.
> java:95)
> >   at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:9
> 0)
> >   at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.jav
> a:5154)
> >   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >   at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
> :725)
> >   at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
> >   at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
> >   at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945)
> >   at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1795
> )
> >   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> >   at java.util.concurrent.FutureTask.run(Unknown Source)
> >   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> >   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
> >   at java.lang.Thread.run(Unknown Source) Caused by:
> > java.lang.ClassNotFoundException: Unable to load class:
> com.microsoft.sqlserver.jdbc.SQLServerDriver from
> ClassLoader:java.net.URLClassLoader@72ea2f77;ClassLoader:WebappClassLo
> ader
> >    context: ProductionMetricsApp-0.3.0
> >    delegate: false
> > ----------> Parent Classloader:
> > java.net.URLClassLoader@72ea2f77
> >   at
> org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:
> 56)
> >   at
> org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(Pooled
> Connection.java:268)
> >   ... 32 more
> > Caused by: java.lang.ClassNotFoundException:
> com.microsoft.sqlserver.jdbc.SQLServerDriver
> >   at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClass
> LoaderBase.java:1333)
> >   at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClass
> LoaderBase.java:1167)
> >   at java.lang.Class.forName0(Native Method)
> >   at java.lang.Class.forName(Unknown Source)
> >   at
> org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:
> 38)
> >   ... 33 more
> > 22-Jul-2019 09:36:56.375 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [mes-service-impl-0.6.7] created a ThreadLocal
> with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@757a7ab3]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [9d0c5d34-5238-
> 42a8-b80d-3868ba82a48a-6]) 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.
> > 22-Jul-2019 09:36:56.441 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@33a9a4ab]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@6ee
> 433f0]) 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.
> > 22-Jul-2019 09:36:56.444 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@5b509737]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [242ff0ba-958e-
> 48d5-85c8-34c69b36b953-385]) 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.
> > 22-Jul-2019 09:36:56.446 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@6044925d]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@1e3
> 6ee02]) 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.
> > 22-Jul-2019 09:36:56.447 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@33a9a4ab]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@518
> 23587]) 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.
> > 22-Jul-2019 09:36:56.447 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@5b509737]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [1ea56fa3-0909-4f2a-
> bae5-31bd1412fe18-416]) 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.
> > 22-Jul-2019 09:36:56.447 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@5b509737]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [914b9dc6-48d9-
> 4b1a-b2b7-be96ea7847e2-416]) 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.
> > 22-Jul-2019 09:36:56.448 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@33a9a4ab]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@eb4
> f9af]) 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.
> > 22-Jul-2019 09:36:56.448 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@4a26445e]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@634
> 9e5e6]) 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.
> > 22-Jul-2019 09:36:56.448 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@33a9a4ab]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@232
> 7da05]) 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.
> > 22-Jul-2019 09:36:56.448 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@5b509737]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [a87021cc-3a5c-471f-
> 99a3-74d7fc78bf9c-434]) 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.
> > 22-Jul-2019 09:36:56.449 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@33a9a4ab]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@a77
> 364f]) 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.
> > 22-Jul-2019 09:36:56.450 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@5b509737]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [fa7f46ca-a1c4-4608-
> 90db-7abe002e27f3-332]) 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.
> > 22-Jul-2019 09:36:56.450 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@33a9a4ab]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@728
> b97eb]) 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.
> > 22-Jul-2019 09:36:56.450 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@5b509737]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [35ea7dfa-ac2b-
> 42c5-b6f2-a0e88e51d491-452]) 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.
> > 22-Jul-2019 09:36:56.450 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@5e412a89]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@432
> b34b6]) 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.
> > 22-Jul-2019 09:36:56.450 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@5b509737]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [2a2f4971-9ec2-41a3-
> 8cbc-1af47eef4959-321]) 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.
> > 22-Jul-2019 09:36:56.450 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@70ddb7d2]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@5ec
> 742ed]) 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.
> > 22-Jul-2019 09:36:56.450 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@33a9a4ab]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@905
> 3ede]) 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.
> > 22-Jul-2019 09:36:56.451 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@139125cc]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@e6f7
> 34b]) 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.
> > 22-Jul-2019 09:36:56.451 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@6adb8841]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@4a8
> 8b80a]) 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.
> > 22-Jul-2019 09:36:56.451 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@33a9a4ab]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@502
> d5bd2]) 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.
> > 22-Jul-2019 09:36:56.452 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@5b509737]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [a7f9fe20-552b-4c54-
> 90a1-2159879b9efe-432]) 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.
> > 22-Jul-2019 09:36:56.453 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@33a9a4ab]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@25a
> d9fb7]) 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.
> > 22-Jul-2019 09:36:56.453 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@5b509737]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [8a71be2c-331a-
> 4398-9656-135062efacc7-426]) 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.
> > 22-Jul-2019 09:36:56.453 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@5b509737]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [570e9eb9-a01e-
> 436c-bd4d-e110899e34e3-390]) 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.
> > 22-Jul-2019 09:36:56.455 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [activities-service-0.3.0] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@33a9a4ab]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@138
> 292c3]) 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.
> > 22-Jul-2019 09:36:59.723 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [mymachines-service-impl-0.6.2] created a
> ThreadLocal with key of type
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@6cd81413]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [22156d6f-8148-49f3-
> b49a-0be520e6d273-1]) 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.
> > 22-Jul-2019 09:36:59.723 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [mymachines-service-impl-0.6.2] created a
> ThreadLocal with key of type
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value
> [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@6cd81413]) and a value
> of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [df50226a-fe6e-
> 416e-8a55-e66e14c294b3-4]) 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.
> > 22-Jul-2019 09:36:59.724 SEVERE [localhost-startStop-3]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapF
> orLeaks The web application [mymachines-service-impl-0.6.2] created a
> ThreadLocal with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@2ff469ad]) and a value of type
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall]
> (value
> [com.ge.bm.springExtensions.jdbcSupport.ResultSetExtractingJdbcCall@1be
> 866b9]) 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.
> > ----------------------------------------------------
> >
> > Victor
> >
> >
> > ________________________________
> > De : Konstantin Kolinko <knst.koli...@gmail.com> Envoyé : samedi 20
> > juillet 2019 21:10:12 À : Tomcat Users List <users@tomcat.apache.org>
> > Objet : Re: WAR file not deploying correctly
> >
> > пт, 19 июл. 2019 г. в 12:47, Victor WILLART <victor.will...@hei.yncrea.fr>:
> >>
> >> Hi everybody,
> >>
> >>
> >> I am using Tomcat 8.0, and I am struggling to replace and deploy a WAR
> file.
> >>
> >
> > Tomcat 8.0 has reached End of Life and should not be used anymore. The
> > replacements are Tomcat 8.5 and 9.0.
> >
> >>
> >> I made a new WAR file, named it like the old one, and replaced it in my
> webapps folder. But the new generated folder for my application is just
> containing a single folder "config" which is empty. All the other folders and
> files are missing … I tried also to deploy it through the Tomcat Manager and 
> it
> happened the same.
> >>
> >>
> >> I don't think my war file is wrong since I have a back up folder of my app
> that was working perfectly before trying this, and the back up WAR file isn't
> working neither.  Only replacing the deployed folder by the deployed folder
> from back up makes my app work again correctly.
> >>
> >>
> >> If you have any hints or guesses about this, I would gladly try them.
> >>
> >
> > 1. A WAR file is effectively a ZIP archive (with minor differences
> > like using UTF-8 to encode file names). The first thing Tomcat does
> > when you deploy the web application is to unpack the file.  You can
> > perform this step manually using the "jar"utility from JDK.
> >
> > If you unpack the file manually, you would better remove the war file
> > from the webapps directory (or at least rename its extension), so that
> > auto-deployment does not interfere.
> >
> > It may be that your war file is broken, or does not contain anything
> > besides the "config" directory. The "t" command of the jar utility can
> > be used to test the war file and to list its contents (as suggested by
> > Christopher).
> >
> > 2. When you undeploy a web application, make sure that all its files
> > (in webapps and in work directory) are removed. The "config" directory
> > may remain from an incomplete undeployment.
> >
> > E.g. if the files in the config directory are owned by root user and
> > cannot be deleted by the user running Apache Tomcat.
> >
> > 3. I hope that you do not run two copies of Tomcat over the same
> > webapps directory at the same time.
> >
> > 4. Read the logs.
> >
> > Best regards,
> > Konstantin Kolinko
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to