[GeoNode-users] geoserver error

Paolo Corti pcorti at gmail.com
Thu Sep 28 12:01:11 PDT 2017


According to first log, GeoServer is not starting because there is already
a process running on 8080.
Make sure to run "paver stop" before running again "paver start" and send
the log of it if still failing
cheers
p

On Thu, Sep 28, 2017 at 2:51 PM, Vicente <deluca.vicente at gmail.com> wrote:

> I attach two log files, one is the output of the paver start command, the
> other is the log of the geoserver/data/logs/geoserver.log folder
> I increased the memory in the command line that runs the jetty and the
> problem persists.
> The command line running the jetty worked perfectly until yesterday
>
> thks!
>
> On Thu, Sep 28, 2017 at 3:20 PM, Paolo Corti <pcorti at gmail.com> wrote:
>
>> Could you attach a larger portion of the log? From here it is not clear
>> that this error is the cause of GeoServer not being able to start.
>>
>> Generally when I see bean errors most of the time is because the Java
>> process of the container of GeoServer (Tomcat or Jetty) is lacking RAM.
>> Having a lot of RAM in the server doesn't mean that it will be correctly
>> used by GeoServer, as it must be optimized (by default the GeoServer which
>> comes with GeoNode is using parameters which are not ideal for production):
>> http://docs.geoserver.org/latest/en/user/production/container.html
>>
>> regards
>> p
>>
>> On Thu, Sep 28, 2017 at 12:17 PM, Vicente <deluca.vicente at gmail.com>
>> wrote:
>>
>>> Please, look at these error lines. Do not they tell you anything?
>>>
>>> Caused by: java.lang.RuntimeException: Could not decode: EPSG: 4326
>>> at org.geoserver.importer.format.KMLFileFormat. <clinit>
>>> (KMLFileFormat.java:65)
>>> ... plus
>>> Caused by: org.opengis.referencing.NoSuchAuthorityCodeException: No
>>> "EPSG: 4326" code from the "European Petroleum Survey Group" authority
>>> found for the "IdentifiedObject" object.
>>>
>>> On Thu, Sep 28, 2017 at 1:15 PM, Vicente <deluca.vicente at gmail.com>
>>> wrote:
>>>
>>>> yes, I have 8GB, memory is not the problem
>>>> Then it must be the kml that I loaded
>>>>
>>>> I'm ready to make a flush, could this solve it?
>>>>
>>>> On Thu, Sep 28, 2017 at 1:03 PM, Paolo Corti <pcorti at gmail.com> wrote:
>>>>
>>>>> They are warnings and I don't think they are causing GeoServer to fail.
>>>>> For sure deleting the default admin GeoNode users won't cause this
>>>>> kind of problem.
>>>>> Are you running GeoServer with enough memory?
>>>>> p
>>>>>
>>>>> On Thu, Sep 28, 2017 at 11:52 AM, Vicente <deluca.vicente at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Sorry, maybe this is off-topic, my question is, Does removes some
>>>>>> projection stuff when I delete the admin (default) user?
>>>>>> The geoserver log error says
>>>>>>
>>>>>> 2017-09-28 10:16:59,001 INFO [org.geoserver] - Loaded style 'raster'
>>>>>> 2017-09-28 10:16:59,001 INFO [org.geoserver] - Loaded style 'point'
>>>>>> 2017-09-28 10:16:59,002 INFO [org.geoserver] - Loaded style 'line'
>>>>>> 2017-09-28 10:16:59,002 INFO [org.geoserver] - Loaded style 'polygon'
>>>>>> 2017-09-28 10:16:59,003 INFO [org.geoserver] - Loaded default
>>>>>> workspace geonode
>>>>>> 2017-09-28 10:16:59,005 INFO [org.geoserver] - Loaded workspace
>>>>>> 'geonode'
>>>>>> 2017-09-28 10:16:59,294 WARN [referencing.factory] - Unavailable
>>>>>> authority factory: European Petroleum Survey Group
>>>>>> 2017-09-28 10:16:59,295 WARN [referencing.factory] - Unavailable
>>>>>> authority factory: European Petroleum Survey Group
>>>>>> 2017-09-28 10:16:59,296 WARN [referencing.factory] - Unavailable
>>>>>> authority factory: European Petroleum Survey Group
>>>>>> 2017-09-28 10:16:59,301 WARN [referencing.factory] - Unavailable
>>>>>> authority factory: European Petroleum Survey Group
>>>>>> 2017-09-28 10:16:59,302 WARN [referencing.factory] - Unavailable
>>>>>> authority factory: European Petroleum Survey Group
>>>>>> 2017-09-28 10:16:59,303 WARN [referencing.factory] - Unavailable
>>>>>> authority factory: European Petroleum Survey Group
>>>>>> 2017-09-28 10:16:59,308 WARN [support.DisposableBeanAdapter] -
>>>>>> Invocation of destroy method failed on bean with name 'importer':
>>>>>> java.lang.NullPointerException
>>>>>> 2017-09-28 10:16:59,309 WARN [support.DisposableBeanAdapter] -
>>>>>> Invocation of destroy method failed on bean with name 'geoServerLoader':
>>>>>> java.lang.NullPointerException
>>>>>> 2017-09-28 10:16:59,310 ERROR [context.ContextLoader] - Context
>>>>>> initialization failed
>>>>>> org.springframework.beans.factory.BeanCreationException: Error
>>>>>> creating bean with name 'kmlFormat' defined in URL
>>>>>> [jar:file:/var/www/geo/httpdocs/geonode/geoserver/geoserver/
>>>>>> WEB-INF/lib/gs-importer-core-2.7-SNAPSHOT.jar!/applicationContext.xml]:
>>>>>> Instantiation of bean failed; nested
>>>>>>
>>>>>> Another thing I did was add a kml file, but it looked fine!
>>>>>>
>>>>>> Some of the two things broke something in the geoserver.
>>>>>>
>>>>>> Thank you!
>>>>>>
>>>>>>
>>>>>> On Wed, Sep 27, 2017 at 8:54 PM, Vicente <deluca.vicente at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> the #paver start command throws the following error,
>>>>>>>
>>>>>>> Error creating bean with name 'kmlFormat' defined in URL
>>>>>>> [jar:file:/var/www/{...}/geoserver/geoserver/WEB-INF/lib/gs-
>>>>>>> importer-core-2.7-SNAPSHOT.jar!/applicationContext.xml]:
>>>>>>> Instantiation of bean failed; nested
>>>>>>> exception is java.lang.ExceptionInInitializerErro
>>>>>>>
>>>>>>> I think it might have happened after removing some admin users from
>>>>>>> geonode. It's possible?
>>>>>>> I added them again but the problem persists, I do not want to lose
>>>>>>> the information already loaded in the geoserver.
>>>>>>>
>>>>>>> Thank you!
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> [image: MANTA] <http://www.estudiomanta.com/>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Vicente Deluca
>>>>>>>
>>>>>>> *+54 11 6091 4579 <%2B54%2011%206091%204579>*
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> [image: MANTA] <http://www.estudiomanta.com/>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Vicente Deluca
>>>>>>
>>>>>> *+54 11 6091 4579 <%2B54%2011%206091%204579>*
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> geonode-users mailing list
>>>>>> geonode-users at lists.osgeo.org
>>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Paolo Corti
>>>>> Geospatial software developer
>>>>> web: http://www.paolocorti.net
>>>>> twitter: @capooti
>>>>> skype: capooti
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> [image: MANTA] <http://www.estudiomanta.com/>
>>>>
>>>>
>>>>
>>>> Vicente Deluca
>>>>
>>>> *+54 11 6091 4579 <%2B54%2011%206091%204579>*
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> [image: MANTA] <http://www.estudiomanta.com/>
>>>
>>>
>>>
>>> Vicente Deluca
>>>
>>> *+54 11 6091 4579 <%2B54%2011%206091%204579>*
>>>
>>>
>>
>>
>> --
>> Paolo Corti
>> Geospatial software developer
>> web: http://www.paolocorti.net
>> twitter: @capooti
>> skype: capooti
>>
>
>
>
> --
>
> [image: MANTA] <http://www.estudiomanta.com/>
>
>
>
> Vicente Deluca
>
> *+54 11 6091 4579 <%2B54%2011%206091%204579>*
>
>


-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170928/b1be863f/attachment-0001.html>


More information about the geonode-users mailing list