Gael Lafond ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=6205b741ed02400069a34d08
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZDdhNjM1YTdkMzNjNDc3MThhZTM0Zjk5ODg5NTFiMzgiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10675?atlOrigin=eyJpIjoiZDdhNjM1YTdkMzNjNDc3MThhZTM0Zjk5ODg5NTFiMzgiLCJwIjoiaiJ9
 ) GEOS-10675 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10675?atlOrigin=eyJpIjoiZDdhNjM1YTdkMzNjNDc3MThhZTM0Zjk5ODg5NTFiMzgiLCJwIjoiaiJ9
 ) Missing JNA jar in GeoServer 2.21.1 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10675?atlOrigin=eyJpIjoiZDdhNjM1YTdkMzNjNDc3MThhZTM0Zjk5ODg5NTFiMzgiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.21.1 Assignee: Unassigned Created: 
27/Sep/22 8:55 AM Environment:

OS: Ubuntu 20.04.5 LTS
Java: openjdk 11.0.16 2022-07-19
Tomcat: Apache Tomcat/9.0.31 (Ubuntu)

Priority: Highest Reporter: Gael Lafond ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=6205b741ed02400069a34d08
 )

Can't deploy GeoServer 2.21.1 (fresh install)

The issue is not present in GeoServer 2.21.0

Logs, when deploying the webapp in Tomcat:

{{
...
Sep 27 16:44:26 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:26 CONFIG 
[config.XMLConfiguration] - Initializing GridSets from gwc
Sep 27 16:44:26 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:26 CONFIG 
[config.XMLConfiguration] - Initializing layers from gwc
Sep 27 16:44:26 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:26 CONFIG 
[gwc.layer] - Initializing GWC configuration based on GeoServer's Catalog
Sep 27 16:44:26 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:26 CONFIG 
[gwc.layer] - GeoServer TileLayer store base directory is: gwc-layers
Sep 27 16:44:26 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:26 CONFIG 
[gwc.layer] - Loading tile layers from gwc-layers
Sep 27 16:44:26 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:26 CONFIG 
[gwc.layer] - Loaded 0 tile layers in 3.555 ms
Sep 27 16:44:26 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:26 CONFIG 
[storage.BlobStoreAggregator] - BlobStoreConfiguration gwc contained no blob 
store infos.
Sep 27 16:44:26 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:26 CONFIG 
[storage.DefaultStorageFinder] - Reverting to java.io.tmpdir '/tmp/geowebcache' 
for storage. Please set GEOWEBCACHE_CACHE_DIR.
Sep 27 16:44:26 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:26 CONFIG 
[gwc.config] - Initializing GeoServer specific GWC configuration from gwc-gs.xml
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:28 WARN 
[support.XmlWebApplicationContext] - Exception encountered during context 
initialization - cancelling refresh attempt: 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'monitorRest': Unsatisfied dependency expressed through 
field 'systemInfoCollector'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'OSHISystemInfoCollector' defined in URL 
[jar:file:/var/lib/tomcat9/webapps/geoserver/WEB-INF/lib/gs-main-2.21.1.jar!/org/geoserver/system/status/OSHISystemInfoCollector.class]
 : Instantiation of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.geoserver.system.status.OSHISystemInfoCollector] : Constructor threw 
exception; nested exception is java.lang.NoClassDefFoundError: Could not 
initialize class com.sun.jna.Native
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:28 WARN 
[support.DisposableBeanAdapter] - Destroy method 'destroy' on bean with name 
'gwcMemoryBlobStore' threw an exception: 
java.util.concurrent.RejectedExecutionException: Task 
java.util.concurrent.FutureTask@44f04f72 [Not completed, task = 
org.geowebcache.storage.blobstore.memory.MemoryBlobStore$BlobStoreTask@532e8342]
 rejected from java.util.concurrent.ThreadPoolExecutor@26fafca3 [Shutting down, 
pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0]
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:28 WARN 
[support.DisposableBeanAdapter] - Invocation of destroy method failed on bean 
with name 'geoServerLoader': 
org.springframework.beans.factory.BeanCreationNotAllowedException: Error 
creating bean with name 'metaTileCache': Singleton bean creation not allowed 
while singletons of this factory are in destruction (Do not request a bean from 
a BeanFactory in a destroy method implementation!)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:28 ERROR 
[context.ContextLoader] - Context initialization failed
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'monitorRest': Unsatisfied dependency expressed through 
field 'systemInfoCollector'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'OSHISystemInfoCollector' defined in URL 
[jar:file:/var/lib/tomcat9/webapps/geoserver/WEB-INF/lib/gs-main-2.21.1.jar!/org/geoserver/system/status/OSHISystemInfoCollector.class]
 : Instantiation of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.geoserver.system.status.OSHISystemInfoCollector] : Constructor threw 
exception; nested exception is java.lang.NoClassDefFoundError: Could not 
initialize class com.sun.jna.Native
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:22)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4685)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5146)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1848)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:772)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1619)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1151)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1353)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1357)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1335)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.lang.Thread.run(Thread.java:829)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'OSHISystemInfoCollector' defined in URL 
[jar:file:/var/lib/tomcat9/webapps/geoserver/WEB-INF/lib/gs-main-2.21.1.jar!/org/geoserver/system/status/OSHISystemInfoCollector.class]
 : Instantiation of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.geoserver.system.status.OSHISystemInfoCollector] : Constructor threw 
