Display execution log in the browser (apache tomcat)
hi,
I have apache tomcat deploy a web service from a talend job
I execute my job with the following URL:
http://localhost:8080/a_0etape1_contact_0.1/services/a_0etape1_contact?method=runJob
it works
I have the following message:
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<runJobReturn xmlns="
http://talend.org" xmlns:ns1="
http://talend.org" xsi:type="ns1:runJobReturn">
<ns1:item xsi:type="ns1:ArrayOf_xsd_string">
<ns1:item xsi:type="xsd:string">0</ns1:item>
</ns1:item>
</runJobReturn>
</soapenv:Body>
</soapenv:Envelope>
in case of errors, my browser does not display errors!!!!
how I can retrieve the log file in the browser exécution
thx
Hi
If the job fails to run, you can only see the return value is 1 from the browser,
<ns1:item xsi:type="xsd:string">1</ns1:item>
You can read the detailed error message in the stdout_yyyyMMdd.log file located in <Tomcat install dir>/logs/.
Shong
Hi
You are not able to customize the response right now, you need to use a tLogCatcher component in each job to capture the error and log them to a file or database.
Shong
"unfortunatly" you need subscription to a TIS version to get this option.
you have to use the logs, stat & flow meter catcher to get information about your Talend project (as for any Talend version) and create some report, graphes for those data (with jasper or ireport for ex.)
regards