Hi Users, after fiddling a bit I was able to get the above compination working.
It was a bit tricky, at least for me, so I decided to share here what I did.
-
I started deploying GeoServer to JBoss as a folder
-
Added jboss-deployment-structure.xml as follows
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<system>
<paths>
<path name="com/sun/imageio/spi"/>
<path name="com/sun/imageio/plugins/common"/>
</paths>
</system>
</dependencies>
</deployment>
</jboss-deployment-structure>
in WEB-INF folder of GeoServer
- Added jboss-classloading.xml as follows
<classloading xmlns="urn:jboss:classloading:1.0"
name="geoserver.war"
domain="GeoServerDomain"
export-all="NON_EMPTY"
import-all="true">
</classloading>
in WEB-INF folder of GeoServer (these two I got from this blog)
- Instead of getting JAI from its usual download page I installed it from repositories using
sudo apt-get install libjai-core-java libjai-imageio-core-java
-
Then I removed jai_core-1.1.3.jar, jai_codec-1.1.3.jar and jai_imageio-1.1.jar from the WEB-INF/lib folder of GeoServer
-
Then I copied jai_core-1.1.4.jar, jai_codec-1.1.4.jar, jai_imageio-1.2.jar, mlibwrapper_jai-1.1.4.jar and clibwrapper_jiio-1.2.jar from /usr/share/java to WEB-INF/lib in GeoServer
After starting up the AS, this is what I got.
Hope this hepls someone.
Regards.
Antonio.
View this message in context: Installing GeoServer 2.3.1 +JBoss 7.1.1 + JAI + IMAGEIO on Ubuntu 12.04
Sent from the GeoServer - User mailing list archive at Nabble.com.