[Geoserver-users] Who create a datastore

Hello List, to enybody

I have a question about who create a datastore.
Didn,t find documentation. I need the source code of GML plugin, please help me.

Please some body help me:
I want create a Datastore, I need the source code of GML plugin to modify or documentation of how do this.

Rafael Queralta ha scritto:

Please some body help me:
I want create a Datastore, I need the source code of GML plugin to modify or documentation of how do this.

It's in GeoTools, here:
http://svn.osgeo.org/geotools/branches/2.5.x/modules/unsupported/gml/

You'll need the whole checkout to build it thought:
http://svn.osgeo.org/geotools/branches/2.5.x

(also look for the GeoTools developer guide with Google).

Btw, in GeoTools we're discussion about removing that module
permanently as nobody maintained it for years. Maybe you
want to pick it up?

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

I am trying to run geoserver 1.7.1 on JBoss 5.0.1 with Java6. It appears that I have a problem with the xerces libraries used by JBoss and geoserver. The error I get is

INFO | jvm 1 | 2009/05/11 11:22:29 | org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:557)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:543)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
INFO | jvm 1 | 2009/05/11 11:22:29 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2009/05/11 11:22:29 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:22:29 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:22:29 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
INFO | jvm 1 | 2009/05/11 11:22:29 | at $Proxy36.start(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.system.ServiceController.start(ServiceController.java:460)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.Main.boot(Main.java:209)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.Main$1.run(Main.java:547)
INFO | jvm 1 | 2009/05/11 11:22:29 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:22:29 | Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
INFO | jvm 1 | 2009/05/11 11:22:29 | ... 62 more
INFO | jvm 1 | 2009/05/11 11:22:29 | Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:22:29 | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)
INFO | jvm 1 | 2009/05/11 11:22:29 | ... 64 more

Any idea how to get around this?
Thanks, David

--

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobison@anonymised.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579

Sorry, wrong error. The correct error is:
INFO | jvm 1 | 2009/05/11 11:38:21 | org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:557)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:543)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
INFO | jvm 1 | 2009/05/11 11:38:21 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2009/05/11 11:38:21 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:38:21 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:38:21 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
INFO | jvm 1 | 2009/05/11 11:38:21 | at $Proxy36.start(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.system.ServiceController.start(ServiceController.java:460)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.Main.boot(Main.java:209)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.Main$1.run(Main.java:547)
INFO | jvm 1 | 2009/05/11 11:38:21 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:38:21 | Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
INFO | jvm 1 | 2009/05/11 11:38:21 | ... 62 more
INFO | jvm 1 | 2009/05/11 11:38:21 | Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
INFO | jvm 1 | 2009/05/11 11:38:21 | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)
INFO | jvm 1 | 2009/05/11 11:38:21 | ... 64 more

David R Robison wrote:

I am trying to run geoserver 1.7.1 on JBoss 5.0.1 with Java6. It appears that I have a problem with the xerces libraries used by JBoss and geoserver. The error I get is

Any idea how to get around this?
Thanks, David

--

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobison@anonymised.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579

This e-mail 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, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately.

I had to delete the following files from the geoserver’s lib directory

stax-api-1.0.1.jar
xercesImpl-2.4.0.jar
xml-apis-1.0.b2.jar
xml-apis-xerces-2.7.1.jar
xpp3-1.1.3.4.O.jar

David

David R Robison wrote:

···
-- 

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: [drrobison@anonymised.com](mailto:drrobison@anonymised.com)
web: [http://openroadsconsulting.com](http://openroadsconsulting.com)
blog: [http://therobe.blogspot.com](http://therobe.blogspot.com)
book: [http://www.xulonpress.com/book_detail.php?id=2579](http://www.xulonpress.com/book_detail.php?id=2579)

This e-mail 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, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited.  If you have received this communication in error, please notify us immediately.  

 

David R Robison ha scritto:

I had to delete the following files from the geoserver's lib directory

stax-api-1.0.1.jar
xercesImpl-2.4.0.jar
xml-apis-1.0.b2.jar
xml-apis-xerces-2.7.1.jar
xpp3-1.1.3.4.O.jar

Oh hum, interesting... I can see the xerces and xml-apis in
need to be removed, but stax and xpp3... do you really need
to remove those as well?

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

You're right, those files do not need to be deleted. However, it did seem to work fine without them. David

Andrea Aime wrote:

David R Robison ha scritto:

I had to delete the following files from the geoserver's lib directory

stax-api-1.0.1.jar
xercesImpl-2.4.0.jar
xml-apis-1.0.b2.jar
xml-apis-xerces-2.7.1.jar
xpp3-1.1.3.4.O.jar

Oh hum, interesting... I can see the xerces and xml-apis in
need to be removed, but stax and xpp3... do you really need
to remove those as well?

Cheers
Andrea

--

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobison@anonymised.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579

This e-mail 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, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately.