[gradle appRun] database connection exception
mrtuborg opened this issue · 3 comments
mrtuborg commented
Hello,
I was able to setup and configure irma_keyshare_server
.
I have tested my installation of mysql (see: gist)
I have tested access to irma_keyshare
database through jdbc
But irma_keyshare_server
is unable to connect to the same database:
1. org.javalite.activejdbc.InitException: Failed to connect to JNDI name: java:comp/env/jdbc/irma_keyshare
My irma_keyshare_server/src/main/resources/database.xml config
The whole stack trace: gist
mrtuborg commented
I have tried 2 setups:
- Linux machine with irma configured by script from @confiks (https://gist.github.com/confiks/ab7ae1802d2b64dc20659c0addcc5613)
- OS X machine with mysql 5.7 in docker container (database irma_keyshared was preconfigured by database.sql script from irma_keyshare_server)
Both setups does not work.
mrtuborg commented
Fixed. Will clarify README.md and prepare PR.
sietseringers commented
Hi @mrtuborg,
Thanks for your continued interest, and apologies for the late response! I was still looking into your problem, as far as I could tell your configuration seems fine. Great that you managed to solve it, I'm very curious how.