Maybe the stack trace may shed some light onto this:

Request: execute
     service = WPS
     version = 1.0.0
     baseUrl = http://172.16.0.100:8080/geoserver/
     identifier:
         value = gt:BufferFeatureCollection
     dataInputs:
         input[0]:
             identifier = net.opengis.ows11.impl.CodeTypeImpl@1e8c220 
(value: features, codeSpace: null)
             reference = 
net.opengis.wps10.impl.InputReferenceTypeImpl@5820c3da (body: 
net.opengis.wfs.impl.GetFeatureTypeImpl@4f1a4a
69 (handle: null, service: WFS, version: 1.0.0, baseUrl: null, 
providedVersion: null, extendedProperties: {}) (maxFeatures: null, ou
tputFormat: GML2, resultType: <unset>, traverseXlinkDepth: null, 
traverseXlinkExpiry: null, formatOptions: null, metadata: null, sta
rtIndex: null), encoding: null, href: http://geoserver/wfs, method: 
POST, mimeType: text/xml; subtype=wfs-collection/1.0, schema: nu
ll)input[0]:
             identifier = net.opengis.ows11.impl.CodeTypeImpl@470b5c11 
(value: buffer, codeSpace: null)
             data = net.opengis.wps10.impl.DataTypeImpl@3ac98487
     responseForm:
         rawDataOutput:
             identifier = net.opengis.ows11.impl.CodeTypeImpl@41bd938 
(value: result, codeSpace: null)
             mimeType = application/json
13 Aug 17:42:24 ERROR [geoserver.ows] -
java.lang.NoClassDefFoundError: org/json/simple/parser/ContentHandler
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
         at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2818)
         at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)
         at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
         at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
         at org.geoserver.wps.ppio.GeoJSONPPIO.encode(GeoJSONPPIO.java:28)
         at 
org.geoserver.wps.CDataEncoderDelegate.encode(CDataEncoderDelegate.java:52)
         at 
org.geoserver.wps.response.ExecuteProcessResponse.writeComplex(ExecuteProcessResponse.java:210)
         at 
org.geoserver.wps.response.ExecuteProcessResponse.write(ExecuteProcessResponse.java:174)
         at org.geoserver.ows.Dispatcher.response(Dispatcher.java:751)
         at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:238)


On 08/13/2012 05:42 PM, Peter Hopfgartner wrote:
> Using the WPS request builder in GeoServer 2.1.x (2012-08-13), I set the
> result option to application/json. The WPS request is:
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wps:Execute version="1.0.0" service="WPS"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns="http://www.opengis.net/wps/1.0.0";
> xmlns:wfs="http://www.opengis.net/wfs";
> xmlns:wps="http://www.opengis.net/wps/1.0.0";
> xmlns:ows="http://www.opengis.net/ows/1.1";
> xmlns:gml="http://www.opengis.net/gml";
> xmlns:ogc="http://www.opengis.net/ogc";
> xmlns:wcs="http://www.opengis.net/wcs/1.1.1";
> xmlns:xlink="http://www.w3.org/1999/xlink";
> xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
> http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd";>
> <ows:Identifier>gt:BufferFeatureCollection</ows:Identifier>
>     <wps:DataInputs>
>       <wps:Input>
>         <ows:Identifier>features</ows:Identifier>
>         <wps:Reference mimeType="text/xml; subtype=wfs-collection/1.0"
> xlink:href="http://geoserver/wfs"; method="POST">
>           <wps:Body>
>             <wfs:GetFeature service="WFS" version="1.0.0"
> outputFormat="GML2">
>               <wfs:Query typeName="sf:roads"/>
>             </wfs:GetFeature>
>           </wps:Body>
>         </wps:Reference>
>       </wps:Input>
>       <wps:Input>
>         <ows:Identifier>buffer</ows:Identifier>
>         <wps:Data>
>           <wps:LiteralData>5</wps:LiteralData>
>         </wps:Data>
>       </wps:Input>
>     </wps:DataInputs>
>     <wps:ResponseForm>
>       <wps:RawDataOutput mimeType="application/json">
>         <ows:Identifier>result</ows:Identifier>
>       </wps:RawDataOutput>
>     </wps:ResponseForm>
> </wps:Execute>
>
>
> What I get is:
>
> <ows:ExceptionReport version="1.1.0"
> xsi:schemaLocation="http://www.opengis.net/ows/1.1
> http://172.16.0.100:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd";><ows:Exception
> exceptionCode="NoApplicableCode"><ows:ExceptionText>java.lang.NoClassDefFoundError:
> org/json/simple/parser/ContentHandler
> org/json/simple/parser/ContentHandler
> org.json.simple.parser.ContentHandler</ows:ExceptionText></ows:Exception></ows:ExceptionReport>
>
> Where could I start to look into?
>
> Peter
>
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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

Reply via email to