I have a non-spring project and I am using JNDI to pass the DB connection values. It is working fine while I am running from Tomcat as I am providing the values in server.xml file in the tomcat project but when I am not sure how to pass the JNDI values for integration test. I tried adding the resource values in Context.xml file but it is not working.
Can anyone help me with the same?