-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDBC connection issue #87
Comments
Hey @Yuuki-Sakura, Thanks a lot for using these images! Try the following: There is a big difference between the |
I tried, but I still cannot connect. |
I would try |
Use |
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor |
Hi @Yuuki-Sakura, Unfortunately, I hoped this would be a quick fix but unfortunately, it turns out that something else is going on here. I can already tell that you can reach the port and the Listener process inside the container because you are getting
To determine what's going on, we will unfortunately have to go into the container. When the container is up and running and you are getting this error from JDBC, could you please do the following:
|
Still cannot connect. Listener refused the connection with the following error: output:
|
Hi @Yuuki-Sakura, Thank you very much for the additional information! It appears that the listener somehow never managed to register the services provided by the database (according to the On a normal container startup,
Unfortunately, at this stage it's a question of why the database isn't communicating with the listener, which is not my area of expertise. Hence I will have to do some research and ask my colleagues how we can triage this further. |
Unable to connect to Oracle using JDBC. I have tried multiple connection strings but none of them were successful.
When using the connection string
jdbc:oracle:thin:@localhost:1521:FREE
, the following error is received:ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
docker run:
docker run -d --name oracledb -p 1521:1521 -e ORACLE_PASSWORD=test -e APP_USER=test -e APP_USER_PASSWORD=test gvenzl/oracle-free:slim-faststart
container logs:
docker info:
Thank you for your help!
The text was updated successfully, but these errors were encountered: