[Geoserver-users] Internal Server Error(500): Could not aquire reader for coverage

I am attempting to create a coverage resource using the following endpoint:
http://127.0.0.1:8181/geoserver/rest/workspaces/hydroshare_gis_testing/coveragestores/res_1c23db3544864fe8ba4db4a5e89d45cf/file.geotiff?update=overwrite

I am getting the following error:
‘Internal Server Error(500): Could not aquire reader for coverage.’

Here is the gdalinfo for the .tif file in question:
Driver: GTiff/GeoTIFF

Files: Onion.tif
Size is 6910, 2870
Coordinate System is:
GEOGCS[“GCS_North_American_1983”,
DATUM[“D_North_American_1983”,
SPHEROID[“GRS_1980”,6378137.0,298.257222101]],
PRIMEM[“Greenwich”,0.0],
UNIT[“Degree”,0.0174532925199433],
VERTCS[“Unknown VCS”,
VDATUM[“Unknown”],
PARAMETER[“Vertical_Shift”,0.0],
PARAMETER[“Direction”,1.0],
UNIT[“Meter”,1.0]]]
Origin = (-98.312407407408841,30.273425925922695)
Pixel Size = (0.000092592592593,-0.000092592592593)
Metadata:
AREA_OR_POINT=Area
DataType=Generic
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -98.3124074, 30.2734259) ( 98d18’44.67"W, 30d16’24.33"N)
Lower Left ( -98.3124074, 30.0076852) ( 98d18’44.67"W, 30d 0’27.67"N)
Upper Right ( -97.6725926, 30.2734259) ( 97d40’21.33"W, 30d16’24.33"N)
Lower Right ( -97.6725926, 30.0076852) ( 97d40’21.33"W, 30d 0’27.67"N)
Center ( -97.9925000, 30.1405556) ( 97d59’33.00"W, 30d 8’26.00"N)
Band 1 Block=128x128 Type=Float32, ColorInterp=Gray
NoData Value=-3.40282306073709653e+38
Metadata:
SourceBandIndex=0

I’ve searched and searched through Google, the SourceForge Mailing List, and looking at the Java source code, but cannot figure this one out. Please let me know if anyone has any additional knowledge.

Cheer,
Shawn

Hi Shawn,
to make sure, did you try configuring the same file using the UI, does it work there?

Cheers
Andrea

···

On Wed, Jun 29, 2016 at 4:10 PM, Shawn Crawley <shawncrawley@anonymised.com> wrote:

I am attempting to create a coverage resource using the following endpoint:
http://127.0.0.1:8181/geoserver/rest/workspaces/hydroshare_gis_testing/coveragestores/res_1c23db3544864fe8ba4db4a5e89d45cf/file.geotiff?update=overwrite

I am getting the following error:
‘Internal Server Error(500): Could not aquire reader for coverage.’

Here is the gdalinfo for the .tif file in question:
Driver: GTiff/GeoTIFF

Files: Onion.tif
Size is 6910, 2870
Coordinate System is:
GEOGCS[“GCS_North_American_1983”,
DATUM[“D_North_American_1983”,
SPHEROID[“GRS_1980”,6378137.0,298.257222101]],
PRIMEM[“Greenwich”,0.0],
UNIT[“Degree”,0.0174532925199433],
VERTCS[“Unknown VCS”,
VDATUM[“Unknown”],
PARAMETER[“Vertical_Shift”,0.0],
PARAMETER[“Direction”,1.0],
UNIT[“Meter”,1.0]]]
Origin = (-98.312407407408841,30.273425925922695)
Pixel Size = (0.000092592592593,-0.000092592592593)
Metadata:
AREA_OR_POINT=Area
DataType=Generic
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -98.3124074, 30.2734259) ( 98d18’44.67"W, 30d16’24.33"N)
Lower Left ( -98.3124074, 30.0076852) ( 98d18’44.67"W, 30d 0’27.67"N)
Upper Right ( -97.6725926, 30.2734259) ( 97d40’21.33"W, 30d16’24.33"N)
Lower Right ( -97.6725926, 30.0076852) ( 97d40’21.33"W, 30d 0’27.67"N)
Center ( -97.9925000, 30.1405556) ( 97d59’33.00"W, 30d 8’26.00"N)
Band 1 Block=128x128 Type=Float32, ColorInterp=Gray
NoData Value=-3.40282306073709653e+38
Metadata:
SourceBandIndex=0

I’ve searched and searched through Google, the SourceForge Mailing List, and looking at the Java source code, but cannot figure this one out. Please let me know if anyone has any additional knowledge.

Cheer,
Shawn


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


I have never actually used the UI before, so it is possible that I am doing something wrong there. Regardless, my attempts to use the UI resulted in this error:
‘Could not list layers for this store, an error occurred retrieving them: No input stream for the provided source’

···

On Wed, Jun 29, 2016 at 4:10 PM, Shawn Crawley <shawncrawley@anonymised.com> wrote:

