Removing JNDI datasource file from META-INF/services. Since it is not a service, and it is unspecified in the spec what order contents of war files are loaded so it is difficult to control with multiple files on class path. It is more predictable to specify the datasource in the web.xml file.