[GeoNode-devel] GeoServer crashed in GeoNode 2.10

Paolo Pasquali paolo.pasquali at gmail.com
Mon Nov 23 09:24:59 PST 2020


Ciao Alessio,

I have a production installation made in GeoNode 2.10 with some python2
customizations whose GeoServer suddenly crashed. So I cannot easily upgrade.
So I made another 2.10 installation in order to tackle the issue. Without
much luck.




On Mon, Nov 23, 2020 at 6:21 PM Alessio Fabiani <
alessio.fabiani at geo-solutions.it> wrote:

> Hello Paolo,
> if you are doing a fresh installation, why are you using GeoNode 2.10?
>
> Il giorno lun 23 nov 2020 alle ore 18:10 Paolo Pasquali <
> paolo.pasquali at gmail.com> ha scritto:
>
>> Hi,
>>
>> Sorry for the spam.
>> I made a fresh installation and an empty GeoServer crashed after the
>> first restart when I was configuring uwgi and nginx (2.10 Advanced
>> installation on Ubuntu 18).
>> I'm not able to start it again in any way. I'm getting the same errors on
>> the two servers.
>>
>> Is there any known issue? Should I upgrade java to 11?
>>
>> Thanks,
>>
>> P.
>>
>>
>>
>>
>>
>> On Mon, Nov 23, 2020 at 2:41 PM Paolo Pasquali <paolo.pasquali at gmail.com>
>> wrote:
>>
>>> 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.
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>> geonode-devel mailing list
>> geonode-devel at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>
>
>
> --
>
> ==
>
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39 331 6233686
>
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> -------------------------------------------------------
>
> Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
> precisa che ogni circostanza inerente alla presente email (il suo
> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>
>
> This email is intended only for the person or entity to which it is
> addressed and may contain information that is privileged, confidential or
> otherwise protected from disclosure. We remind that - as provided by
> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
> e-mail or the information herein by anyone other than the intended
> recipient is prohibited. If you have received this email by mistake, please
> notify us immediately by telephone or e-mail.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20201123/00862223/attachment-0001.html>


More information about the geonode-devel mailing list