I have been working on an issue where JNDI name is not found in the context an axis2 webservice is running. This issue is only in Tomcat 8 when I use spring. Some details:
@bplso I had the same issue when I upgrade tomcat7 to tomcat8.5 on a axis2 project, try the steps given in image. It may be solve your issue. !
Step 1: Specify the connection resource in server.xml inside like
Step 2: Specify the resource reference in web.xml inside the like
This is a reference to the global Resource for SQL database connetion.
jdbc/name
javax.sql.DataSource
Container
Step 3: Create a context.xml file and paste it in your project/META-INF/ path as below