Finally, I found solution for this.
In datasource for tasks it should be no-tx-datasource. See
https://forum.hibernate.org/viewtopic.php?f=1&t=998779
and http://community.jboss.org/wiki/ConfigDataSources
Thank you to all for your insights about transactions.