Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a job which does some work, and calls some subjobs. This main work is connected by a flow and has one start point (highlighted as green).
I want every Java exception been kept by tLogCatcher.
I created a tLogCather job as standalone job (not within the main flow). One sub job follows the tLogCatcher. The sub job shall make some entries in my databases log-table. The tLogCatcher is also highlighted as green and "catch Java Exceptions" is checked, tDie and tWarn isnt checked.
I found this Thread which unfortunately stays unsolved. There one told about a checkbox for multithreading. I do not have such an option for tLogCatcher.
Well when executing my job the console shows an Java exception. I do not understand why my log job isnt called.
One thought, I was not able to find an answer on is if I need to create a tlogCather on every subjob or if its enough to have one on the main job.
For further imagination here are some Screenshots about my job and the options of tLogCatcher.
Any help would be grateful. Thanks in advance.
Catching the handled erros by components I have to use run-if (which i still do for manual logging)
for XSD validation, when an error occured due to non conforme schema, you've got red information telling you about the problem.
BUT it's not an error about the component ... so onComponentError or on SubJobError cannot work !
for that reason use run-if
about logs errors you can configure which one you want to catch.
regards
laurent
Starting job xsdValidation at 11:46 03/09/2014.
connecting to socket on port 3688
connected
There is an Error on line 35 : Contenu non autorisé dans la section de fin.
File is Invalid
2014-09-03 11:46:38|mdrMTw|mdrMTw|mdrMTw|SANDBOX|xsdValidation|Default|4|tWarn|tWarn_2|XML Valide|42
disconnected
Job xsdValidation ended at 11:46 03/09/2014.
Starting job xsdValidation at 11:50 03/09/2014.
connecting to socket on port 3601
connected
There is an Error on line 35 : Contenu non autorisé dans la section de fin.
File is Invalid
2014-09-03 11:50:46|sxquUz|sxquUz|sxquUz|SANDBOX|xsdValidation|Default|4|tWarn|tWarn_1| File is Invalid|42
disconnected
Job xsdValidation ended at 11:50 03/09/2014.
((String)globalMap.get("tXSDValidator_1_XSD_ERROR_MESSAGE"))
((String)globalMap.get("tXSDValidator_1_ERROR_MESSAGE")) + " " + ((String)globalMap.get("tXSDValidator_1_XSD_ERROR_MESSAGE"))
Starting job xsdValidation at 11:53 03/09/2014.
connecting to socket on port 3795
connected
There is an Error on line 35 : Contenu non autorisé dans la section de fin.
File is Invalid
2014-09-03 11:53:30|lKcovM|lKcovM|lKcovM|SANDBOX|xsdValidation|Default|4|tWarn|tWarn_1| File is Invalid There is an Error on line 35 : Contenu non autorisé dans la section de fin.|42
disconnected
Job xsdValidation ended at 11:53 03/09/2014.