[GeoNode-users] NetCDF plugin doesn't match with the jar files in GeoServer 2.9.x

Corina Tudorache corina_ww at yahoo.com
Tue Jan 9 04:27:35 PST 2018


Hi list,
I have tried to install the NetCDF plugin for GeoServer 2.9.x and files don't match. I don't have this problem with GeoServer 2.12.x. Any idea what version of GeoServer 2.9.x  matches the NetCDF plugin ?There are a few files needed to run the netcdf plugin that are already in the /WEB-INF/lib directory, but with another name. For example this files that is already in WEB-INF/lib directory that comes with the GeoServer 2.9.x gt-jdbc-h2-15-SNAPSHOT.jar in the  geoserver-2.9.0-netcdf-plugin has this name 2.9.x gt-jdbc-h2-15.jar 
And also I have different versions for some file like this: httpcore-4.4.4.jar (in the WEB-INF/lib) and httpcore-4.3.3.jar in the geoserver-2.9.0-netcdf-plugin.Could this be a problem? I tried to add in the WEB-INF/lib directory inly the files that aren't already there, but I get an error when I run sudo geonode updatelayers and I get this error message:
Traceback (most recent call last):
  File "/usr/bin/django-admin", line 21, in <module>
    management.execute_from_command_line()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/management/commands/updatelayers.py", line 119, in handle
    execute_signals=True)
  File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 422, in gs_slurp
    resources = cat.get_resources()
  File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 722, in get_resources
    for ws in self.get_workspaces():
  File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 860, in get_workspaces
    description = self.get_xml("%s/workspaces.xml" % self.service_url)
  File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 216, in get_xml
    raise FailedRequestError("Tried to make a GET request to %s but got a %d status code: \n%s" % (rest_url, response.status, content))
geoserver.catalog.FailedRequestError: Tried to make a GET request to http://localhost:8080/geoserver/rest/workspaces.xml but got a 404 status code:
<html><head><title>Apache Tomcat/7.0.68 (Ubuntu) - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /geoserver/rest/workspaces.xml</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/geoserver/rest/workspaces.xml</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.68 (Ubuntu)</h3></body></html>

Kind regards,Corina

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180109/c6f43a68/attachment.html>


More information about the geonode-users mailing list