JNDI confguration #25039
Unanswered
hikemachado
asked this question in
Q&A
JNDI confguration
#25039
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I'm using pantaho reports and the reports files (.prpt) are configured to use JNDI datasource connection, I'm trying to configure JNDI in quarkus , I've already changed the property quarkus.naming.enable-jndi=true, but I still not able to connect using the JNDI name "mydb"
My application properties :
quarkus.naming.enable-jndi=true
quarkus.datasource.mydb.db-kind=mysql
quarkus.datasource.mydb.jdbc.driver=com.mysql.cj.jdbc.Driver
quarkus.datasource.mydb.jdbc.url=jdbc:mysql://localhost:3306/mydb
quarkus.datasource.mydb.username=root
quarkus.datasource.mydb.password=root
trying to access jndi using name = "mydb"
the exception is:
Failed to access the JNDI system: Cannot find the requested datasource 'mydb' anywhere in the JNDI system.
Thanks
Henrique
Beta Was this translation helpful? Give feedback.
All reactions