<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style="font-size: 12pt;">Dear Gerald,</span><br>
</p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<div>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.</div>
<div><br>
</div>
<div>Nevertheless it is good to know that I can set "message" in the "lenv" to communicate reason for service failure. </div>
<div><br>
</div>
<div>Have a good day</div>
<div>Rakesh</div>
<div><br>
</div>
<div><br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Fenoy Gerald <gerald.fenoy@geolabs.fr><br>
<b>Sent:</b> 01 September 2016 10:23<br>
<b>To:</b> rakesh prithiviraj<br>
<b>Cc:</b> ZOO-discuss<br>
<b>Subject:</b> Re: [Zoo-discuss] Understanding error message</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hello Rakesh,<br>
it seems that there is some issue after the service has been run.<br>
<br>
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.<br>
<br>
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.<br>
<br>
For the message you want to display, you should use conf[‘lenv’][‘message’] to get it displayed after your service has failed.<br>
<br>
I hope to hear back from you.<br>
Best regards,<br>
<br>
<br>
> Le 31 août 2016 à 18:28, rakesh prithiviraj <rakeshuk@outlook.com> a écrit :<br>
> <br>
> Hi,<br>
> <br>
> 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.<br>
> <br>
> In the apache logs, I get the following line. Please let me know how to interpret this message?<br>
> [Wed Aug 31 17:23:12.890739 2016] [cgi:error] [pid 12731:tid 140066173978368] [client 192.168.3.83:53402] AH01215: ####<br>
> <br>
> Also message in my WPS execute response does not help.<br>
> WPS Execute Response:<br>
> <?xml version="1.0" encoding="utf-8"?><br>
> <ows:ExceptionReport xmlns:ows="<a href="http://www.opengis.net/ows/2.0" id="LPlnk678925">http://www.opengis.net/ows/2.0</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:schemaLocation="<a href="http://www.opengis.net/ows/2.0http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd">http://www.opengis.net/ows/2.0http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd</a>"
 xml:lang="en-US" version="2.0.2">
<div id="LPBorder_GT_14727228415790.3184292597063185" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14727228415730.5842440327905674" cellspacing="0" style="width: 90%; position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200); background-color: rgb(255, 255, 255);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14727228415750.6736789072658298" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14727228415760.4064132201234074"></div>
<div id="LPTitle_14727228415760.6293530305161474" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14727228415760.8852881914265438" href="http://www.opengis.net/ows/2.0" target="_blank" style="text-decoration: none;">www.opengis.net</a></div>
<div id="LPMetadata_14727228415770.5974944441760708" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
www.opengis.net</div>
<div id="LPDescription_14727228415780.11992459610526551" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
owsAll.xsd This XML Schema Document includes and imports, directly or indirectly, all the XML Schemas defined by the OWS Common Implemetation Specification.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
>   <ows:Exception exceptionCode="InternalError"><br>
>     <ows:ExceptionText>Unable to run the Service. The message returned back by the Service was the following: No message provided</ows:ExceptionText><br>
>   </ows:Exception><br>
> </ows:ExceptionReport><br>
> <br>
> Regards<br>
> Rakesh<br>
> <br>
> <br>
> _______________________________________________<br>
> Zoo-discuss mailing list<br>
> Zoo-discuss@lists.osgeo.org<br>
> <a href="http://lists.osgeo.org/mailman/listinfo/zoo-discuss">http://lists.osgeo.org/mailman/listinfo/zoo-discuss</a><br>
<br>
<br>
<br>
Gérald Fenoy<br>
<a href="http://wiki.osgeo.org/wiki/User:Djay">http://wiki.osgeo.org/wiki/User:Djay</a><br>
<br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>