I am attempting to create a coverage resource using the following endpoint:
http://127.0.0.1:8181/geoserver/rest/workspaces/hydroshare_gis_testing/coveragestores/res_1c23db3544864fe8ba4db4a5e89d45cf/file.geotiff?update=overwrite

I am getting the following error:
‘Internal Server Error(500): Could not aquire reader for coverage.’

Here is the gdalinfo for the .tif file in question:
Driver: GTiff/GeoTIFF

Files: Onion.tif
Size is 6910, 2870
Coordinate System is:
GEOGCS[“GCS_North_American_1983”,
DATUM[“D_North_American_1983”,
SPHEROID[“GRS_1980”,6378137.0,298.257222101]],
PRIMEM[“Greenwich”,0.0],
UNIT[“Degree”,0.0174532925199433],
VERTCS[“Unknown VCS”,
VDATUM[“Unknown”],
PARAMETER[“Vertical_Shift”,0.0],
PARAMETER[“Direction”,1.0],
UNIT[“Meter”,1.0]]]
Origin = (-98.312407407408841,30.273425925922695)
Pixel Size = (0.000092592592593,-0.000092592592593)
Metadata:
AREA_OR_POINT=Area
DataType=Generic
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -98.3124074, 30.2734259) ( 98d18’44.67"W, 30d16’24.33"N)
Lower Left ( -98.3124074, 30.0076852) ( 98d18’44.67"W, 30d 0’27.67"N)
Upper Right ( -97.6725926, 30.2734259) ( 97d40’21.33"W, 30d16’24.33"N)
Lower Right ( -97.6725926, 30.0076852) ( 97d40’21.33"W, 30d 0’27.67"N)
Center ( -97.9925000, 30.1405556) ( 97d59’33.00"W, 30d 8’26.00"N)
Band 1 Block=128x128 Type=Float32, ColorInterp=Gray
NoData Value=-3.40282306073709653e+38
Metadata:
SourceBandIndex=0

I’ve searched and searched through Google, the SourceForge Mailing List, and looking at the Java source code, but cannot figure this one out. Please let me know if anyone has any additional knowledge.

Cheer,
Shawn


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi Shawn,
I think that GeoServer doesn’t like the CRS of your dataset since it doesn’t have any EPSG code associated.

You may consider defining your own EPSG code and add it to the custom epsg properties.

http://docs.geoserver.org/stable/en/user/configuration/crshandling/customcrs.html

Please, let us know if this helps.
Cheers,
Daniele

···

On Wed, Jun 29, 2016 at 6:22 PM, Shawn Crawley <shawncrawley@anonymised.com> wrote:

I have never actually used the UI before, so it is possible that I am doing something wrong there. Regardless, my attempts to use the UI resulted in this error:
‘Could not list layers for this store, an error occurred retrieving them: No input stream for the provided source’

On Wed, Jun 29, 2016 at 9:11 AM Andrea Aime <andrea.aime@anonymised.com07…> wrote:

Hi Shawn,
to make sure, did you try configuring the same file using the UI, does it work there?

Cheers
Andrea


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Wed, Jun 29, 2016 at 4:10 PM, Shawn Crawley <shawncrawley@anonymised.com> wrote:

I am attempting to create a coverage resource using the following endpoint:
http://127.0.0.1:8181/geoserver/rest/workspaces/hydroshare_gis_testing/coveragestores/res_1c23db3544864fe8ba4db4a5e89d45cf/file.geotiff?update=overwrite

I am getting the following error:
‘Internal Server Error(500): Could not aquire reader for coverage.’

Here is the gdalinfo for the .tif file in question:
Driver: GTiff/GeoTIFF

Files: Onion.tif
Size is 6910, 2870
Coordinate System is:
GEOGCS[“GCS_North_American_1983”,
DATUM[“D_North_American_1983”,
SPHEROID[“GRS_1980”,6378137.0,298.257222101]],
PRIMEM[“Greenwich”,0.0],
UNIT[“Degree”,0.0174532925199433],
VERTCS[“Unknown VCS”,
VDATUM[“Unknown”],
PARAMETER[“Vertical_Shift”,0.0],
PARAMETER[“Direction”,1.0],
UNIT[“Meter”,1.0]]]
Origin = (-98.312407407408841,30.273425925922695)
Pixel Size = (0.000092592592593,-0.000092592592593)
Metadata:
AREA_OR_POINT=Area
DataType=Generic
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -98.3124074, 30.2734259) ( 98d18’44.67"W, 30d16’24.33"N)
Lower Left ( -98.3124074, 30.0076852) ( 98d18’44.67"W, 30d 0’27.67"N)
Upper Right ( -97.6725926, 30.2734259) ( 97d40’21.33"W, 30d16’24.33"N)
Lower Right ( -97.6725926, 30.0076852) ( 97d40’21.33"W, 30d 0’27.67"N)
Center ( -97.9925000, 30.1405556) ( 97d59’33.00"W, 30d 8’26.00"N)
Band 1 Block=128x128 Type=Float32, ColorInterp=Gray
NoData Value=-3.40282306073709653e+38
Metadata:
SourceBandIndex=0

