79420064

Date: 2025-02-07 07:40:58
Score: 1.5
Natty:
Report link

I finally found out the solution myself. The problem was that I had to extend BasicDataSourceFactory from org.apache.tomcat.dbcp.dbcp2 insted of extending BasicDataSourceFactory from org.apache.commons.dbcp2. Apparently, the both classes hace a few differences and do not manage authentication the same way. Hope it helps.

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: avitoria