Speed up OpenSAML initialization ?
Tom Zeller
tzeller at dragonacea.biz
Fri Feb 27 15:43:00 EST 2015
> I think Scott is right, it's much more likely to be in something like the
> XML provider init. But I still have never seen it take anywhere near that
> long.
Sorry, right.
I added a log statement at the end of
org.opensaml.core.config.InitializationService#initialize(), and
that's why I reported the ~7s.
public class InitializationService {
public static synchronized void initialize() throws
InitializationException {
log.info("Initializing OpenSAML using the Java Services API");
...
while (iter.hasNext()) {
...
}
log.info("Done initializing OpenSAML using the Java Services API");
}
2015-02-27 14:37:49,432 - INFO
[org.opensaml.core.config.InitializationService:48] - Initializing
OpenSAML using the Java Services API
...
2015-02-27 14:37:55,583 - INFO
[org.opensaml.core.config.InitializationService:63] - Done
initializing OpenSAML using the Java Services API
More information about the dev
mailing list