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
How to connect Oracle Free Cloud database or Autonomous database #68
Comments
This is so weird. I can reproduce it but it does not make any sense. That syntax works on my Mac (although I use On Windows I get the same error as you do. It seems to be related to the I could find a workaround for now.
|
Another solution seems to be to change the
Please try and provide feedback. |
I did also try to upgrade the jdbc libraries to 19.8 ... still the same issue. |
Another solution seems to be to change the \ into a /: url=jdbc:oracle:thin:@ligitime_high?TNS_ADMIN=C:\Wallet_LIGITIME |
This is so weird, I guess the following might work as well:
can you try that? Have checked my code, am a bit confused. In a different project of mine it works. But there I retrieve the connection url from a JSON file and there you need to escape a Will be a challenge for people as it is. |
I have updated the documentation with a comment in the full installation section and also the troubleshooting section. |
i download wallet and configured as documents but still unable to connect with my cloud database. can help me step by step or more details document or method to connect autonomous database using jre-2.7.0 on tomcat.
[datasource:ligitime]
type=jdbc
name=default
url=jdbc:oracle:thin:@ligitime_high?TNS_ADMIN=C:\Wallet_LIGITIME
username=ligitime
password=
error----
HTTP Status 500 – Internal Server Error
Type Exception Report
Message Could not connect via JDBC: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLRecoverableException: IO Error: Invalid connection string format, a valid format is: "host:port:sid"
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
java.lang.RuntimeException: Could not connect via JDBC: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLRecoverableException: IO Error: Invalid connection string format, a valid format is: "host:port:sid"
de.oc.utils.Utils.throwRuntimeException(Utils.java:18)
de.oc.db.ConnectionUtility.getConnection(ConnectionUtility.java:158)
de.oc.integration.jasper.webapp.AppConfig.getConnection(AppConfig.java:427)
de.oc.integration.jasper.webapp.ReportWrapper.service(ReportWrapper.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
Note The full stack trace of the root cause is available in the server logs.
The text was updated successfully, but these errors were encountered: