[GeoNode-devel] GeoServer crashed in GeoNode 2.10

Paolo Pasquali paolo.pasquali at gmail.com
Mon Nov 23 05:41:52 PST 2020


Dear devs,

Please find attached the full geoserver.log since tomcat restart and after
removing the out of sync gwc layers.
Thanks.

Ciao

P.

On Mon, Nov 23, 2020 at 12:37 PM Paolo Pasquali <paolo.pasquali at gmail.com>
wrote:

> Dear devs,
>
> I've removed all layer configuration files in gwc-layers that were
> causing errors but still GeoServer does not start.
> The Tomcat log file caught some errors:
>
> 23-Nov-2020 11:26:58.714 SEVERE [localhost-startStop-1]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks
> The web application [geoserver] created a ThreadLocal with key of type
> [com.sun.jna.Structure$2] (value [com.sun.jna.Structure$2 at 26050621]) and
> a value of type [com.sun.jna.Structure.StructureSet] (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.
>
> 23-Nov-2020 11:26:58.714 SEVERE [localhost-startStop-1]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks
> The web application [geoserver] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal at 215fba9b]) and a
> value of type
> [org.springframework.security.core.context.SecurityContextImpl] (value
> [org.springframework.security.core.context.SecurityContextImpl at ffffffff:
> Null authentication]) 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.
>
> 23-Nov-2020 11:26:58.723 SEVERE [localhost-startStop-1]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks
> The web application [geoserver] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal at 53488849]) 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.
>
> 23-Nov-2020 11:26:58.723 SEVERE [localhost-startStop-1]
> org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks
> The web application [geoserver] created a ThreadLocal with key of type
> [java.lang.ThreadLocal.SuppliedThreadLocal] (value
> [java.lang.ThreadLocal$SuppliedThreadLocal at 1c220bed]) 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.
>
> While the GeoServer log has some warnings only, some are:
>
> 2020-11-23 11:31:42,676 WARN [geoserver.config] - Error reading resource
> URL
> [jar:file:/usr/local/apache-tomcat8/webapps/geoserver/WEB-INF/lib/gs-geofence-server-2.15-SNAPSHOT.jar!/geofence-default-override.properties]
>
> java.io.FileNotFoundException: URL
> [jar:file:/usr/local/apache-tomcat8/webapps/geoserver/WEB-INF/lib/gs-geofence-server-2.15-SNAPSHOT.jar!/geofence-default-override.properties]
> cannot be resolved to absolute file path because it does not reside in the
> file system:
> jar:file:/usr/local/apache-tomcat8/webapps/geoserver/WEB-INF/lib/gs-geofence-server-2.15-SNAPSHOT.jar!/geofence-default-override.properties
> ...
>
> 2020-11-23 11:31:43,581 WARN [ejb.Ejb3Configuration] -
> hibernate.connection.autocommit = false break the EJB3 specification
>
> 2020-11-23 11:31:43,613 WARN [dialect.H2Dialect] - The 1.1.119 version of
> H2 implements temporary table creation such that it commits current
> transaction; multi-table, bulk hql/jpaql will not work properly
>
> 2020-11-23 11:31:43,863 WARN [dialect.H2Dialect] - The 1.1.119 version of
> H2 implements temporary table creation such that it commits current
> transaction; multi-table, bulk hql/jpaql will not work properly
>
> 2020-11-23 11:31:44,033 WARN [cache.EhCacheProvider] - Could not find
> configuration [RuleLimits]; using defaults.
>
> 2020-11-23 11:31:44,077 WARN [cache.EhCacheProvider] - Could not find
> configuration [Rule]; using defaults.
>
> 2020-11-23 11:31:44,085 WARN [cache.EhCacheProvider] - Could not find
> configuration [usergroup]; using defaults.
>
> 2020-11-23 11:31:44,090 WARN [cache.EhCacheProvider] - Could not find
> configuration [GSUser]; using defaults.
>
> 2020-11-23 11:31:44,096 WARN [cache.EhCacheProvider] - Could not find
> configuration [GFUser]; using defaults.
>
> 2020-11-23 11:31:44,101 WARN [cache.EhCacheProvider] - Could not find
> configuration [gsinstance]; using defaults.
>
> 2020-11-23 11:31:44,107 WARN [cache.EhCacheProvider] - Could not find
> configuration [LayerDetails]; using defaults.
>
> 2020-11-23 11:31:45,527 WARN [org.geoserver] - Failed to load data store
> 'geonode_data'
>
> Any hint on how to proceed?
>
> Thanks!
>
> Paolo
>
>
>
> On Mon, Nov 23, 2020 at 10:28 AM Paolo Pasquali <paolo.pasquali at gmail.com>
> wrote:
>
>> Dear devs,
>>
>> While updating some layers metadata using the GeoNode admin UI, suddenly
>> GeoServer crashed and now I'm not able to restart it anymore.
>> From the logs I get some errors:
>>
>>
>> ERROR [context.ContextLoader] - Context initialization failed
>>
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'wcsService-1.0.0' defined in URL
>>
>> Invocation of init method failed; nested exception is
>> java.lang.IllegalStateException: Could not locate a layer or layer group
>> with id LayerInfoImpl-52979d4a:172b8fc663e:-33fe within GeoServer
>> configuration, the GWC configuration seems to be out of synch
>>
>>
>> I have this kind of error related to several layers. My guess they are
>> related to the layers I tried to update in the admin ui.
>>
>>
>> The solution I've found on the web suggests removing the layers from the
>> gwc-layers folders and then running updatelayers.
>>
>>
>> Is this the only solution? Is there a painless fix?
>>
>>
>> Thanks for your help.
>>
>>
>> Ciao
>>
>>
>> P.
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20201123/2edd6f4f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geoserver.log
Type: application/octet-stream
Size: 22602 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20201123/2edd6f4f/attachment-0001.obj>


More information about the geonode-devel mailing list