You should post (attach) whole configuration file rather than just the excerpt. Are you putting the locking element into the cache, or just after it?
<locking ... />
<transaction ... />
Make sure that you have the schema loaded into your IDE, code completion helps a lot.
Thanks for the fast response. I think i actually solved it already now and it was my mistake in the xml, sorry.
I was just wondering if it isnt possible to configure distributed caches in more detail in xml since i didnt get it to work.