Well, my workaround right now is adding a Thread.sleep() to the constructor of a subclassed ContextLoaderListener, defined in the web.xml. It will wait until the spring context has been registered in the JNDI... Very ugly hack, but it works fine for now.