title: Getting datasource from tomcat context.xml instead of application.properties
body: <p>I have a question about deploying a springboot app. Is it possible to get the data source settings from tomcat context.xml resources instead of the application.properties file?</p>
  
  <p>In this project, I already have a war deployed in tomcat and it uses the data source properties from context .xml of tomcat (it is maven project it and it uses hibernate to access the database).</p>
  
  <p>I'd like to do the same thing but using springboot.</p>