I’ve searched and searched through Google, the SourceForge Mailing List, and looking at the Java source code, but cannot figure this one out. Please let me know if anyone has any additional knowledge.

Cheer,
Shawn


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


==

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

Additional info: I tried adding a file through the UI that adds successfully when using the REST API, yet gives the same error from my last message when attempted through the UI. I don’t know if this is a separate issue, then, or what is going on there.

···

On Wed, Jun 29, 2016 at 4:10 PM, Shawn Crawley <shawncrawley@anonymised.com> wrote:

I am attempting to create a coverage resource using the following endpoint:
http://127.0.0.1:8181/geoserver/rest/workspaces/hydroshare_gis_testing/coveragestores/res_1c23db3544864fe8ba4db4a5e89d45cf/file.geotiff?update=overwrite

I am getting the following error:
‘Internal Server Error(500): Could not aquire reader for coverage.’

Here is the gdalinfo for the .tif file in question:
Driver: GTiff/GeoTIFF

Files: Onion.tif
Size is 6910, 2870
Coordinate System is:
GEOGCS[“GCS_North_American_1983”,
DATUM[“D_North_American_1983”,
SPHEROID[“GRS_1980”,6378137.0,298.257222101]],
PRIMEM[“Greenwich”,0.0],
UNIT[“Degree”,0.0174532925199433],
VERTCS[“Unknown VCS”,
VDATUM[“Unknown”],
PARAMETER[“Vertical_Shift”,0.0],
PARAMETER[“Direction”,1.0],
UNIT[“Meter”,1.0]]]
Origin = (-98.312407407408841,30.273425925922695)
Pixel Size = (0.000092592592593,-0.000092592592593)
Metadata:
AREA_OR_POINT=Area
DataType=Generic
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -98.3124074, 30.2734259) ( 98d18’44.67"W, 30d16’24.33"N)
Lower Left ( -98.3124074, 30.0076852) ( 98d18’44.67"W, 30d 0’27.67"N)
Upper Right ( -97.6725926, 30.2734259) ( 97d40’21.33"W, 30d16’24.33"N)
Lower Right ( -97.6725926, 30.0076852) ( 97d40’21.33"W, 30d 0’27.67"N)
Center ( -97.9925000, 30.1405556) ( 97d59’33.00"W, 30d 8’26.00"N)
Band 1 Block=128x128 Type=Float32, ColorInterp=Gray
NoData Value=-3.40282306073709653e+38
Metadata:
SourceBandIndex=0

I’ve searched and searched through Google, the SourceForge Mailing List, and looking at the Java source code, but cannot figure this one out. Please let me know if anyone has any additional knowledge.

Cheer,
Shawn


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi,

What if you’d make a copy of the image with gdal_translate and attach some projection with well known EPSG code with - a_ srs? Perhaps that would make Geoserver to feel more comfortable.

Jukka Rahkonen

···

On Wed, Jun 29, 2016 at 4:10 PM, Shawn Crawley <shawncrawley@…84…> wrote:

I am attempting to create a coverage resource using the following endpoint:
http://127.0.0.1:8181/geoserver/rest/workspaces/hydroshare_gis_testing/coveragestores/res_1c23db3544864fe8ba4db4a5e89d45cf/file.geotiff?update=overwrite

I am getting the following error:
‘Internal Server Error(500): Could not aquire reader for coverage.’

Here is the gdalinfo for the .tif file in question:
Driver: GTiff/GeoTIFF

Files: Onion.tif
Size is 6910, 2870
Coordinate System is:
GEOGCS[“GCS_North_American_1983”,
DATUM[“D_North_American_1983”,
SPHEROID[“GRS_1980”,6378137.0,298.257222101]],
PRIMEM[“Greenwich”,0.0],
UNIT[“Degree”,0.0174532925199433],
VERTCS[“Unknown VCS”,
VDATUM[“Unknown”],
PARAMETER[“Vertical_Shift”,0.0],
PARAMETER[“Direction”,1.0],
UNIT[“Meter”,1.0]]]
Origin = (-98.312407407408841,30.273425925922695)
Pixel Size = (0.000092592592593,-0.000092592592593)
Metadata:
AREA_OR_POINT=Area
DataType=Generic
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -98.3124074, 30.2734259) ( 98d18’44.67"W, 30d16’24.33"N)
Lower Left ( -98.3124074, 30.0076852) ( 98d18’44.67"W, 30d 0’27.67"N)
Upper Right ( -97.6725926, 30.2734259) ( 97d40’21.33"W, 30d16’24.33"N)
Lower Right ( -97.6725926, 30.0076852) ( 97d40’21.33"W, 30d 0’27.67"N)
Center ( -97.9925000, 30.1405556) ( 97d59’33.00"W, 30d 8’26.00"N)
Band 1 Block=128x128 Type=Float32, ColorInterp=Gray
NoData Value=-3.40282306073709653e+38
Metadata:
SourceBandIndex=0

