Edit $JBOSS_HOME/server//conf/jboss-service.xml, and look for the following section:
To set the default timeout value, simply add an attribute between inside the tag:
<attribute name="DefaultCacheTimeout">VALUE_IN_SECONDS</attribute>