JBossTS does not support JBossAS 4.0.4 yet.
thanks for the reply !
Sorry that I have expressed myseld unclear, I knew that it is only available for 4.0.3 (Sp1), since I also read in this Forum prior to my post. I just wanted to note that at the moment we are going for JBoss 4.0.4.
My question was supposted to be more about the general aspekt of using EJB3, Hibernate-Transaktions, Caches and JBossTS in a Cluster. I thought, that the basics aspekts would be transferable in this case.
OK, sorry for misunderstanding. In that case, in general you need to make sure that all entities that are using (reading or writing) data that is accessed within a transaction share that transaction context. I haven't had a chance to look at how Hibernat or TreeCache use transactions, but I'd assume they do so via JTA and either register XAResources or Synchronizations, depending on the type of participant. In that case, you should be OK with replacing the local (single VM) JTA implementation with the JTS implementation and it should just work (tm).