I’ve searched and searched through Google, the SourceForge Mailing List, and looking at the Java source code, but cannot figure this one out. Please let me know if anyone has any additional knowledge.

Cheer,
Shawn


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hum… that actually seems just NAD83, https://epsg.io/4269 , it’s just that
the GeoTiff file does not contain an indication of the EPSG code.
Rewriting it with gdal_translate using -a_srs EPSG:4269 is probably going to fix the issue.

Cheers
Andrea

···

On Wed, Jun 29, 2016 at 6:36 PM, Daniele Romagnoli <daniele.romagnoli@anonymised.com> wrote:

Hi Shawn,
I think that GeoServer doesn’t like the CRS of your dataset since it doesn’t have any EPSG code associated.

You may consider defining your own EPSG code and add it to the custom epsg properties.

http://docs.geoserver.org/stable/en/user/configuration/crshandling/customcrs.html

Please, let us know if this helps.
Cheers,
Daniele

On Wed, Jun 29, 2016 at 6:22 PM, Shawn Crawley <shawncrawley@anonymised.com> wrote:

I have never actually used the UI before, so it is possible that I am doing something wrong there. Regardless, my attempts to use the UI resulted in this error:
‘Could not list layers for this store, an error occurred retrieving them: No input stream for the provided source’

On Wed, Jun 29, 2016 at 9:11 AM Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi Shawn,
to make sure, did you try configuring the same file using the UI, does it work there?

Cheers
Andrea


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

On Wed, Jun 29, 2016 at 4:10 PM, Shawn Crawley <shawncrawley@anonymised.com> wrote:

I am attempting to create a coverage resource using the following endpoint:
http://127.0.0.1:8181/geoserver/rest/workspaces/hydroshare_gis_testing/coveragestores/res_1c23db3544864fe8ba4db4a5e89d45cf/file.geotiff?update=overwrite

I am getting the following error:
‘Internal Server Error(500): Could not aquire reader for coverage.’

Here is the gdalinfo for the .tif file in question:
Driver: GTiff/GeoTIFF

Files: Onion.tif
Size is 6910, 2870
Coordinate System is:
GEOGCS[“GCS_North_American_1983”,
DATUM[“D_North_American_1983”,
SPHEROID[“GRS_1980”,6378137.0,298.257222101]],
PRIMEM[“Greenwich”,0.0],
UNIT[“Degree”,0.0174532925199433],
VERTCS[“Unknown VCS”,
VDATUM[“Unknown”],
PARAMETER[“Vertical_Shift”,0.0],
PARAMETER[“Direction”,1.0],
UNIT[“Meter”,1.0]]]
Origin = (-98.312407407408841,30.273425925922695)
Pixel Size = (0.000092592592593,-0.000092592592593)
Metadata:
AREA_OR_POINT=Area
DataType=Generic
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -98.3124074, 30.2734259) ( 98d18’44.67"W, 30d16’24.33"N)
Lower Left ( -98.3124074, 30.0076852) ( 98d18’44.67"W, 30d 0’27.67"N)
Upper Right ( -97.6725926, 30.2734259) ( 97d40’21.33"W, 30d16’24.33"N)
Lower Right ( -97.6725926, 30.0076852) ( 97d40’21.33"W, 30d 0’27.67"N)
Center ( -97.9925000, 30.1405556) ( 97d59’33.00"W, 30d 8’26.00"N)
Band 1 Block=128x128 Type=Float32, ColorInterp=Gray
NoData Value=-3.40282306073709653e+38
Metadata:
SourceBandIndex=0

I’ve searched and searched through Google, the SourceForge Mailing List, and looking at the Java source code, but cannot figure this one out. Please let me know if anyone has any additional knowledge.

Cheer,
Shawn


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Rewriting the file with gdal_translate using -a_srs EPSG:4269 fixed the issue. Thank you!

···

On Wed, Jun 29, 2016 at 6:36 PM, Daniele Romagnoli <daniele.romagnoli@anonymised.com> wrote:

Hi Shawn,
I think that GeoServer doesn’t like the CRS of your dataset since it doesn’t have any EPSG code associated.

You may consider defining your own EPSG code and add it to the custom epsg properties.

http://docs.geoserver.org/stable/en/user/configuration/crshandling/customcrs.html

Please, let us know if this helps.
Cheers,
Daniele

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


On Wed, Jun 29, 2016 at 6:22 PM, Shawn Crawley <shawncrawley@anonymised.com> wrote:

I have never actually used the UI before, so it is possible that I am doing something wrong there. Regardless, my attempts to use the UI resulted in this error:
‘Could not list layers for this store, an error occurred retrieving them: No input stream for the provided source’

