Hi guys,
I'm new to watching tomcat logs, but here goes. 
Is there a way to track the WPS processes that GeoServer is receiving from my clients and what it does with them?
My requests are getting stuck somehow. I'm running the QGIS WPS client and will investigate from the client side too, but thought I'd ask generally about ability to debug from server side.
Any tips?
Tyler
The first thing to try is to bump up the logging level, as described here:
http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html#logging-profile
Try VERBOSE_LOGGING for maximum information.
This will let you see the WPS Execute request, the data query(s) made for it, and the call to the actual process.
On Wed, Jan 9, 2013 at 12:58 PM, Tyler Mitchell <tyler.mitchell@anonymised.com.5293…> wrote:
Hi guys,
I’m new to watching tomcat logs, but here goes. 
Is there a way to track the WPS processes that GeoServer is receiving from my clients and what it does with them?
My requests are getting stuck somehow. I’m running the QGIS WPS client and will investigate from the client side too, but thought I’d ask generally about ability to debug from server side.
Any tips?
Tyler
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only – learn more at:
http://p.sf.net/sfu/learnmore_122612
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Martin Davis
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Verbose logging on my WPS question, is tossing lots out now
- any tips on deciphering it?
I got no response back at the client. If I use a process that doesn’t require my client sending up data, (i.e. grid process) it works fine though.
16 Jan 11:42:46 DEBUG [wps.resource] - Associating process with execution id: ca98d243-625f-4ef2-96e2-1f6e84740333
16 Jan 11:42:46 ERROR [geoserver.wps] - Process execution failed
org.geotools.process.ProcessException: Process execution ca98d243-625f-4ef2-96e2-1f6e84740333 failed
at org.geoserver.wps.executor.DefaultProcessManager.getOutput(DefaultProcessManager.java:157)
at org.geoserver.wps.executor.WPSExecutionManager.getOutput(WPSExecutionManager.java:173)
at org.geoserver.wps.Execute.run(Execute.java:75)
at org.geoserver.wps.DefaultWebProcessingService.execute(DefaultWebProcessingService.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:54)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy43.execute(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:772)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272)
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:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:97)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.geoserver.wps.WPSException: Failed to retrieve value for input features
at org.geoserver.wps.executor.LazyInputMap.get(LazyInputMap.java:37)
at org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.buildProcessArguments(AnnotationDrivenProcessFactory.java:496)
at org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.execute(AnnotationDrivenProcessFactory.java:381)
at org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:215)
at org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:189)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
… 1 more
Caused by: java.lang.ClassCastException: java.util.HashMap cannot be cast to net.opengis.wfs.FeatureCollectionType
at org.geoserver.wps.ppio.WFSPPIO.decode(WFSPPIO.java:68)
at org.geoserver.wps.executor.SimpleInputProvider.getValue(SimpleInputProvider.java:135)
at org.geoserver.wps.executor.LazyInputMap.get(LazyInputMap.java:35)
… 9 more
16 Jan 11:42:46 INFO [geoserver.wps] -
Request: execute
service = WPS
version = 1.0.0
baseUrl = http://localhost:8080/geoserver/
identifier:
value = gs:Simplify
dataInputs:
input[0]:
identifier = net.opengis.ows11.impl.CodeTypeImpl@anonymised.com (value: features, codeSpace: null)
title = net.opengis.ows11.impl.LanguageStringTypeImpl@anonymised.com (value: features)
data = net.opengis.wps10.impl.DataTypeImpl@anonymised.com[0]:
identifier = net.opengis.ows11.impl.CodeTypeImpl@anonymised.com (value: distance, codeSpace: null)
title = net.opengis.ows11.impl.LanguageStringTypeImpl@anonymised.com (value: distance)
data = net.opengis.wps10.impl.DataTypeImpl@anonymised.com
responseForm:
responseDocument:
output[0]:
identifier = net.opengis.ows11.impl.CodeTypeImpl@anonymised.com (value: result, codeSpace: null)
mimeType = text/xml; subtype=wfs-collection/1.0
asReference = true
lineage = false
status = false
storeExecuteResponse = false
16 Jan 11:42:46 DEBUG [geoserver.filters] - Compressing output for mimetype: application/xml
On 2013-01-09, at 2:46 PM, Martin Davis wrote:
The first thing to try is to bump up the logging level, as described here:
http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html#logging-profile
Try VERBOSE_LOGGING for maximum information.
This will let you see the WPS Execute request, the data query(s) made for it, and the call to the actual process.
On Wed, Jan 9, 2013 at 12:58 PM, Tyler Mitchell <tyler.mitchell@anonymised.com.5293…> wrote:
Hi guys,
I’m new to watching tomcat logs, but here goes. 
Is there a way to track the WPS processes that GeoServer is receiving from my clients and what it does with them?
My requests are getting stuck somehow. I’m running the QGIS WPS client and will investigate from the client side too, but thought I’d ask generally about ability to debug from server side.
Any tips?
Tyler
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only – learn more at:
http://p.sf.net/sfu/learnmore_122612
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Martin Davis
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Can anyone recommend a good WPS client for testing purposes? It doesn’t have to be fancy, but all I have at present is QGIS and I’m not sure how well it’s working against GeoServer. Guess I should buckle down and start crafting my own curl test to make sure all is good. Or are there already examples in test suites somewhere?
Tyler
On 2013-01-09, at 2:46 PM, Martin Davis wrote:
The first thing to try is to bump up the logging level, as described here:
http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html#logging-profile
Try VERBOSE_LOGGING for maximum information.
This will let you see the WPS Execute request, the data query(s) made for it, and the call to the actual process.
On Wed, Jan 9, 2013 at 12:58 PM, Tyler Mitchell <tyler.mitchell@anonymised.com.5293…> wrote:
Hi guys,
I’m new to watching tomcat logs, but here goes. 
Is there a way to track the WPS processes that GeoServer is receiving from my clients and what it does with them?
My requests are getting stuck somehow. I’m running the QGIS WPS client and will investigate from the client side too, but thought I’d ask generally about ability to debug from server side.
Any tips?
Tyler
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only – learn more at:
http://p.sf.net/sfu/learnmore_122612
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Martin Davis
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Hi Tyler,
I believe uDig can do WPS stuff - http://52north.org/communities/geoprocessing/udig/index.html
Jonathan
On 28 January 2013 19:36, Tyler Mitchell <tyler.mitchell@anonymised.com> wrote:
Can anyone recommend a good WPS client for testing purposes? It doesn’t have to be fancy, but all I have at present is QGIS and I’m not sure how well it’s working against GeoServer. Guess I should buckle down and start crafting my own curl test to make sure all is good. Or are there already examples in test suites somewhere?
Tyler
On 2013-01-09, at 2:46 PM, Martin Davis wrote:
The first thing to try is to bump up the logging level, as described here:
http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html#logging-profile
Try VERBOSE_LOGGING for maximum information.
This will let you see the WPS Execute request, the data query(s) made for it, and the call to the actual process.
On Wed, Jan 9, 2013 at 12:58 PM, Tyler Mitchell <tyler.mitchell@anonymised.com.5293…> wrote:
Hi guys,
I’m new to watching tomcat logs, but here goes. 
Is there a way to track the WPS processes that GeoServer is receiving from my clients and what it does with them?
My requests are getting stuck somehow. I’m running the QGIS WPS client and will investigate from the client side too, but thought I’d ask generally about ability to debug from server side.
Any tips?
Tyler
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only – learn more at:
http://p.sf.net/sfu/learnmore_122612
Geoserver-users mailing list
Geoserver-users@anonymised.coms.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Martin Davis
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only – learn more at:
http://p.sf.net/sfu/learnnow-d2d
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.