Hello all, my apologies if this is the wrong place to post this question.
I am having issues connecting WhiteRabbit to Oracle, I get the following errors:
Could not connect: Cannot connect to DB server:
-When using OCI: no ocijdbc11 in java.library.path
-When using THIN: IO Error: Invalid connection String format, a valid format is: “host:port:sid”
Not sure if the problem is that we mainly use Service Name and not SID
Is there something I need to add to the parameters in order to make this work?
Could you provide more information on how you are trying to connect? Are you trying to use THIN or OCI? What is the “Server location” you are providing?
For Oracle servers the “Server location” field contains the SID, servicename, and optionally the port: ‘/’, ‘:/’, ‘/’, or ‘:/’
I am just running the latest release of WhiteRabbit (5.16) using the WhiteRabbit.jar file, I am on a mac computer, so not sure how I can tell what is trying to use:
The server location looks like this:
my_server.uthsc.edu:1521/my_service_name.uthsc.edu
I have other connections that work, but this use SIDs not Service names and to connect to those, successfully using White Rabbit I do:
my_server.uthsc.edu:1521/my_SID
So my guess is just that I have to add something to the string to tell it that is a Service Name and not an SID, but I am not sure what.
I put in an issue about Oracle not handling the Service Name correctly. https://github.com/OHDSI/WhiteRabbit/issues/295. I did find that for, leaving off the service name allowed me to connect to the Oracle database.