Below issue is occuring for Nuxeo 5.6 Release Candidate
We want to configure nuxeo database connectivity by specifying oracle database connection url string in nuxeo.db.jdbc.url instead nuxeo.db.host and nuxeo.db.name as shown in the nuxeo.conf file below:
nuxeo.conf
<p>nuxeo.db.user=RECM_VWA_OWNER<br>
nuxeo.db.password=RECM_VWA_OWNER<br>
nuxeo.db.jdbc.url=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CIT-ODB10-L01)(Port=1521))(CONNECT_DATA=(SERVICE_NAME=CSRCA)))<br><br>
</p>
and in default-repository-config we did the following change:
property name="URL">${nuxeo.db.jdbc.url}/property>
but its not connecting to the configured oracle database and shows this exception in logs:
2012-07-26 14:10:21,261 INFO [org.nuxeo.launcher.config.ConfigurationGenerator] Configuration files generated.<br>
2012-07-26 14:10:21,392 ERROR [org.nuxeo.launcher.config.ConfigurationGenerator] java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor<br><br>
However if we specify database name and database host in nuxeo.db.name and nuxeo.db.host, it connects.
In nuxeo 5.5 we were not having this issue.
Please note that we have to use SERVICE NAME and not SID in JDBC URL