This is caused by a recent fix to WebappClassLoader while fixing
GLASSFISH-20386. Resources from WEB-INF/lib/*.jar/META-INF/resources/ are no longer searched using getMetainfResources(). Instead, a new class called WebDirContext has been introduced which handled resource lookup from such jars in an optimized way. Currently, OSGi web container uses FileDirContext which needs to be changed a WebDirContext to get things working. I have a fix that works, but unfortunately there is no promoted 4.0.1 builds available in maven repository for us to compile against. This is needed because WebDirContext is newly introduced. This will also make the next version of osgi-web-container backward incompatible with glassfish 3.x releases.