Trying to connect Quarkus Function app with Azure SQL server using System Assigned Managed Identity #117
Unanswered
prabakarrams
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
I am attempting to connect my Quarkus Function app to an Azure MS SQL database using the managed identity and I am getting an error as
"Quarkus bootstrap failed.
java.lang.RuntimeException: Failed to start quarkus.
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:101)
Caused by: java.lang.RuntimeException: javax.persistence.PersistenceException: [PersistenceUnit: ] Unable to build Hibernate SessionFactory
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: ] Unable to build Hibernate SessionFactory
Caused by: org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
Caused by: java.sql.SQLException: Acquisition timeout while waiting for new connection"
My question is whether it is possible to connect the function app to the SQL Server using Managed Identity. Whether Quarkus framework provides support for Azure Managed Identity when connecting to Azure SQL Server? I see documents for connecting the Postgresql DB with the Quarkus Function App using Managed Identity but I don't see any documents for Azure SQL Server with Quarkus Function app.
Beta Was this translation helpful? Give feedback.
All reactions