On Wed, Jun 29, 2016 at 9:11 AM Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi Shawn,
to make sure, did you try configuring the same file using the UI, does it work there?

Cheers
Andrea


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

On Wed, Jun 29, 2016 at 4:10 PM, Shawn Crawley <shawncrawley@anonymised.com> wrote:

I am attempting to create a coverage resource using the following endpoint:
http://127.0.0.1:8181/geoserver/rest/workspaces/hydroshare_gis_testing/coveragestores/res_1c23db3544864fe8ba4db4a5e89d45cf/file.geotiff?update=overwrite

I am getting the following error:
‘Internal Server Error(500): Could not aquire reader for coverage.’

Here is the gdalinfo for the .tif file in question:
Driver: GTiff/GeoTIFF

Files: Onion.tif
Size is 6910, 2870
Coordinate System is:
GEOGCS[“GCS_North_American_1983”,
DATUM[“D_North_American_1983”,
SPHEROID[“GRS_1980”,6378137.0,298.257222101]],
PRIMEM[“Greenwich”,0.0],
UNIT[“Degree”,0.0174532925199433],
VERTCS[“Unknown VCS”,
VDATUM[“Unknown”],
PARAMETER[“Vertical_Shift”,0.0],
PARAMETER[“Direction”,1.0],
UNIT[“Meter”,1.0]]]
Origin = (-98.312407407408841,30.273425925922695)
Pixel Size = (0.000092592592593,-0.000092592592593)
Metadata:
AREA_OR_POINT=Area
DataType=Generic
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -98.3124074, 30.2734259) ( 98d18’44.67"W, 30d16’24.33"N)
Lower Left ( -98.3124074, 30.0076852) ( 98d18’44.67"W, 30d 0’27.67"N)
Upper Right ( -97.6725926, 30.2734259) ( 97d40’21.33"W, 30d16’24.33"N)
Lower Right ( -97.6725926, 30.0076852) ( 97d40’21.33"W, 30d 0’27.67"N)
Center ( -97.9925000, 30.1405556) ( 97d59’33.00"W, 30d 8’26.00"N)
Band 1 Block=128x128 Type=Float32, ColorInterp=Gray
NoData Value=-3.40282306073709653e+38
Metadata:
SourceBandIndex=0

I’ve searched and searched through Google, the SourceForge Mailing List, and looking at the Java source code, but cannot figure this one out. Please let me know if anyone has any additional knowledge.

Cheer,
Shawn


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi all

I’ve just moved a data directory for a geoserver 2.7.0 install, as follows:

stop tomcat

rsync -av /path/to/geoserver/data /path/to/new/place/

…constructing ' /path/to/new/place/data’, with the tree still owned by tomcat.

…then I added '/path/to/new/place/data’ to the GEOSERVER_DATA_DIR context parameter in web.xml

…then I restart tomcat.

After the move everything seems to be in place, defined users can log in, data stores and layers are all listed - but I get a Java error whenever I try to view details for a layer:

layers -> click layer name -> org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor …

If I go to layer preview, clicking an openlayers link results in downloading a bit of XML:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://130.56.244.241:80/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt; <ServiceExceptionReport version="1.1.1" > <ServiceException code="LayerNotDefined" locator="layers">
      Could not find layer ITEM:ITEM...
</ServiceException></ServiceExceptionReport>

This seems really similar to an old issue (see https://sourceforge.net/p/geoserver/mailman/message/32008598/), but:

- there was nothing in the layergroups directory
- I can make layergroups from the missing layers, and preview those

I’m by no means a Java ninja - so I’m struggling to decode what the error message and the geoserver log file actually mean - geoserver’s output around the event of clicking a layer name and throwing the Java error is copied below.

Any help is appreciated!

Thankyou

Adam

————
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 DEBUG [org.geoserver] - Thread 40 locking in mode WRITE
2016-07-06 11:37:22,329 DEBUG [org.geoserver] - Thread 40 got the lock in mode WRITE
2016-07-06 11:37:22,332 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,333 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,333 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,334 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,334 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,334 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,340 DEBUG [org.geoserver] - Thread 40 releasing the lock in mode WRITE
2016-07-06 11:37:22,340 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
2016-07-06 11:37:22,341 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 DEBUG [org.geoserver] - Thread 42 locking in mode WRITE
2016-07-06 11:37:23,319 DEBUG [org.geoserver] - Thread 42 got the lock in mode WRITE
2016-07-06 11:37:23,320 ERROR [org.apache.wicket.RequestCycle] - Can't instantiate page using constructor public org.geoserver.web.data.resource.ResourceConfigurationPage(org.apache.wicket.PageParameters) and argument name = "[ITEM_REL_mosaic_1987_2015]" wsName = "[ITEM]"
org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.geoserver.web.data.resource.ResourceConfigurationPage(org.apache.wicket.PageParameters) and argument name = "[ITEM_REL_mosaic_1987_2015]" wsName = "[ITEM]"
  at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
  at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)
  at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)
  at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
  at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
  at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
  at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
  at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
  at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
  at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
  at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
  at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
  at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
  at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
  at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
  at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
  at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
  at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
  at org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
  at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
  at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
  at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
  at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:188)
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
  at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2522)
  at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2511)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
  at sun.reflect.GeneratedConstructorAccessor120.newInstance(Unknown Source)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
  ... 107 more
