Interesting, it seems like the parser is receiving a closed InputStream. I guess I need to setup a similar environment with Spring and JCache to try to reproduce it.
You should be able to clone the git repository I set up. You will need Java 8 and maven installed.
Thanks for the reproducer! It looks like this is a bug on our side: [ISPN-7704] AbstractFileLookup#lookupFileStrict should also support absolute paths - JBoss Issue Tracker
In short, we get a full path to the configuration file plus a scheme from Spring (e.g. "file:/home/user/work/.../infinispan.xml"). Some recent changes in AbstractFileLookup caused a regression and this file can not be found.
Luckily there is a workaround. Spring autoconfiguration kicks in only when there's no CacheManager bean in the BeanFactory. So you should probably create it by yourself using proper URI to configuration using this constructor: infinispan/JCacheManager.java at 9.0.0.Final · infinispan/infinispan · GitHub
Thanks for sharing the conclusion and a workaround. Not sure yet if we go for the workaround or wait with the upgrade until the bug has been fixed.