Today I will upload new version of tHTMLInput please download it, It will give you option to choose how many times you want to try to connect certain webpage. this will avoid errors at some extent.
Hi Umesh,
I have looked on the Talend Exchange site and I see tHTMLinput Release date : 22-Apr and tHTMLInput_extended with a release date of 2-July
There is another version??
Thanks
Didier
I have install the V2
Now it works:
connecting to socket on port 3628
connected
.------+--------------.
| tLogRow_2 |
|=-----+-------------=|
|euro |parseErrorText|
|=-----+-------------=|
|309.33|null |
'------+--------------'
disconnected
but the component does not seem very stable:
connected
Exception in component tHTMLInput_2
java.lang.NullPointerException
at pmi.getcurrency_bnh_html_0_1.GetCurrency_BNH_HTML.tHTMLInput_2Process(GetCurrency_BNH_HTML.java:806)
at pmi.getcurrency_bnh_html_0_1.GetCurrency_BNH_HTML.runJobInTOS(GetCurrency_BNH_HTML.java:1209)
at pmi.getcurrency_bnh_html_0_1.GetCurrency_BNH_HTML.main(GetCurrency_BNH_HTML.java:1030)
disconnected
when you try to execute several times the same job!
You need to add tSleep component to slow down process, and avoid frequent requesting to web server, it may block your IP address. Other wise there are options but need to add like proxy. It will be added in next version, right now I am too busy.
With a tSleep:
Démarrage du job GetCurrency_BNH_HTML a 15:45 27/07/2015.
connecting to socket on port 3510
connected
Exception in component tHTMLInput_2
java.lang.NullPointerException
at pmi.getcurrency_bnh_html_0_1.GetCurrency_BNH_HTML.tHTMLInput_2Process(GetCurrency_BNH_HTML.java:1478)
at pmi.getcurrency_bnh_html_0_1.GetCurrency_BNH_HTML.tSleep_1Process(GetCurrency_BNH_HTML.java:2076)
at pmi.getcurrency_bnh_html_0_1.GetCurrency_BNH_HTML.runJobInTOS(GetCurrency_BNH_HTML.java:2338)
at pmi.getcurrency_bnh_html_0_1.GetCurrency_BNH_HTML.main(GetCurrency_BNH_HTML.java:2159)
disconnected
Job GetCurrency_BNH_HTML terminé à 15:46 27/07/2015.