Hi Sri,

On Wed, May 11, 2011 at 7:05 PM, Sri Vinay <[email protected]> wrote:

> Hi Daniele,
>
>
>
> The tomcat version is 6.0.16. Should I still try the solution suggested in
> the blog?
>
You could try, since as far I can see from the log, the geotiffreader isn't
getting the proper SPI (It seems like it isn't properly registered).
Let me know if that fixes your issue.

Daniele



> Thanks for your prompt reply.
>
>
>
> ---Sri
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Daniele Romagnoli
> *Sent:* Wednesday, May 11, 2011 12:10 PM
>
> *To:* [email protected]
> *Cc:* Andrea Aime; [email protected]
>
> *Subject:* Re: [Geoserver-devel] Random Access Error in Geoserver
>
>
>
> Hi Sri,
> which tomcat version are you using?
> Is it > 6.0.24?
> In that case I would suggest to try the fix recommended in [1].
>
> Basically, what I can see from the log is that the geotiff reader asked
> ImageIO for an ImageInputStreamSpi instance on top of a File and it got an
> InputStreamImageInputStreamSpi.
> However, that spi only deals with InputStream object whilst the source is a
> File -> therefore the exception.
> The ideal case would be to get a FileImageInputStreamSpi (being the source
> a File) and then create a FileImageInputStream stream.
> This probably won't happen because you are encountering the issue reported
> in that blog post.
>
> Please, let me know if that's your case.
>
> Best Regards,
> Daniele
>
> [1]:
> http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html
>
> On Wed, May 11, 2011 at 4:57 PM, Sri Vinay <[email protected]>
> wrote:
>
> Hi Andrea,
>
> Sorry to hear you were injured and wishes for a speedy recovery.
>
> Any help from the group on troubleshooting the issue (see email below) from
> the group will be appreciated.
> Please let me know if more information is needed.
>
> Thanks.
>
> ---Sri
>
>
>
> > -----Original Message-----
> > From: Sri Vinay [mailto:[email protected]]
> > Sent: Monday, May 09, 2011 1:03 PM
> > To: 'Andrea Aime'
> > Cc: '[email protected]'
>
> > Subject: RE: [Geoserver-devel] Random Access Error in Geoserver
> >
> > Hi Andrea,
> >
> > Enabled the "geotools developer logging" profile yesterday.
> > Hit the error again today.
> > Attached are two relevant logs:
> > 1) log-with-error.txt - log when error happened.
> > 2) log-without-error.txt - log when ingest went through without problem
> > after restarting tomcat.
> > We are running 2.1-RC5.
> >
> > Please let me know if you need more info.
> >
> > In the mean time, I am thinking of running a previous verion or nightly
> build
> > to see if that elimates the problem. Any suggestions?
> >
> > Thanks.
> >
>
> > ---Sri
>
> >
> >
> > > -----Original Message-----
> > > From: [email protected] [mailto:[email protected]] On
> > Behalf
> > > Of Andrea Aime
>
> > > Sent: Saturday, May 07, 2011 12:54 PM
> > > To: Sri Vinay
>
> > > Cc: [email protected]
> > > Subject: Re: [Geoserver-devel] Random Access Error in Geoserver
> > >
>
> > > On Sat, May 7, 2011 at 6:18 PM, Sri Vinay <[email protected]>
> wrote:
> > > > Thanks for the prompt reply.
> > > >
> > > > Current geotools developer setting:
> > > > log4j.category.org.geotools.factory=TRACE
> > > > log4j.category.org.geotools.renderer=DEBUG
> > > > log4j.category.org.geotools.data=TRACE
> > > > log4j.category.org.geotools.feature=TRACE
> > > > log4j.category.org.geotools.filter=TRACE
> > > > log4j.category.org.geotools.factory=TRACE
> > > >
> > > > Should I change all of them to DEBUG?
> > >
> > > Just select the "geotools developer logging" profile from the user
> > > interface
> > >
> > > 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
> > >
> > > 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
> > >
> > > -------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
>
>
> --
> -------------------------------------------------------
> Ing. Daniele Romagnoli
> GeoSolutions S.A.S.
> Software Engineer
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:      +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://it.linkedin.com/in/danieleromagnoli
>
>
> -------------------------------------------------------
>



-- 
-------------------------------------------------------
Ing. Daniele Romagnoli
GeoSolutions S.A.S.
Software Engineer

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

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


-------------------------------------------------------
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to