Thanks David,
there is a number of recipes about deploying GeoServer in JBoss floating
around the net,
it would be nice if someone with direct experience could write a tutorial
for this section:
http://docs.geoserver.org/latest/en/user/tutorials/index.html
If anybody reading would like to help, this is a perfect task to contribute
to GeoServer as a non developer :-)
Cheers
Andrea
On Wed, Apr 29, 2015 at 5:49 PM, David R. Robison <
[email protected]> wrote:
> I solved this problem by placing the following jboss-classloading.xml
> file in the WEB-INF directory of the war:
>
> <classloading xmlns="urn:jboss:classloading:1.0"
> name="geoserver.war"
> domain="GeoServerDomain">
> export-all="NON_EMPTY"
> import-all="true">
> </classloading>
>
> David
>
>
> ----------------------------------------------------------------------------
>
> David R Robison
>
> *Principal Systems Engineer*
>
> +1 757 546 3401 (o)
>
> +1 757 286 0022 (m)
>
> [email protected]
>
> www.openroadsconsulting.com
>
>
> ----------------------------------------------------------------------------
>
> Open Roads Consulting
>
> A Q-Free Company
>
> 103 Watson Rd. Chesapeake VA 23320
> On 4/28/2015 11:32 AM, David R. Robison wrote:
>
> I am trying to deploy the geoserver.war for version 2.7.0 onto my JBoss AS
> 5.1 server. I am getting the following error. Any thoughts what I might do
> to get it working?
> David
>
> com.thoughtworks.xstream.InitializationException: Could not instantiate
> converter : com.thoughtworks.xstream.converters.extended.DurationConverter
> : null
> at
> com.thoughtworks.xstream.XStream.registerConverterDynamically(XStream.java:900)
> at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:863)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:574)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:496)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:465)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:411)
> at com.thoughtworks.xstream.XStream.<init>(XStream.java:364)
> at
> org.geoserver.config.util.XStreamPersister.<init>(XStreamPersister.java:277)
> at
> org.geoserver.config.util.XStreamPersisterFactory.buildPersister(XStreamPersisterFactory.java:63)
> at
> org.geoserver.config.util.XStreamPersisterFactory.createXMLPersister(XStreamPersisterFactory.java:49)
> at
> org.geoserver.logging.LoggingStartupContextListener.getLogging(LoggingStartupContextListener.java:110)
> at
> org.geoserver.logging.LoggingStartupContextListener.contextInitialized(LoggingStartupContextListener.java:70)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
> at
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
> at
> org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
> at
> org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
> at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
> at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> at
> org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
> at com.sun.proxy.$Proxy40.start(Unknown Source)
> at
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
> at
> org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
> at
> org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
> at
> org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
> at
> org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
> at
> org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
> at
> org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
> at
> org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
> at
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
> at
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
> at
> org.jboss.system.ServiceController.doChange(ServiceController.java:688)
> at org.jboss.system.ServiceController.start(ServiceController.java:460)
> at
> org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
> at
> org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
> at
> org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
> at
> org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
> at
> org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
> at
> org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
> at
> org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
> at
> org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
> at
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
> at
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
> at
> org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
> at
> org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
> at
> org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
> at
> org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
> at
> org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
> at
> org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
> at
> org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
> at
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
> at
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
> at
> org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
> at
> org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
> at
> org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
> at org.jboss.Main.boot(Main.java:221)
> at org.jboss.Main$1.run(Main.java:556)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> Source)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Source)
> at java.lang.reflect.Constructor.newInstance(Unknown Source)
> at
> com.thoughtworks.xstream.XStream.registerConverterDynamically(XStream.java:893)
> ... 80 more
> Caused by: java.lang.ClassCastException:
> org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl cannot be cast to
> javax.xml.datatype.DatatypeFactory
> at javax.xml.datatype.DatatypeFactory.newInstance(Unknown Source)
> at
> com.thoughtworks.xstream.converters.extended.DurationConverter$1.getFactory(Durat
>
> --
>
>
> ----------------------------------------------------------------------------
>
> David R Robison
>
> *Principal Systems Engineer*
>
> +1 757 546 3401 (o)
>
> +1 757 286 0022 (m)
>
> [email protected]
>
> www.openroadsconsulting.com
>
>
> ----------------------------------------------------------------------------
>
> Open Roads Consulting
>
> A Q-Free Company
>
> 103 Watson Rd. Chesapeake VA 23320
>
>
> ------------------------------
>
> This email communication (including any attachments) may contain confidential
> and/or privileged material intended solely for the individual or entity to
> which it is addressed.
>
> If you are not the intended recipient, please delete this email immediately.
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM
> Insight.http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> _______________________________________________
> Geoserver-users mailing
> [email protected]https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
> ------------------------------
>
> This email communication (including any attachments) may contain confidential
> and/or privileged material intended solely for the individual or entity to
> which it is addressed.
>
> If you are not the intended recipient, please delete this email immediately.
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
-------------------------------------------------------
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users