On Mon, Apr 29, 2013 at 10:51 AM, aatoma <[email protected]> wrote:

> 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.


Thanks for sharing :-)


>
>
> - 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<http://gioppoluca.blogspot.com/2012/12/jboss-711-geoserver-222.html>)
>
>
> - 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


Uh, now that is weird... The latest officially released versions of JAI and
JAI ImageIO are the ones bundled with GeoServer,
no idea where those 1.1.4 and 1.2 are coming from?

Cheers
Andrea


-- 
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit
http://geoserver.geo-solutions.it for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to