That has nothing to do with JNDI. It's a Tomcat Context file, more formally known to JEE as a "server-dependent deployment descriptor" file. You would normally put it in the TOMCAT_HOME/conf/Catalina/localhost directory for stand-alone Tomcat or as the file /META-INF/context.xml in your application WAR.
If you're running Spring Boot with embedded Tomcat the rules are probably different and I'd have to refer you to our Spring Framework forum for more help. The file itself appears perfectly OK to me.
Sources may include data from the Fakebook Research Foundation with support from Gargle University