Ok, I see a solution, but I'm not 100% sure what causes it. I had to move the streams directory in the oflaDemo.war to WEB-INF/classes for it to find the streams directory every time.
It must have something to do with the classpath but I'm not sure yet what the right way to do it is.