org.springframework.dao.DataAccessResourceFailureException

DsevenX 1 Reputation point
2021-03-25T22:48:39.017+00:00

In my local SpringBoot-Application I can access to my Azure SQL Database, but in the wepapp I got always :
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Could not create JPA EntityManager; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at org.apac
...
org.springframework.dao.DataAccessResourceFailureException

the application.properties-file is always the same.

Azure SQL Database
Azure Spring Apps
Azure Spring Apps
An Azure platform as a service for running Spring Boot applications at cloud scale. Previously known as Azure Spring Cloud.
109 questions
{count} votes

1 answer

Sort by: Most helpful
  1. DsevenX 1 Reputation point
    2021-03-30T07:30:54.237+00:00

    Thanks for your help. I appreciate your support. I did the version with "allow access from other Azure services" and then I mention there every IP-adresses of my APPs. But I think, it is not the smartest one.