@CacheConfig is not supported in AS7. These parameters should instead be defined within the cache/file-passivation-store/cluster-passivation-store elements in the ejb3 subsystem configuration. You can then use the @Cache annotation to refer to specific caches.
thank you very much, I will have a try.
If you are right,then I think that the book "JBoss AS 7 Configuration, Deployment and Administration " has some mistakes because they are still using that @CacheConfig for the printed source code on paper.