On Mon, Jul 11, 2011 at 6:08 PM, Chaouki Soussi <chaouki.sou...@yahoo.fr> wrote:
>>
>> org.geotools.renderer.lite.StreamingRenderer.<clinit>(StreamingRenderer.java:210)
>>     at org.geotools.swing.JMapFrame.<init>(JMapFrame.java:153)
>>     at org.geotools.swing.JMapFrame.<init>(JMapFrame.java:143)
>>     at MainClass.<clinit>(MainClass.java:138)
>> Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
>>     at java.net.URLClassLoader$1.run(Unknown Source)
>>     at java.security.AccessController.doPrivileged(Native Method)
>>     at java.net.URLClassLoader.findClass(Unknown Source)
>>     at java.lang.ClassLoader.loadClass(Unknown Source)
>>     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>>     at java.lang.ClassLoader.loadClass(Unknown Source)
>>     ... 5 more
>> Exception in thread "main" "

Ok, so the code is breaking due to the "rendering transformations" static
setup (some fields are stored statically because they are deemed expensive
to create).

I guess I could relax that code a bit and instantiate the coverage processors
and the two coverage operations lazily?

Btw, I was not aware that the rendering code was supposed to work without
JAI around. It's something hard to test too, unless you dedicate a module
just to do that (a module whose sole purpose in life is to try and draw
a vector layer without having JAI around... of course the moment you want
to cascade a WMS or work with raster data you won't have a choice anymore,
then JAI is mandatory).

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

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

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to