dimas-b commented on PR #3960:
URL: https://github.com/apache/polaris/pull/3960#issuecomment-4040858741

   > [...] The root cause was DefaultDataSourceResolver unconditionally 
injecting a JDBC DataSource bean, which caused an 
io.quarkus.arc.InactiveBeanException when booting profiles where JDBC is 
disabled (like NoSQL/Mongo).
   
   Current code in this PR LGTM, however, I still wonder why would 
`DefaultDataSourceResolver` be "engaged" in non-JDBC contexts (and subsequently 
get the `InactiveBeanException`)  :thinking: 
   
   @Subham-KRLX : Could you explore this a bit more?
   
   Perhaps `DefaultDataSourceResolver` may need to be a `@Dependent` bean 
rather than `@ApplicationScoped` :thinking: 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to