Some issues with WPS

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Some issues with WPS

dabraham
Hi, I have Debian Wheezy server, where is installed 52nWPS 3.1.1, package and GRASS7. Now, there are 4 active repositories: Local, LocalR, Sextante, GRASS. WPS URL: 46.28.111.137:8080/wps52n331/WebProcessingService?Request=GetCapabilities&Service=WPS
 
1. When is LocalR activated, GetCapabilities returns every algorithm twice.

2. If is GML3 parser set to feature.xsd, after data upload to server, I get error message - parser not found. When I use gml.xsd instead feature.xsd, this error disappears. But I don't know, if this is right solution.

3. I tried algorithms from each repository, but always after sending data to server I get error message like this:

NoApplicableCode
There went something wrong with parsing the POST data: Element or attribute do not match QName production: QName::=(NCName':')?NCName.
JAVA_StackTrace
org.n52.wps.server.ExceptionReport: There went something wrong with parsing the POST data: Element or attribute do not match QName production: QName::=(NCName':')?NCName. at org.n52.wps.server.handler.RequestHandler.<init>(RequestHandler.java:231) at org.n52.wps.server.WebProcessingService.doPost(WebProcessingService.java:318) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at org.n52.wps.server.WebProcessingService.service(WebProcessingService.java:350) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:169) at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:232) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.xml.sax.SAXParseException; lineNumber: 67; columnNumber: 22; Element or attribute do not match QName production: QName::=(NCName':')?NCName. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) at org.n52.wps.server.handler.RequestHandler.<init>(RequestHandler.java:187) ... 24 more 
JAVA_RootCause
Element or attribute do not match QName production: QName::=(NCName':')?NCName.

4. Name of the location and mapset, that use my GRASS7, contains a colon (EPSG:5514) - can it cause any problems?

Thanks
Dominik

_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Some issues with WPS

BenjaminPross
Hello Dominik,

regarding the GML schema, you will have to check what the process is supporting. GRASS 7 processes for example support gml.xsd, other processes feature.xsd
I don't experience any of the other things you describe on Windows, I am afraid. I may be able to test it with debian. I take it you are using the 64 bit version?

Cheers,

Benjamin
Reply | Threaded
Open this post in threaded view
|

Re: Some issues with WPS

BenjaminPross
Hello Dominik,

Did you follow the tutorial: https://wiki.52north.org/bin/view/Geoprocessing/TutorialBackendWpsGRASSLinux
If yes, which steps did not work for you?

Cheers,

Benjamin

Am 22.07.2015 um 15:57 schrieb Dominik Abrahám:
Hi,

are there any progress meanwhile? Or is there any proven way to use GRASS7 algorithms via 52°nWPS on Debian or Ubuntu?

Thanks
Dominik

2015-04-30 2:30 GMT+02:00 Dominik Abrahám <[hidden email]>:
I have 32-bit Debian 7.8 on my server. It may be useful to know that there is Apache 7.0.28 and OpenJDK 1.7.0.

When these problems will be resolved, I am interested one more thing - is it possible to get result of the algorithm through GeoServer WMS/WFS? I have GeoServer 2.7.0 on my server.

Cheers
Dominik

2015-04-29 14:26 GMT+02:00 BenjaminPross <[hidden email]>:
Hello Dominik,

regarding the GML schema, you will have to check what the process is
supporting. GRASS 7 processes for example support gml.xsd, other processes
feature.xsd
I don't experience any of the other things you describe on Windows, I am
afraid. I may be able to test it with debian. I take it you are using the 64
bit version?

Cheers,

Benjamin




--
View this message in context: http://geoprocessing.forum.52north.org/Some-issues-with-WPS-tp4026061p4026067.html
Sent from the 52° North - Geoprocessing Community Forum mailing list archive at Nabble.com.
_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines




-- 
Benjamin Proß
Software Engineer
52°North Geoprocessing Community

52°North Initiative for Geospatial Open Source Software GmbH
Martin-Luther-King-Weg 24
Fon: +49-(0)-251–396371-42
Fax: +49-(0)-251–396371-11
[hidden email]
http://52north.org/

General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
Local Court Muenster HRB 10849

_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines