Display execution log in the browser (apache tomcat)

One Star

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

Re: Display execution log in the browser (apache tomcat)

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
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Display execution log in the browser (apache tomcat)

thank you shong,
but the idea is that my job is running multiple job, so, I would need to see the errors in the browser
Thx
Nabil
Community Manager

Re: Display execution log in the browser (apache tomcat)

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
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Display execution log in the browser (apache tomcat)

Hi,
But tLogCatcher does not display the error details as in the display screen talend !!!!
Seventeen Stars

Re: Display execution log in the browser (apache tomcat)

One Star

Re: Display execution log in the browser (apache tomcat)

Hi,
is that it is possible to install it with talend open studio for data integration ??
regards
nabil
Seventeen Stars

Re: Display execution log in the browser (apache tomcat)

"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