Eric wrote:
% url                  = jdbc:oracle:thin:@racdev.local:1521:rhnsat  
<============================= hibernate.connection.url
...
% However in /etc/rhn/rhn.conf I have:
...
%     hibernate.connection.url=jdbc:oracle:thin:@racdev..local:1521:rhnsat

I assume racdev.local is tnsname not server hostname.
Then you have to copy full connect string (silly jdbc thin driver) from
/etc/tnsnames.ora to rhn.conf; should looks like

hibernate.connection.url=jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST = 
(ADDRESS = (PROTOCOL = TCP)(HOST = db-server.example.com)(PORT = 1521))) 
(CONNECT_DATA = (SID = ora11g)))

Make sure it's all in one line.

% Thank in advance,
% 
% -Eric

Regards,

--
Michael Mráka
Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to