You could extend the Hibernate TreeCacheProvider to look up the cache from JMX instead of looking for the hardcoded treecache.xml file. Also, chk the Hibernate forums, IIRC someone did contribute a version of the TreeCacheProvider that did just that.
I managed to solve this problem.
I am not using TreeCache via JMX, but I created an object of TreeCache, and using
I managed to get an input stream to treecache.xml,
I then pass this stream to PropertyConfigurator and configure my cache object.