we have deployed LRM on windows 2008 64 bit VM.
when starting the component, it does not appear to be connecting to the LRM (oracle) db (through jdbc).
using sqlplus command we have confirmed connectivity from the host to DB.
LRM logs show repeated attempts to connect via jdbc, every 10 minutes.
at the 1 AM point, we see failed messages suggesting it could not connect to ICON or LRM DBs.
LRM has ICON DAP and LRM DAP connections.
LRM DAP has lrm section, role=main
ICON DAP has lrm section, role=icon
CLASSPATH is defined within Environment Variables.
LRM/LCA restarts have been completed.
Is your windows firewall disabled? Because it can be selective on which applications can use network resources… That could be one of the possibilities why sqlplus was able to connect to the db, while java wasn’t
Try configure jdbc-url option under the lrm section in LRM DAP to your DBMS requirements
Section: lrm
Option: jdbc-url
Value: jdbc:oracle:thin:@//HostName:1521/LRM_Service_Name
yes this is what I have done
it has also been confirmed that the is a connection between lrm and the lrm db - but there is a failed process at the nightly schedule.
in the logs there is a jdbc connecting message, every 10 minutes,
I am starting to wonder if this is a db user permission issue
When you connected through SQL Plus, was it on the same machine as LRM is installed? Or was it a different machine? Same user as LRM to connect? Did you use TNS for that connection or specified the host/port/service manually?
Can you post how is your jdbc-url configured?
Can you post the contents of sqlnet.ora and tnslistener.ora files used by your database?
Can you post the contents of tnsnames.ora file of the machine you connected using SQL Plus?
Can you post the output of the following SQL statements?
SELECT name, value FROM v$parameter WHERE name = ‘sessions’;
SELECT PRIVILEGE
FROM sys.dba_sys_privs
WHERE grantee = ‘<LRM_DB_USER>’
UNION
SELECT PRIVILEGE
FROM dba_role_privs rp JOIN role_sys_privs rsp ON (rp.granted_role = rsp.role)
WHERE rp.grantee = ‘<LRM_DB_USER>’
ORDER BY 1;
Maybe those informations can give a better clue on what is happening…