The issue I’m having is runningGeoServer 2.3.0 with JBoss 7.1.1 on CentOS 6.3
with Open JDK 1.6 and getting aWMS getMap request to work when requesting a
PNG or JPEG (it works when theformat is TIFF). The only thing a
OpenLayers request returns is a blankcanvas and the error message below
which can be seen in full detail in the attachedserver.log file. In
GeoServer 2.2.4 I was able to do an OpenLayers layerpreview and it worked
without issue. I also tried 2.3.0 with Tomcat7 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.<clinit>(ImageWorker.java:150)[gt-coverage-9.1.jar:]
atorg.geoserver.wms.map.PNGMapResponse.formatImageOutputStream(PNGMapResponse.java:117)[wms-2.3.1.jar:2.3.1]
atorg.geoserver.wms.map.RenderedImageMapResponse.write(RenderedImageMapResponse.java:122)[wms-2.3.1.jar:2.3.1]
atorg.geoserver.ows.Dispatcher.response(Dispatcher.java:919)[ows-2.3.1.jar:2.3.1]
atorg.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
classorg.geotools.image.ImageWorker
at
org.geoserver.wms.map.PNGMapResponse.formatImageOutputStream(PNGMapResponse.java:117)[wms-2.3.1.jar:2.3.1]
atorg.geoserver.wms.map.RenderedImageMapResponse.write(RenderedImageMapResponse.java:122)[wms-2.3.1.jar:2.3.1]
atorg.geoserver.ows.Dispatcher.response(Dispatcher.java:919)[ows-2.3.1.jar:2.3.1]
atorg.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:276)[ows-2.3.1.jar:2.3.1]
atorg.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)[spring-webmvc-3.1.1.RELEASE.jar:3.1.1.RELEASE]
*_jboss-classloading.xml_*
<classloading xmlns="urn:jboss:classloading:1.0"
name="geoserver.war"
domain="GeoServerDomain"
export-all="NON_EMPTY"
import-all="true">
</classloading>
*_jboss-deployment-structure.xml_*
<jboss-deployment-structure
xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<system>
<paths>
<pathname="com/sun/imageio/spi"/>
<path
name=”com/sun/imageio/plugins/common”/>
</paths>
</system>
</dependencies>
</deployment>
</jboss-deployment-structure>
Thanks,
Max
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/GeoServer-2-3-0-and-and-JBoss-7-1-1-WMS-Issue-tp5049203.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users