[Zoo-discuss] Understanding error message
rakesh prithiviraj
rakeshuk at outlook.com
Thu Sep 1 02:43:33 PDT 2016
Dear Gerald,
Thanks for your response. I debugged the service code and I made a mistake in the logic (java code) where I decide if the service has run successfully or not. I have fixed it now and it works fine now. My apologies for not checking this earlier.
Nevertheless it is good to know that I can set "message" in the "lenv" to communicate reason for service failure.
Have a good day
Rakesh
________________________________
From: Fenoy Gerald <gerald.fenoy at geolabs.fr>
Sent: 01 September 2016 10:23
To: rakesh prithiviraj
Cc: ZOO-discuss
Subject: Re: [Zoo-discuss] Understanding error message
Hello Rakesh,
it seems that there is some issue after the service has been run.
Can you give some informations about the outputs HashMap you have defined in your service code please ? It may help to check if there is not an issue in the way you define the value field of your output HashMap for the generated files.
The apache error log does not help much in that case. I suppose it comes from the presence, in the zcfg files, of some « # » chars.
For the message you want to display, you should use conf['lenv']['message'] to get it displayed after your service has failed.
I hope to hear back from you.
Best regards,
> Le 31 août 2016 à 18:28, rakesh prithiviraj <rakeshuk at outlook.com> a écrit :
>
> Hi,
>
> I tried to run a Zoo Java service which generates some output files. After the output files are generated and the service is complete, the service is marked as failed. But the service has successfully ran as I have all the required outputs and the last line before zoo.SERVICE_SUCCEEDED in the service code is printed in the logs.
>
> In the apache logs, I get the following line. Please let me know how to interpret this message?
> [Wed Aug 31 17:23:12.890739 2016] [cgi:error] [pid 12731:tid 140066173978368] [client 192.168.3.83:53402] AH01215: ####
>
> Also message in my WPS execute response does not help.
> WPS Execute Response:
> <?xml version="1.0" encoding="utf-8"?>
> <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ows/2.0http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd" xml:lang="en-US" version="2.0.2">
www.opengis.net<http://www.opengis.net/ows/2.0>
www.opengis.net
owsAll.xsd This XML Schema Document includes and imports, directly or indirectly, all the XML Schemas defined by the OWS Common Implemetation Specification.
> <ows:Exception exceptionCode="InternalError">
> <ows:ExceptionText>Unable to run the Service. The message returned back by the Service was the following: No message provided</ows:ExceptionText>
> </ows:Exception>
> </ows:ExceptionReport>
>
> Regards
> Rakesh
>
>
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/zoo-discuss
Gérald Fenoy
http://wiki.osgeo.org/wiki/User:Djay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20160901/f3de3c35/attachment.html>
More information about the Zoo-discuss
mailing list