I hope that the constructor argument (the policy name) )for the JAASSecurityDomain went missing, or that might be part of the problem.
A timed cache policy is the default (it can be overridden in the Security management config)
Does java:/timedCacheFactory exist on your system?
(I cant find out where is is defined, but it's definitely present in all the JBoss installations I have used)
In case anyone was dying of curiosity, I happened to come across the definition of java:timedCacheFactory.
It's in JaasSecurityManagerService- the factory is created (and JNDI-bound) when the MBean is started, so if you didn't have the factory then this service hadn't started properly (check conf/jboss-service.xml and mbean jboss.security:service=JaasSecurityManager).
It would be quite unusual to run JBoss without the security manager service.
The name and class for this default seem to be hard coded.