2 Replies Latest reply on Apr 9, 2012 4:29 PM by Hanneli Tavante

    Cache config at Jboss AS7

    Hanneli Tavante Newbie

      Hi all! Could anyone please help me? JBoss AS7 does not support @CacheConfig annotation anymore. Could anyone give me an example of what I should write on standalone.xml to have something like this


      @CacheConfig(maxSize=50, idleTimeoutSeconds=120, removalTimeoutSeconds=360)


      I was looking for something here -> https://docs.jboss.org/author/display/AS71/EJB3+subsystem+configuration+guide , but it seems that no information about <cache> tag is provided yet. I dont need Infinispan, I just need a simple cache for Stateful EJB passivation.