Inhibition of TNF-α, and NF-κB and JNK pathways accounts for the prophylactic action of the natural phenolic, allylpyrocatechol against indomethacin gastropathy.