Hi all,
i am building an application using opengeo suite sdk in
which i am getting connected to the geoserver for creating new feature or
style and editing existing feature or style. for that i authenticate
geoserver from my application. and then after authentication with geoserver
when i select the tool for editing or creating feature and clicks on the
feature to be edited then following requests are fired to geoserver
1.
http://localhost:8080/geoserver/wms?SERVICE=WMS&REQUEST=GetFeatureInfo&BBOX=289159.737699%2C2116663.886335%2C290474.432137%2C2117019.500404&WIDTH=1098&HEIGHT=297&X=553&Y=142&QUERY_LAYERS=nmmc%3Aanganwadi&INFO_FORMAT=application%2Fvnd.ogc.gml&EXCEPTIONS=application%2Fvnd.ogc.se_xml&FEATURE_COUNT=1&LAYERS=nmmc%3Aanganwadi&FORMAT=image%2Fpng&TRANSPARENT=true&VERSION=1.1.1&SERVICE=WMS&STYLES=&SRS=EPSG%3A32643
this request status is 200 Ok responds the xml response
2.
http://localhost:8080/geoserver/wfs/WfsDispatcher?&%3Cwfs%3AGetFeature%20xmlns%3Awfs=%22http%3A%2F%2Fwww.opengis.net%2Fwfs%22%20service%3D%22WFS%22%20version%3D%221.1.0%22%20maxFeatures%3D%2220%22%20xsi%3AschemaLocation%3D%22http%3A%2F%2Fwww.opengis.net%2Fwfs%20http%3A%2F%2Fschemas.opengis.net%2Fwfs%2F1.1.0%2Fwfs.xsd%22%20xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%3E%3Cwfs%3AQuery%20typeName%3D%22feature%3Aanganwadi%22%20srsName%3D%22EPSG%3A32643%22%20xmlns%3Afeature%3D%22http%3A%2F%2Fwww.nmmconline.com%22%3E%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%3E%3Cogc%3AFeatureId%20fid%3D%22anganwadi.fid--7e929286_139f70d8bfb_-7fda%22%2F%3E%3C%2Fogc%3AFilter%3E%3C%2Fwfs%3AQuery%3E%3C%2Fwfs%3AGetFeature%3E
this request status is 500 internal server error
and responds as
<html><head><title>Apache Tomcat/6.0.24 - Error
report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color :
#525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR
size="1" noshade="noshade"><p><b>type</b> Exception
report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The
server encountered an internal error () that prevented it from
fulfilling this request.</u></p><p><b>exception</b>
<pre>org.springframework.web.util.NestedServletException: Handler
processing failed; nested exception is java.lang.NoClassDefFoundError:
org/apache/xml/serialize/OutputFormat
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:920)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394)
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)
org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)</pre></p><p><b>root
cause</b> <pre>java.lang.NoClassDefFoundError:
org/apache/xml/serialize/OutputFormat
org.geotools.xml.Encoder.<init>(Encoder.java:263)
org.geoserver.ows.DefaultServiceExceptionHandler.handleServiceException(DefaultServiceExceptionHandler.java:99)
org.geoserver.wfs.response.WfsExceptionHandler.handleServiceException(WfsExceptionHandler.java:52)
org.geoserver.ows.Dispatcher.handleServiceException(Dispatcher.java:1447)
org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1400)
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:244)
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394)
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)
org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)</pre></p><p><b>note</b>
<u>The full stack trace of the root cause is available in the Apache
Tomcat/6.0.24 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache
Tomcat/6.0.24</h3></body></html>
the issue is understandable? please,let me understand the issue and
the path to the solution..
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users