Caused by: java.lang.IllegalArgumentException: Argument page must be not null
  at org.apache.wicket.request.target.component.PageRequestTarget.<init>(PageRequestTarget.java:43)
  at org.apache.wicket.RequestCycle.setResponsePage(RequestCycle.java:768)
  at org.apache.wicket.Component.setResponsePage(Component.java:3248)
  at org.geoserver.web.data.resource.ResourceConfigurationPage.<init>(ResourceConfigurationPage.java:113)
  at org.geoserver.web.data.resource.ResourceConfigurationPage.<init>(ResourceConfigurationPage.java:92)
  ... 111 more
2016-07-06 11:37:23,323 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,323 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,324 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,324 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,324 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,325 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,328 DEBUG [org.geoserver] - Thread 42 releasing the lock in mode WRITE
2016-07-06 11:37:23,328 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
2016-07-06 11:37:23,329 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 DEBUG [org.geoserver] - Thread 39 locking in mode WRITE
2016-07-06 11:37:25,919 DEBUG [org.geoserver] - Thread 39 got the lock in mode WRITE
2016-07-06 11:37:25,921 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,922 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,922 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,923 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,923 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,923 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling

Hi Adam,
this seems really weird, as the error occurs only if the layer could not be found:
https://github.com/geoserver/geoserver/blob/2.7.0/src/web/core/src/main/java/org/geoserver/web/data/resource/ResourceConfigurationPage.java#L110

There is a bug there, the return page is yet not set, but what the code was trying to do was to was to return
you to the layer list page and telling you the layer could not be found.

The layer preview error is basically telling the same story, the particular layer could not be located (do you have by any chance the stack trace
for that one, and the full URL for the openlayers preview?).

There is one thing that I don’t understand, but I’m not much of a rsync user… calling this command:

rsync -av /path/to/geoserver/data /path/to/new/place/

Shouldn’t it make a copy of the geoserver data directory in “/path/to/new/place/” as opposed to “/path/to/new/place/data”?

Cheers
Andrea

···

On Wed, Jul 6, 2016 at 3:47 AM, Adam Steer <Adam.Steer@anonymised.com7673…> wrote:

Hi all

I’ve just moved a data directory for a geoserver 2.7.0 install, as follows:

stop tomcat

rsync -av /path/to/geoserver/data /path/to/new/place/

…constructing ’ /path/to/new/place/data’, with the tree still owned by tomcat.

…then I added '/path/to/new/place/data’ to the GEOSERVER_DATA_DIR context parameter in web.xml

…then I restart tomcat.

After the move everything seems to be in place, defined users can log in, data stores and layers are all listed - but I get a Java error whenever I try to view details for a layer:

layers → click layer name → org.apache.wicket.WicketRuntimeException: Can’t instantiate page using constructor …

If I go to layer preview, clicking an openlayers link results in downloading a bit of XML:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

Could not find layer ITEM:ITEM…

This seems really similar to an old issue (see https://sourceforge.net/p/geoserver/mailman/message/32008598/), but:

  • there was nothing in the layergroups directory
  • I can make layergroups from the missing layers, and preview those

I’m by no means a Java ninja - so I’m struggling to decode what the error message and the geoserver log file actually mean - geoserver’s output around the event of clicking a layer name and throwing the Java error is copied below.

Any help is appreciated!

Thankyou

Adam

————
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 DEBUG [org.geoserver] - Thread 40 locking in mode WRITE
2016-07-06 11:37:22,329 DEBUG [org.geoserver] - Thread 40 got the lock in mode WRITE
2016-07-06 11:37:22,332 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,333 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,333 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,334 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,334 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,334 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,340 DEBUG [org.geoserver] - Thread 40 releasing the lock in mode WRITE
2016-07-06 11:37:22,340 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
2016-07-06 11:37:22,341 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 DEBUG [org.geoserver] - Thread 42 locking in mode WRITE
2016-07-06 11:37:23,319 DEBUG [org.geoserver] - Thread 42 got the lock in mode WRITE
2016-07-06 11:37:23,320 ERROR [org.apache.wicket.RequestCycle] - Can’t instantiate page using constructor public org.geoserver.web.data.resource.ResourceConfigurationPage(org.apache.wicket.PageParameters) and argument name = “[ITEM_REL_mosaic_1987_2015]” wsName = “[ITEM]”
org.apache.wicket.WicketRuntimeException: Can’t instantiate page using constructor public org.geoserver.web.data.resource.ResourceConfigurationPage(org.apache.wicket.PageParameters) and argument name = “[ITEM_REL_mosaic_1987_2015]” wsName = “[ITEM]”
at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:188)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2522)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2511)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor120.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
… 107 more
Caused by: java.lang.IllegalArgumentException: Argument page must be not null
at org.apache.wicket.request.target.component.PageRequestTarget.(PageRequestTarget.java:43)
at org.apache.wicket.RequestCycle.setResponsePage(RequestCycle.java:768)
at org.apache.wicket.Component.setResponsePage(Component.java:3248)
at org.geoserver.web.data.resource.ResourceConfigurationPage.(ResourceConfigurationPage.java:113)
at org.geoserver.web.data.resource.ResourceConfigurationPage.(ResourceConfigurationPage.java:92)
… 111 more
2016-07-06 11:37:23,323 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,323 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,324 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,324 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,324 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,325 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,328 DEBUG [org.geoserver] - Thread 42 releasing the lock in mode WRITE
2016-07-06 11:37:23,328 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
2016-07-06 11:37:23,329 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 DEBUG [org.geoserver] - Thread 39 locking in mode WRITE
2016-07-06 11:37:25,919 DEBUG [org.geoserver] - Thread 39 got the lock in mode WRITE
2016-07-06 11:37:25,921 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,922 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,922 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,923 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,923 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,923 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling


Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi Andrea

Thanks for your reply. I’ve attached an openlayers request trace below from the geoserver log, and the URL is:

http://130.56.244.241/geoserver/ITEM/wms?service=WMS&version=1.1.0&request=GetMap&layers=ITEM:ITEM_CL_mosaic_1987_2015&styles=&bbox=112.0,-44.00000000000002,154.00000000000003,-10.0&width=512&height=414&srs=EPSG:4326&format=application/openlayers

Let me know when you’ve had a look, I’ll need to firewall the machine again.

Right now it isn’t a drama, since only a few layers are published - but later we need to be able to shift data around with confidence. I’ll try the same procedure on a newer geoserver (2.9.1) today as well. So we can easily republish everything on this particular geoserver, I’d just prefer not to.

re. rsync:

rsync -av /path_to/thing /new_path

will result in:

/new_path/thing/files_from_thing

Adding the trailing slash to thing:

rsync -av /path_to/thing/ /new_path

will result in:

/new_path/files_from_thing

(just tested this to make sure I’ve actually done what I think I was doing)

Regards

Adam

————— openlayers preview request trace ---------------
2016-07-07 09:44:29,944 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/ITEM/wms]
2016-07-07 09:44:29,944 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/ITEM/wms]
2016-07-07 09:44:29,944 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/ITEM/wms]
2016-07-07 09:44:29,944 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/ITEM/wms]
2016-07-07 09:44:29,944 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/ITEM/wms]
2016-07-07 09:44:29,944 DEBUG [org.geoserver.ows.OWSHandlerMapping] - Mapping [/ITEM/wms] to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@...7730...] and 1 interceptor
2016-07-07 09:44:29,945 INFO [org.geoserver.wms] -
Request: getServiceInfo
2016-07-07 09:44:29,945 ERROR [org.geoserver.ows] -
org.geoserver.platform.ServiceException: Could not find layer ITEM:ITEM_CL_mosaic_1987_2015
  at org.geoserver.wms.map.GetMapKvpRequestReader.parseLayers(GetMapKvpRequestReader.java:1255)
  at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:221)
  at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:83)
  at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1487)
  at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:675)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:270)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
  at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
  at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
  at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
  at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
  at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
  at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
  at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
  at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
  at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
  at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
  at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
  at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:188)
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
  at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2522)
  at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2511)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  at java.lang.Thread.run(Thread.java:745)
2016-07-07 09:44:29,946 DEBUG [org.geoserver.filters] - Compressing output for mimetype: application/vnd.ogc.se_xml;charset=UTF-8
2016-07-07 09:44:29,946 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed
2016-07-07 09:44:38,123 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-07 09:44:38,123 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-07 09:44:38,123 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-07 09:44:38,123 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-07 09:44:38,123 DEBUG [org.geoserver] - Thread 39 locking in mode WRITE
2016-07-07 09:44:38,123 DEBUG [org.geoserver] - Thread 39 got the lock in mode WRITE
2016-07-07 09:44:38,125 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-07 09:44:38,126 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-07 09:44:38,126 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-07 09:44:38,127 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-07 09:44:38,127 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-07 09:44:38,128 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
—————— end of openlayers preview trace ———————————

On 6 Jul 2016, at 6:04 PM, Andrea Aime <andrea.aime@...1107...> wrote:

