This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 252
ThinDriver
Grant Gainey edited this page Dec 12, 2016
·
2 revisions
If you see any issues using the new OCI driver, there are a few things you need to do:
Edit /etc/rhn/rhn.conf and change:
hibernate.connection.driver_proto=jdbc:oracle:oci
to
hibernate.connection.driver_proto=jdbc:oracle:thin
If you are using the logdriver (Development only) then set it to Normal users ignore this:
hibernate.connection.driver_proto=jdbc:log:oracle.jdbc.driver.OracleDriver:oracle:thin
Edit /usr/share/rhn/search/classes/com/redhat/satellite/search/db/config.xml
and change:
<property name="JDBC.ConnectionURL" value="${search.connection.driver_proto}:@${db_name}"/>
to
<property name="JDBC.ConnectionURL" value="${search.connection.driver_proto}:@${db_host}:${db_port}:${db_name}"/>
Finally restart the Spacewalk services.
Do you want to contribute to this wiki? See page WikiContribute for more info.