exception; nested exception is java.lang.NoClassDefFoundError: Could not 
initialize class com.sun.jna.Native
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1323)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1218)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : ... 45 more
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : Caused by: 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.geoserver.system.status.OSHISystemInfoCollector] : Constructor threw 
exception; nested exception is java.lang.NoClassDefFoundError: Could not 
initialize class com.sun.jna.Native
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:220)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1315)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : ... 56 more
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : Caused by: 
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
com.sun.jna.NativeLong.<clinit>(NativeLong.java:35)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
oshi.util.FileUtil.readNativeLongFromBuffer(FileUtil.java:240)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
oshi.driver.linux.proc.Auxv.queryAuxv(Auxv.java:59)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
oshi.software.os.linux.LinuxOperatingSystem.<clinit>(LinuxOperatingSystem.java:106)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
oshi.SystemInfo.createOperatingSystem(SystemInfo.java:106)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
oshi.util.Memoizer$1.get(Memoizer.java:87)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
oshi.SystemInfo.getOperatingSystem(SystemInfo.java:98)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.geoserver.system.status.OSHISystemInfoCollector.<init>(OSHISystemInfoCollector.java:60)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:207)
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : ... 58 more
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : One or more listeners failed 
to start. Full details will be found in the appropriate container log file
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : Context [/geoserver] startup 
failed due to previous errors
Sep 27 16:44:28 tsv-sc-geoserver tomcat9 [2967] : 27 044 16:44:28 INFO 
[geoserver.logging] - Beginning GeoServer cleanup sequence
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : The web application 
[geoserver] appears to have started a thread named [FileSystemWatcher-1] but 
has failed to stop it. This is very likely to create a memory leak. Stack trace 
of thread:
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/jdk.internal.misc.Unsafe.park(Native Method)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/java.lang.Thread.run(Thread.java:829)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : The web application 
[geoserver] appears to have started a thread named [EMF Reference Cleaner] but 
has failed to stop it. This is very likely to create a memory leak. Stack trace 
of thread:
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/java.lang.Object.wait(Native Method)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
java.base@11.0.16/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : 
org.eclipse.emf.common.util.CommonUtil$1ReferenceClearingQueuePollingThread.run(CommonUtil.java:70)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : Failed to clear soft 
references from ObjectStreamClass$Caches for web application [geoserver]
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : java.lang.ClassCastException: 
class java.io.ObjectStreamClass$Caches$1 cannot be cast to class java.util.Map 
(java.io.ObjectStreamClass$Caches$1 and java.util.Map are in module java.base 
of loader 'bootstrap')
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.loader.WebappClassLoaderBase.clearCache(WebappClassLoaderBase.java:2269)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesObjectStreamClassCaches(WebappClassLoaderBase.java:2256)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferences(WebappClassLoaderBase.java:1627)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.loader.WebappClassLoaderBase.stop(WebappClassLoaderBase.java:1555)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:443)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5432)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1848)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:772)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1619)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1151)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1353)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1357)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1335)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.lang.Thread.run(Thread.java:829)
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : The web application 
[geoserver] created a ThreadLocal with key of type 
[java.lang.ThreadLocal.SuppliedThreadLocal] (value 
[java.lang.ThreadLocal$SuppliedThreadLocal@4871dcad] ) and a value of type 
[org.geowebcache.storage.CompositeBlobStore.StoreSuitabilityCheck] (value 
[EXISTING] ) 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.
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : The web application 
[geoserver] created a ThreadLocal with key of type [java.lang.ThreadLocal] 
(value [java.lang.ThreadLocal@6630f883] ) and a value of type 
[org.geotools.referencing.operation.projection.TransverseMercator.Provider] 
(value [PROJECTION ["Transverse_Mercator"] ]) 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.
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : The web application 
[geoserver] created a ThreadLocal with key of type [java.lang.ThreadLocal] 
(value [java.lang.ThreadLocal@7f65826] ) and a value of type 
[org.geotools.referencing.wkt.Formatter] (value []) 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.
Sep 27 16:44:29 tsv-sc-geoserver tomcat9 [2967] : Deployment of web application 
archive [/var/lib/tomcat9/webapps/geoserver.war] has finished in [13,575] ms
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : Illegal access: this web 
application instance has been stopped already. Could not load 
[org.geoserver.platform.resource.ResourceNotification$Kind]. The following 
stack trace is thrown for debugging purposes as well as to attempt to terminate 
the thread which caused the illegal access.
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : 
java.lang.IllegalStateException: Illegal access: this web application instance 
has been stopped already. Could not load 
[org.geoserver.platform.resource.ResourceNotification$Kind]. The following 
stack trace is thrown for debugging purposes as well as to attempt to terminate 
the thread which caused the illegal access.
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1385)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1373)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1226)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
org.geoserver.platform.resource.FileSystemWatcher$Watch.pollDirectory(FileSystemWatcher.java:221)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
org.geoserver.platform.resource.FileSystemWatcher$Watch.changed(FileSystemWatcher.java:211)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
org.geoserver.platform.resource.FileSystemWatcher$1.run(FileSystemWatcher.java:342)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
Sep 27 16:44:31 tsv-sc-geoserver tomcat9 [2967] : at 
java.base/java.lang.Thread.run(Thread.java:829)
}}

( 
https://osgeo-org.atlassian.net/browse/GEOS-10675#add-comment?atlOrigin=eyJpIjoiZDdhNjM1YTdkMzNjNDc3MThhZTM0Zjk5ODg5NTFiMzgiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10675#add-comment?atlOrigin=eyJpIjoiZDdhNjM1YTdkMzNjNDc3MThhZTM0Zjk5ODg5NTFiMzgiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100207- 
sha1:520255c )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to