<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue with Nuxeo 5.6 release database connectivity using connection url string in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/issue-with-nuxeo-5-6-release-database-connectivity-using/m-p/318444#M5445</link>
    <description>&lt;P&gt;I don't know that syntax but it will be used as it is by the JDBC driver. So if it's fine, then it'll work.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jul 2012 15:46:59 GMT</pubDate>
    <dc:creator>Julien_Carsique</dc:creator>
    <dc:date>2012-07-27T15:46:59Z</dc:date>
    <item>
      <title>Issue with Nuxeo 5.6 release database connectivity using connection url string</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/issue-with-nuxeo-5-6-release-database-connectivity-using/m-p/318442#M5443</link>
      <description>&lt;P&gt;Below issue is occuring for Nuxeo 5.6 Release Candidate&lt;/P&gt;
&lt;P&gt;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:&lt;/P&gt;
&lt;H1&gt;nuxeo.conf&lt;/H1&gt;
&lt;CODE&gt;
&lt;P&gt;nuxeo.db.user=RECM_VWA_OWNER&lt;BR /&gt;
nuxeo.db.password=RECM_VWA_OWNER&lt;BR /&gt;
nuxeo.db.jdbc.url=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CIT-ODB10-L01)(Port=1521))(CONNECT_DATA=(SERVICE_NAME=CSRCA)))&lt;BR /&gt;&lt;BR /&gt;
&lt;/P&gt;&lt;/CODE&gt;
and in default-repository-config we did the following change:&lt;BR /&gt;
&lt;CODE&gt;property name="URL"&amp;gt;${nuxeo.db.jdbc.url}/property&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;
but its not connecting to the configured oracle database and shows this exception in logs:&lt;BR /&gt;&lt;BR /&gt;
&lt;CODE&gt;
2012-07-26 14:10:21,261 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator] Configuration files generated.&lt;BR /&gt;
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&lt;BR /&gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;However if we specify database name and database host in &lt;CODE&gt;nuxeo.db.name&lt;/CODE&gt; and &lt;CODE&gt;nuxeo.db.host&lt;/CODE&gt;, it connects.&lt;/P&gt;
&lt;P&gt;In nuxeo 5.5 we were not having this issue.&lt;/P&gt;
&lt;P&gt;Please note that we have to use SERVICE NAME and not SID in JDBC URL&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 11:46:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/issue-with-nuxeo-5-6-release-database-connectivity-using/m-p/318442#M5443</guid>
      <dc:creator>SMAH_Haider</dc:creator>
      <dc:date>2012-07-26T11:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Nuxeo 5.6 release database connectivity using connection url string</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/issue-with-nuxeo-5-6-release-database-connectivity-using/m-p/318443#M5444</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Since 5.6, we introduced a database connection check in the Launcher before starting the server.&lt;BR /&gt;/&amp;gt;
That's managed by &lt;A href="https://github.com/nuxeo/nuxeo-runtime/blob/release-5.6-RC1/nuxeo-launcher-commons/src/main/java/org/nuxeo/launcher/config/ConfigurationGenerator.java#L1484"&gt;org.nuxeo.launcher.config.ConfigurationGenerator.checkDatabaseConnection(String, String, String, String, String, String)&lt;/A&gt;. For now, the test is using &lt;CODE&gt;nuxeo.db.jdbc.url&lt;/CODE&gt; parameter defined in &lt;CODE&gt;templates/databaseTemplate/nuxeo.defaults&lt;/CODE&gt; with &lt;CODE&gt;databaseTemplate&lt;/CODE&gt; corresponding to the chosen database, then it replaces the variables with values from &lt;CODE&gt;nuxeo.db.host&lt;/CODE&gt;, &lt;CODE&gt;nuxeo.db.port&lt;/CODE&gt; and &lt;CODE&gt;nuxeo.db.name&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jira.nuxeo.com/browse/NXP-9786"&gt;I filled a Jira NXP-9786&lt;/A&gt; for using the customized &lt;CODE&gt;nuxeo.db.jdbc.url&lt;/CODE&gt; if exists.&lt;/P&gt;
&lt;P&gt;Waiting for the fix, you can workaround that issue by setting &lt;CODE&gt;nuxeo.db.jdbc.url=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CIT-ODB10-L01)(Port=1521))(CONNECT_DATA=(SERVICE_NAME=CSRCA)))&lt;/CODE&gt; in &lt;CODE&gt;templates/oracle/nuxeo.defaults&lt;/CODE&gt; instead of &lt;CODE&gt;nuxeo.conf&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 14:28:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/issue-with-nuxeo-5-6-release-database-connectivity-using/m-p/318443#M5444</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-07-26T14:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Nuxeo 5.6 release database connectivity using connection url string</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/issue-with-nuxeo-5-6-release-database-connectivity-using/m-p/318444#M5445</link>
      <description>&lt;P&gt;I don't know that syntax but it will be used as it is by the JDBC driver. So if it's fine, then it'll work.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 15:46:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/issue-with-nuxeo-5-6-release-database-connectivity-using/m-p/318444#M5445</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-07-27T15:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Nuxeo 5.6 release database connectivity using connection url string</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/issue-with-nuxeo-5-6-release-database-connectivity-using/m-p/318445#M5446</link>
      <description>&lt;P&gt;Julien, the bug is back in Nuxeo 5.6&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2012 07:30:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/issue-with-nuxeo-5-6-release-database-connectivity-using/m-p/318445#M5446</guid>
      <dc:creator>SMAH_Haider</dc:creator>
      <dc:date>2012-09-14T07:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Nuxeo 5.6 release database connectivity using connection url string</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/issue-with-nuxeo-5-6-release-database-connectivity-using/m-p/318446#M5447</link>
      <description>&lt;P&gt;I moved your logs to pastebin, it's more readable.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2012 14:56:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/issue-with-nuxeo-5-6-release-database-connectivity-using/m-p/318446#M5447</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-09-14T14:56:44Z</dc:date>
    </item>
  </channel>
</rss>

