The issue I’m having is running GeoServer 2.3.0 with JBoss 7.1.1 on CentOS 6.3 with Open JDK 1.6 and getting a WMS getMap request to work when requesting a PNG or JPEG (it works when the format is TIFF). The only thing a OpenLayers request returns is a blank canvas and the error message below which can be seen in full detail in the attached server.log file. In GeoServer 2.2.4 I was able to do an OpenLayers layer preview and it worked without issue. I also tried 2.3.0 with Tomcat 7 and had no issues. Has anyone seen this before and know of a solution?
08:04:17,546 ERROR [org.geoserver.ows] (http–127.0.0.1-8080-1) : java.lang.NoClassDefFoundError: com/sun/imageio/plugins/jpeg/JPEGImageWriterSpi
at org.geotools.image.ImageWorker.(ImageWorker.java:150) [gt-coverage-9.1.jar:]
at org.geoserver.wms.map.PNGMapResponse.formatImageOutputStream(PNGMapResponse.java:117) [wms-2.3.1.jar:2.3.1]
at org.geoserver.wms.map.RenderedImageMapResponse.write(RenderedImageMapResponse.java:122) [wms-2.3.1.jar:2.3.1]
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:919) [ows-2.3.1.jar:2.3.1]
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:276) [ows-2.3.1.jar:2.3.1]
08:04:17,729 ERROR [org.geoserver.ows] (http–127.0.0.1-8080-1) : java.lang.NoClassDefFoundError: Could not initialize class org.geotools.image.ImageWorker
at org.geoserver.wms.map.PNGMapResponse.formatImageOutputStream(PNGMapResponse.java:117) [wms-2.3.1.jar:2.3.1]
at org.geoserver.wms.map.RenderedImageMapResponse.write(RenderedImageMapResponse.java:122) [wms-2.3.1.jar:2.3.1]
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:919) [ows-2.3.1.jar:2.3.1]
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:276) [ows-2.3.1.jar:2.3.1]
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) [spring-webmvc-3.1.1.RELEASE.jar:3.1.1.RELEASE]
jboss-classloading.xml
jboss-deployment-structure.xml
Thanks,
Max
View this message in context: GeoServer 2.3.0 and and JBoss 7.1.1 WMS Issue
Sent from the GeoServer - User mailing list archive at Nabble.com.