[Geoserver-devel] WMS 1.3.0.RC1 not working without JAI

Hi,

On a system without JAI, I’ve installed Geoserver 1.3.0.RC1. When requesting for a map (format=image/png), this exception is thrown:

javax/media/jai/util/Range

Caused by: java.lang.NoClassDefFoundError: javax/media/jai/util/Range
at org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:194)
at org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:165)
at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:404)
… 39 more

So it seems that there are still some dependencies on JAI. Should I file this as a bug in JIRA? Or did I misconfigure something? I’m using a JDK version 1.4.2_05.

best regards,
Thijs

Greetings, Thijs,

Monday, June 20, 2005, you wrote:

Hi,

On a system without JAI, I've installed Geoserver 1.3.0.RC1. When requesting
for a map (format=image/png), this exception is thrown:

<ServiceExceptionReport version="1.1.1">
<ServiceException
code="">javax/media/jai/util/Range</ServiceException>
</ServiceExceptionReport>

Caused by: java.lang.NoClassDefFoundError: javax/media/jai/util/Range
at
org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:194)
at
org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:165)
at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:404)
... 39 more

So it seems that there are still some dependencies on JAI. Should I file
this as a bug in JIRA? Or did I misconfigure something? I'm using a JDK
version 1.4.2_05.

Yes, it seems that LiteRenderer2 still depends on this JAI class. As
stated in comments to 'LiteRenderer2.processSymbolizers' this value is
"provided in order to make the style factory happy" :slight_smile: I guess you
should create a jira issue for this, so someone familiar with Geotools
could eventually solve the problem. It is possible that using
Renderer2D will work but I have no idea of how to make it the default
renderer.

--
WBR,
Artie

Yeah, file a bug if you have'nt already. This should work I believe.

On Mon, 20 Jun 2005, Thijs Brentjens wrote:

Hi,

On a system without JAI, I've installed Geoserver 1.3.0.RC1. When requesting
for a map (format=image/png), this exception is thrown:

<ServiceExceptionReport version="1.1.1">
<ServiceException code="">javax/media/jai/util/Range</ServiceException>
</ServiceExceptionReport>

Caused by: java.lang.NoClassDefFoundError: javax/media/jai/util/Range
at
org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:194)
at
org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:165)
at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:404)
... 39 more

So it seems that there are still some dependencies on JAI. Should I file
this as a bug in JIRA? Or did I misconfigure something? I'm using a JDK
version 1.4.2_05.

best regards,
Thijs

--