I know this is a FAQ (http://www.jboss.org/community/wiki/WhydoIgetCouldnotfindnewXAResourcetouseforrecoveringnon-serializableXAResource), however the response here seems to be dated. I am wondering if these instructions apply to JBoss AS 5.1? I was not able to find any file called jta.properties as suggested in point 1. As for point 2, I do have a DefaultJMSProvider defined. My JBM version is 2.0.0.BETA4 and seems to be working fine otherwise, but every few seconds I get "Could not find new XAResource" messages. How do I get rid of these?
Please take a look on the javaee/xarecovery example.
(I don't recall if xarecovery existed on JBM 2 Beta4, but It sure is availble on HornetQ Beta5).
look at jbossts-properties.xml on that example. If you run the example, you will see the file being replaced, and the example itself will provide you guidance in how to configure XARecovery for HornetQ on its readme.html.