Wouter, this looks like a failure while importing the WFS 1.1 schemas (usually bundled with GeoServer), while parsing a WFS 1.1 request. Do you have a nonstandard WFS 1.1 schemaLocation in your XML request? Please provide us the text of your WFS request.
In my experience GeoServer 2 is quite happy having multiple instances in the same servlet container. GeoServer 1.7 is now abandonware and has some known issues playing friendly with other servlets. Any servlet that sets global system properties Must Die, because such global settings affect all servlets in the same container. This is a known servlet antipattern. For example (not fixed for 1.7): http://jira.codehaus.org/browse/GEOS-1094 You could try disabling all the servlets except the GeoServer 2.0.1 and turning them on one at a time to see if it is another causing the problem. (Or just disable the GeoServer 1.7 and restart tomcat.) On 14/08/10 00:35, Justin Deoliveira wrote: > Ahh, ok that could be issue. Unfortunately multiple versions of geoserver > don't play all that well in the same servlet container. Although I know > people have pulled it off before. > > I would try separating them if possible and see if that fixes the problem. > > -Justin > > On Fri, Aug 13, 2010 at 9:59 AM, Wouter > Lievens<[email protected]<mailto:[email protected]>> wrote: > Yes, there is an older (1.7 I think) geoserver instance, and a few other java > applications. > > > > On Fri, Aug 13, 2010 at 5:05 PM, Justin > Deoliveira<[email protected]<mailto:[email protected]>> wrote: > Hmmm... that is pretty standard setup. No idea what would lead to that > exception... do you have any other apps running in the same servlet container? > > > On Fri, Aug 13, 2010 at 8:58 AM, Wouter > Lievens<[email protected]<mailto:[email protected]>> wrote: > servlet container = tomcat 5.5 > geoserver = 2.0.1 > > If I enable CITE checks, I note that my layer name is invalid because it > contains underscores... > > > > > On Fri, Aug 13, 2010 at 4:57 PM, Justin > Deoliveira<[email protected]<mailto:[email protected]>> wrote: > Hmmm... bizarre indeed. Can you give us more information about your setup. > GeoServer version? Servlet containter? etc... > > On Fri, Aug 13, 2010 at 8:19 AM, Wouter > Lievens<[email protected]<mailto:[email protected]>> wrote: > I'm getting these exceptions from our geoserver installation when I perform a > WFS request. > The installation is supposed to be identical to our test setup, which doesn't > trigger any of this. > > > <?xml version="1.0" encoding="UTF-8"?> > <ows:ExceptionReport version="1.0.0" > xmlns:ows="http://www.opengis.net/ows" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.opengis.net/ows > http://datamanager.rwo.be:80/geoserver2/schemas/ows/1.0.0/owsExceptionReport.xsd"> > <ows:Exception exceptionCode="NoApplicableCode"> > <ows:ExceptionText>java.lang.NullPointerException > null</ows:ExceptionText> > <ows:ExceptionText>Details:</ows:ExceptionText> > <ows:ExceptionText>org.geoserver.platform.ServiceException: > java.lang.NullPointerException > at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1298) > at > org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:241) > at > org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) > at > org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) > at > org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) > at > org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) > at > org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) > at > org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) > at > org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) > at > org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) > at > org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) > at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) > at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) > at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) > at > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.lang.NullPointerException > at > org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:230) > at > org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDConcreteComponentImpl.java:1245) > at > org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:234) > at > org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:302) > at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:600) > at org.eclipse.xsd.impl.XSDSchemaImpl.imported(XSDSchemaImpl.java:2985) > at > org.eclipse.xsd.impl.XSDImportImpl.handleResolvedSchema(XSDImportImpl.java:424) > at > org.eclipse.xsd.impl.XSDSchemaDirectiveImpl.resolve(XSDSchemaDirectiveImpl.java:387) > at > org.eclipse.xsd.impl.XSDImportImpl.importSchema(XSDImportImpl.java:411) > at > org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaImpl.java:2136) > at > org.eclipse.xsd.impl.XSDSchemaImpl.resolveNamedComponent(XSDSchemaImpl.java:2164) > at > org.eclipse.xsd.impl.XSDSchemaImpl.resolveElementDeclaration(XSDSchemaImpl.java:2212) > at > org.eclipse.xsd.impl.XSDConcreteComponentImpl.resolveElementDeclaration(XSDConcreteComponentImpl.java:2540) > at > org.eclipse.xsd.impl.XSDElementDeclarationImpl.patch(XSDElementDeclarationImpl.java:649) > at > org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(XSDConcreteComponentImpl.java:526) > at org.eclipse.xsd.impl.XSDParticleImpl.patch(XSDParticleImpl.java:508) > at > org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(XSDConcreteComponentImpl.java:526) > at > org.eclipse.xsd.impl.XSDModelGroupImpl.patch(XSDModelGroupImpl.java:423) > at > org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(XSDConcreteComponentImpl.java:526) > at org.eclipse.xsd.impl.XSDParticleImpl.patch(XSDParticleImpl.java:508) > at > org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(XSDConcreteComponentImpl.java:526) > at > org.eclipse.xsd.impl.XSDNamedComponentImpl.patch(XSDNamedComponentImpl.java:768) > at > org.eclipse.xsd.impl.XSDTypeDefinitionImpl.patch(XSDTypeDefinitionImpl.java:245) > at > org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.patch(XSDComplexTypeDefinitionImpl.java:993) > at > org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(XSDConcreteComponentImpl.java:526) > at org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java:1505) > at > org.eclipse.xsd.impl.XSDSchemaImpl.changeAttribute(XSDSchemaImpl.java:2335) > at > org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDConcreteComponentImpl.java:1240) > at > org.eclipse.xsd.impl.XSDSchemaImpl.setSchemaLocation(XSDSchemaImpl.java:829) > at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:756) > at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:784) > at > org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1094) > at > org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:900) > at org.geotools.xml.Schemas.parse(Schemas.java:256) > at org.geotools.xml.XSD.buildSchema(XSD.java:250) > at org.geoserver.wfs.xml.v1_1_0.WFS.buildSchema(WFS.java:307) > at org.geotools.xml.XSD.getSchema(XSD.java:207) > at org.geotools.xml.SchemaLocator.locateSchema(SchemaLocator.java:94) > at > org.geotools.xml.impl.ParserHandler.startElement(ParserHandler.java:296) > at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown > Source) > at > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown > Source) > at > org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.geotools.xml.Parser.parse(Parser.java:223) > at org.geoserver.wfs.xml.v1_1_0.WfsXmlReader.read(WfsXmlReader.java:91) > at org.geoserver.ows.Dispatcher.parseRequestXML(Dispatcher.java:1174) > at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:466) > at > org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:226) > ... 51 more > </ows:ExceptionText> > </ows:Exception> > </ows:ExceptionReport> > > > Thanks and regards, > Wouer Lievens > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected]<mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > > > > -- > Justin Deoliveira > OpenGeo - http://opengeo.org > Enterprise support for open source geospatial. > > > > > > -- > Justin Deoliveira > OpenGeo - http://opengeo.org > Enterprise support for open source geospatial. > > > > > > -- > Justin Deoliveira > OpenGeo - http://opengeo.org > Enterprise support for open source geospatial. > > -- Ben Caradoc-Davies <[email protected]> Software Engineering Team Leader CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