Hi Adam,
this seems really weird, as the error occurs only if the layer could not be found:
https://github.com/geoserver/geoserver/blob/2.7.0/src/web/core/src/main/java/org/geoserver/web/data/resource/ResourceConfigurationPage.java#L110
There is a bug there, the return page is yet not set, but what the code was trying to do was to was to return
you to the layer list page and telling you the layer could not be found.

The layer preview error is basically telling the same story, the particular layer could not be located (do you have by any chance the stack trace
for that one, and the full URL for the openlayers preview?).

There is one thing that I don't understand, but I'm not much of a rsync user... calling this command:

rsync -av /path/to/geoserver/data /path/to/new/place/

Shouldn't it make a copy of the geoserver data directory in "/path/to/new/place/" as opposed to "/path/to/new/place/data"?

Cheers
Andrea

On Wed, Jul 6, 2016 at 3:47 AM, Adam Steer <Adam.Steer@...7673...> wrote:
Hi all

I’ve just moved a data directory for a geoserver 2.7.0 install, as follows:

stop tomcat

rsync -av /path/to/geoserver/data /path/to/new/place/

…constructing ' /path/to/new/place/data’, with the tree still owned by tomcat.

…then I added '/path/to/new/place/data’ to the GEOSERVER_DATA_DIR context parameter in web.xml

…then I restart tomcat.

After the move everything seems to be in place, defined users can log in, data stores and layers are all listed - but I get a Java error whenever I try to view details for a layer:

layers -> click layer name -> org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor …

If I go to layer preview, clicking an openlayers link results in downloading a bit of XML:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://130.56.244.241:80/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt; <ServiceExceptionReport version="1.1.1" > <ServiceException code="LayerNotDefined" locator="layers">
      Could not find layer ITEM:ITEM...
</ServiceException></ServiceExceptionReport>

This seems really similar to an old issue (see https://sourceforge.net/p/geoserver/mailman/message/32008598/), but:

- there was nothing in the layergroups directory
- I can make layergroups from the missing layers, and preview those

I’m by no means a Java ninja - so I’m struggling to decode what the error message and the geoserver log file actually mean - geoserver’s output around the event of clicking a layer name and throwing the Java error is copied below.

Any help is appreciated!

Thankyou

Adam

————
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:22,329 DEBUG [org.geoserver] - Thread 40 locking in mode WRITE
2016-07-06 11:37:22,329 DEBUG [org.geoserver] - Thread 40 got the lock in mode WRITE
2016-07-06 11:37:22,332 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,333 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,333 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,334 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,334 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,334 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:22,340 DEBUG [org.geoserver] - Thread 40 releasing the lock in mode WRITE
2016-07-06 11:37:22,340 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
2016-07-06 11:37:22,341 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:23,319 DEBUG [org.geoserver] - Thread 42 locking in mode WRITE
2016-07-06 11:37:23,319 DEBUG [org.geoserver] - Thread 42 got the lock in mode WRITE
2016-07-06 11:37:23,320 ERROR [org.apache.wicket.RequestCycle] - Can't instantiate page using constructor public org.geoserver.web.data.resource.ResourceConfigurationPage(org.apache.wicket.PageParameters) and argument name = "[ITEM_REL_mosaic_1987_2015]" wsName = "[ITEM]"
org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.geoserver.web.data.resource.ResourceConfigurationPage(org.apache.wicket.PageParameters) and argument name = "[ITEM_REL_mosaic_1987_2015]" wsName = "[ITEM]"
        at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
        at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)
        at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)
        at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
        at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
        at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
        at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
        at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
        at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
        at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
        at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
        at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
        at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
        at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
        at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
        at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
        at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:188)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2522)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2511)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedConstructorAccessor120.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
        ... 107 more
Caused by: java.lang.IllegalArgumentException: Argument page must be not null
        at org.apache.wicket.request.target.component.PageRequestTarget.<init>(PageRequestTarget.java:43)
        at org.apache.wicket.RequestCycle.setResponsePage(RequestCycle.java:768)
        at org.apache.wicket.Component.setResponsePage(Component.java:3248)
        at org.geoserver.web.data.resource.ResourceConfigurationPage.<init>(ResourceConfigurationPage.java:113)
        at org.geoserver.web.data.resource.ResourceConfigurationPage.<init>(ResourceConfigurationPage.java:92)
        ... 111 more
2016-07-06 11:37:23,323 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,323 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,324 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,324 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,324 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,325 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:23,328 DEBUG [org.geoserver] - Thread 42 releasing the lock in mode WRITE
2016-07-06 11:37:23,328 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html;charset=UTF-8
2016-07-06 11:37:23,329 DEBUG [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2016-07-06 11:37:25,919 DEBUG [org.geoserver] - Thread 39 locking in mode WRITE
2016-07-06 11:37:25,919 DEBUG [org.geoserver] - Thread 39 got the lock in mode WRITE
2016-07-06 11:37:25,921 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,922 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,922 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,923 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,923 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2016-07-06 11:37:25,923 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-web-core-2.7.0.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

-------------------------------------------------------