I thought HORNETQ-1047 only applied to HornetQ running with EAP 5.x but now that I look at how standalone is doing this I see that it applies there as well. That being the case, it's not surprising that this doesn't work for you. JNDI is broken on the backup when failing over after failing back. I'll get this fixed on the master branch for the next release of HornetQ (should be 2.4.x).
Tnx for your quick response.