[Geoserver-users] importing image pyramid fails

Hi,


I’ve created a image pyramid using gdal_retile.py, following the tutorial. When creating a new store, using the image pyramid plug-in, I keep getting the message: “Could not list layers for this store, an error occurred retrieving them: This plugin accepts only File, URL and String pointing to a file”


The directory structure of the url of the connection parameter is pointing to (file:data/art_pyramid) consists of 4 dirs, ‘0’ to ‘4’, each containing the tif files and a prj, shp, dbf and shx file. I’ve try changing file permissions, change the location, etc.


geoserver 2.0.2
tomcat 6.0.20
debian squeeze


Thanks!

Hi Erwin,

there are few things you can provide us with in order to help you:

  1. you can check out geoserver log files, and see if there is some more informative error there. Increasing log level in geoserver should help.

  2. can you provide sample of data? (you can send it privately)

Cheers,
Ivan

On Wed, Feb 9, 2011 at 11:56 AM, Erwin Poeze <erwin.poeze@anonymised.com> wrote:

Hi,


I’ve created a image pyramid using gdal_retile.py, following the tutorial. When creating a new store, using the image pyramid plug-in, I keep getting the message: “Could not list layers for this store, an error occurred retrieving them: This plugin accepts only File, URL and String pointing to a file”


The directory structure of the url of the connection parameter is pointing to (file:data/art_pyramid) consists of 4 dirs, ‘0’ to ‘4’, each containing the tif files and a prj, shp, dbf and shx file. I’ve try changing file permissions, change the location, etc.


geoserver 2.0.2
tomcat 6.0.20
debian squeeze


Thanks!


The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb


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

Ivan Grcic
GeoSolutions S.A.S.
Software Engineer

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 328 0559267

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://twitter.com/geosolutions_it
http://www.youtube.com/user/GeoSolutionsIT


Hi Ivan,

Thanks for your reply. I attached the log file and the directory structure the url in the Connection parameters is pointing to.

I will create a new example which is small enough the send by mail.

Cheers,
Erwin


From: Ivan Grcic ivan.grcic@anonymised.com
To: Erwin Poeze erwin.poeze@anonymised.com
Cc: geoserver-users@lists.sourceforge.net
Sent: Wed, February 9, 2011 10:23:39 PM
Subject: Re: [Geoserver-users] importing image pyramid fails

Hi Erwin,

there are few things you can provide us with in order to help you:

  1. you can check out geoserver log files, and see if there is some more informative error there. Increasing log level in geoserver should help.

  2. can you provide sample of data? (you can send it privately)

Cheers,
Ivan

On Wed, Feb 9, 2011 at 11:56 AM, Erwin Poeze <erwin.poeze@anonymised.com> wrote:

Hi,


I’ve created a image pyramid using gdal_retile.py, following the tutorial. When creating a new store, using the image pyramid plug-in, I keep getting the message: “Could not list layers for this store, an error occurred retrieving them: This plugin accepts only File, URL and String pointing to a file”


The directory structure of the url of the connection parameter is pointing to (file:data/art_pyramid) consists of 4 dirs, ‘0’ to ‘4’, each containing the tif files and a prj, shp, dbf and shx file. I’ve try changing file permissions, change the location, etc.


geoserver 2.0.2
tomcat 6.0.20
debian squeeze


Thanks!


The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb


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

Ivan Grcic
GeoSolutions S.A.S.
Software Engineer

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 328 0559267

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://twitter.com/geosolutions_it
http://www.youtube.com/user/GeoSolutionsIT


error_log (43.9 KB)

dir_list (2 KB)

On Thu, Feb 10, 2011 at 8:53 AM, Erwin Poeze <erwin.poeze@anonymised.com4…> wrote:

Hi Ivan,

Thanks for your reply. I attached the log file and the directory structure the url in the Connection parameters is pointing to.

I will create a new example which is small enough the send by mail.

Ah right right, this is Tomcat breaking the JAI plugin loading mechanism:

java.lang.NoClassDefFoundError: it/geosolutions/imageio/stream/input/FileImageInputStreamExtImpl
at it.geosolutions.imageio.stream.input.spi.FileImageInputStreamExtImplSpi.createInputStreamInstance(FileImageInputStreamExtImplSpi.java:143)
at javax.imageio.ImageIO.createImageInputStream(ImageIO.java:347)

The solution can be found in this blog:
http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html

Cheers
Andrea

Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf


Thanks Andrea,

I modified the mentioned line in server.xml to

I error message remains unchanged, but the log is different now. Please find the log file attached.

Cheers,
Erwin


From: Andrea Aime andrea.aime@anonymised.com
To: Erwin Poeze erwin.poeze@anonymised.com
Cc: Ivan Grcic ivan.grcic@anonymised.com; geoserver-users@lists.sourceforge.net
Sent: Thu, February 10, 2011 9:30:52 AM
Subject: Re: [Geoserver-users] importing image pyramid fails

On Thu, Feb 10, 2011 at 8:53 AM, Erwin Poeze <erwin.poeze@anonymised.com> wrote:

Hi Ivan,

Thanks for your reply. I attached the log file and the directory structure the url in the Connection parameters is pointing to.

I will create a new example which is small enough the send by mail.

Ah right right, this is Tomcat breaking the JAI plugin loading mechanism:

java.lang.NoClassDefFoundError: it/geosolutions/imageio/stream/input/FileImageInputStreamExtImpl
at it.geosolutions.imageio.stream.input.spi.FileImageInputStreamExtImplSpi.createInputStreamInstance(FileImageInputStreamExtImplSpi.java:143)
at javax.imageio.ImageIO.createImageInputStream(ImageIO.java:347)

The solution can be found in this blog:
http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html

Cheers
Andrea

Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf


error2.log (45.4 KB)