Instalación de Geoserver 2.0.2 en JBoss 6

145 views
Skip to first unread message

Ana de Gracia Núñez

unread,
Aug 31, 2010, 5:59:38 AM8/31/10
to GeoServer en Español
Buenos días!

Estoy intentando desplegar Geoserver 2.0.2 en un servidor JBoss,
versión 6, pero obtengo problemas con compatilibidad de librerías. En
concreto, el último problema que obtengo, y donde estoy en punto
muerto es el siguiente:

2010-08-31 11:20:12,484 ERROR [org.jboss.profileservice.bootstrap]
(Thread-2) Failed to load profile::
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary
of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
Deployment "vfs:///C:/jboss6/server/default/deploy/geoserver.war" is
in error due to the following reason(s): java.lang.LinkageError:
loader constraint violation in interface itable initialization: when
resolving method "freemarker.ext.dom.SunInternalXalanXPathSupport
$1.getNamespaceForPrefix(Ljava/lang/String;Lorg/w3c/dom/Node;)Ljava/
lang/String;" the class loader (instance of org/jboss/classloader/spi/
base/BaseClassLoader) of the current class, freemarker/ext/dom/
SunInternalXalanXPathSupport$1, and the class loader (instance of
<bootloader>) for interface com/sun/org/apache/xml/internal/utils/
PrefixResolver have different Class objects for the type org/w3c/dom/
Node used in the signature

at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:
1228) [:2.2.0.Alpha6]
at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:
905) [:2.2.0.Alpha6]
at
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:
87) [:6.0.0.20100721-M4]
at
org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:
118) [:0.1.0.Alpha1]
at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:
133) [:6.0.0.20100721-M4]
at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:
56) [:6.0.0.20100721-M4]
at
org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:
827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at org.jboss.bootstrap.impl.base.server.AbstractServer
$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-
base.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_05]

2010-08-31 11:20:12,515 INFO
[org.apache.coyote.http11.Http11Protocol] (Thread-2) Arrancando Coyote
HTTP/1.1 en puerto http-127.0.0.1-8080
2010-08-31 11:20:12,515 INFO [org.apache.coyote.ajp.AjpProtocol]
(Thread-2) Arrancando Coyote AJP/1.3 en ajp-127.0.0.1-8009
2010-08-31 11:20:12,515 INFO
[org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-2)
JBossAS [6.0.0.20100721-M4 "Neo"] Started in 1m:16s:765ms

He probado con la librería freemarker.jar, con varias versiones, pero
no me funciona ni con la última.

¿Me podría decir alguien si es posible solucionar este problema, o por
el contrario, es que Geoserver 2.0.2 no es compatible con la versión 6
de JBoss?

Saludos, y gracias!
Ana de Gracia.

Gabriel Roldan

unread,
Aug 31, 2010, 12:46:52 PM8/31/10
to geoser...@googlegroups.com
Creo que lo que tienes que hacer es eliminar los jars de xalan y xerces de <geoserver>/WEB-INF/lib, ya que entran en conflicto con los que provee JBoss.

Aqui hay un viejo post al respecto, puede que te ayude: <http://geo-solutions.blogspot.com/2009/07/deploying-geoserver-on-jboss-as-5x.html>

O también puedes descargar la versión empaquetada para JBoss del community-edition de la OpenGeo Suite: <http://opengeo.org/community/suite/download/>

Saludos,
Gabriel

> --
> Has recibido este mensaje por estar suscripto al grupo "GeoServer en Español" de Google Groups.
> Para escribir a este grupo, envía un e-mail a geoser...@googlegroups.com
> Para dejar el grupo, envía un e-mail a geoserver-es...@googlegroups.com
> Para más opciones, visita la página del grupo en http://groups.google.com/group/geoserver-es?hl=es

Gabriel Roldan
gro...@opengeo.org
Expert service straight from the developers

Reply all
Reply to author
Forward
0 new messages