Hi Simone,
I found the cause for this error message.
First I opened webadmin interface. Then I clicked 'Layer Preview', then
'Openlayers' at the 'sf:sfdem' line. What I got was the error I
reported. Let me tell where it came from:
I have a habbit to rename war package according to the version, like
gs202 instead of geoserver. But the styler wouldn't work with gs202, so
I created a symbolic link called geoserver refering to gs202. After that
I tried to preview layers with address http://localhost:8080/geoserver/.
That gives me the error. But if I try with the address
http://localhost:8080/gs202/, layer preview works, but the styler
doesn't, it wont find the capabilities doc.
Obviously I have to get rid of my habbit to rename geoserver packages.
It's just that I am often running several versions of Geoserver
instances at a same Tomcat. Renaming them with a version is practical.
Thanks and sorry for false alarm.
- mika -
Simone Giannecchini kirjoitti:
> Ciao Mika,
> I am not sure I understood what you are reporting. Can you be more specific?
>
> Simone.
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder - Software Engineer
> Via Carignoni 51
> 55041 Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax: +39 0584983027
> mob: +39 333 8128928
>
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
> http://twitter.com/simogeo
>
> -------------------------------------------------------
>
>
>
> On Fri, May 28, 2010 at 11:19 AM, Lehtonen, Mika <mika@...> wrote:
>
>> Hi,
>>
>> GS 2.02. I tried to preview sfdem demo. I got this. Same goes with my
>> own similar like efforts. With the style named 'raster' (without
>> ColorMap), grayscale image is rendered.
>>
>> 2010-05-28 13:08:16,805 ERROR [geotools.rendering] -
>> org.geotools.coverage.processing.CoverageProcessingException:
>> org.geotools.coverage.processing.CoverageProcessingException:
>> java.lang.IllegalArgumentException: org.geotools.RasterClassifier -
>> Parameter value`s class
>> (org.geotools.renderer.lite.gridcoverage2d.LinearColorMap) is not an
>> instance of the parameter class
>> (org.geotools.renderer.lite.gridcoverage2d.ColorMapTransform) for
>> parameter "Domain1D".
>> org.geotools.coverage.processing.CoverageProcessingException:
>> org.geotools.coverage.processing.CoverageProcessingException:
>> org.geotools.coverage.processing.CoverageProcessingException:
>> java.lang.IllegalArgumentException: org.geotools.RasterClassifier -
>> Parameter value`s class
>> (org.geotools.renderer.lite.gridcoverage2d.LinearColorMap) is not an
>> instance of the parameter class
>> (org.geotools.renderer.lite.gridcoverage2d.ColorMapTransform) for
>> parameter "Domain1D".
>>
>> - mika -
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@...
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
--
---------------------------------------
Mika Lehtonen
XML-Scanning Littoinen Ky
Lankakatu 2 E 13, 20660 Littoinen
mika@...
mbl +358 (0)44 2908259
---------------------------------------
|