Hi, everyone.
I have a problem with JAI extensions and Geoserver. I deployed Geoserver in a Tomcat 7 with this configuration:
-
Ubuntu 12.04 64bits
-
Oracle JDK 1.7 (env varibles are set correctly)
-
JAI and JAI ImageIO installed by following help document: http://docs.geoserver.org/latest/en/user/production/java.html
-
Geoserver 2.3.0 (and 2.2.5)
Then, everything is ok. JAI native and JAI ImageIO show as “true” in the “server status”. All works fine. But… I need to use Jboss instead Tomcat in a new project. Same configuration as previous one. I did the following “extra” steps:
- Create “jboss-deployment-structure.xml” in WARFile>WEB-INF with this text: http://stackoverflow.com/questions/13356539/deploy-geoserver-war-on-jboss-as-7
Runs without problems but JAI not availiable (server status mark as false). (Why?). I tried one more thing:
- Adding the “clibwrapper_jiio.jar” from “jai-imageio-1.1/lib” to “WEB-INF/lib”
- Adding the “mlibwrapper_jai.jar” from “jai-1_1_3/lib” to “WEB-INF/lib”
And then, only “JAI native” is true, and “JAI imageio” is false in Geoserver “server status” page.
Has Someone any ideas over this problem? Is JBoss misconfigured? Some magic “trick” known for Jboss?
Thank you very much!
···
–
David Tabernero Pérez
INCLAM, S.A.
Ingeniero Informático Empresa CO2 Neutral
Samaria 4, 28009·Madrid
Tel: 915 749 107
Fax: 915 749 106
-------------------------------------------------------------------------------------------
Antes de imprimir este mensaje, asegúrese de que es necesario. El medio ambiente está en nuestra mano.
AVISO DE PRIVACIDAD
Este mensaje y sus archivos adjuntos pueden contener información confidencial y están dirigidos exclusivamente a su destinatario. Le informamos que la legislación vigente prohíbe el uso, divulgación o copia del contenido del presente mensaje por persona distinta del destinatario sin autorización previa. Si Ud. no es el destinatario de este mensaje y lo ha recibido por error le agradeceríamos que nos lo comunicara y que procediera a destruirlo.
This message can contain confidential information and is directed exclusively to its adressee. We inform you that the legislation prohibits to use, spreading or copy the content of the present message by person different from the adressee without previous authorization. If you are not the adressee of this message or you have received it by error we would be thankful if you notify us and delete it.