<?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: Connection with SQL Server Azure in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325478#M12479</link>
    <description>&lt;P&gt;Which Nuxeo version are you using? For a number of configurations you must use the Microsoft JDBC driver instead of the provided open source one. See [NXP-10234](https&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2013 16:54:49 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2013-12-09T16:54:49Z</dc:date>
    <item>
      <title>Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325477#M12478</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;We're trying to connect Nuxeo to a SQL Server Azure instance with the wizard configuration interface.The instance is OK and we have a private client connected to it. But Nuxeo failed to connect to that SQL instance. Here the exception in logs:&lt;/P&gt;
&lt;P&gt;[http-bio-0.0.0.0-8080-exec-1] [org.nuxeo.wizard.RouterServlet] java.sql.SQLException: I/O Error: DB server closed connection.&lt;/P&gt;
&lt;P&gt;It works on a local instance but not on an Azure instance. Here the wizard conf:&lt;/P&gt;
&lt;P&gt;Database Type: MS SQL Server
Database Name: MyDatabase
Database user: user@myAzureSqlInstance
Database Server host name: myAzureSqlInstance.database.windows.net
Database server port: 1433&lt;/P&gt;
&lt;P&gt;The port is openned.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 10:53:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325477#M12478</guid>
      <dc:creator>AxelF_</dc:creator>
      <dc:date>2013-12-09T10:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325478#M12479</link>
      <description>&lt;P&gt;Which Nuxeo version are you using? For a number of configurations you must use the Microsoft JDBC driver instead of the provided open source one. See [NXP-10234](https&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 16:54:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325478#M12479</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-12-09T16:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325479#M12480</link>
      <description>&lt;P&gt;Ok we changed the connection string and we are using JDBC instead of JTDS driver. Now we have another problem&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 10:13:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325479#M12480</guid>
      <dc:creator>AxelF_</dc:creator>
      <dc:date>2013-12-10T10:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325480#M12481</link>
      <description>&lt;P&gt;Ok we managed to make it work. As said before, we changed for the JDBC Driver, and set encrypt parameter in the connection string to false.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 12:35:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325480#M12481</guid>
      <dc:creator>AxelF_</dc:creator>
      <dc:date>2013-12-10T12:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325481#M12482</link>
      <description>&lt;P&gt;First, for Azure the Microsoft JDBC driver (&lt;CODE&gt;sqljdbc4.jar&lt;/CODE&gt;) should be used as the open source jTDS driver can't manage to authenticate with Azure.&lt;/P&gt;
&lt;P&gt;The tables &lt;CODE&gt;user2group&lt;/CODE&gt; (and maybe &lt;CODE&gt;group2group&lt;/CODE&gt; if you use groups of groups) are indeed created without clustered indexes. You may want to recreate them with the proper clustered index:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;DROP INDEX [groupid_idx] ON [user2group];
DROP INDEX [parentgroupid_idx] ON [group2group];
CREATE CLUSTERED INDEX [groupid_idx] ON [user2group];
CREATE CLUSTERED INDEX [parentgroupid_idx] ON [group2group];
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Dec 2013 15:48:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325481#M12482</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-12-10T15:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325482#M12483</link>
      <description>&lt;P&gt;ok actually i have something like 30-40 exceptions... ie&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 15:49:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325482#M12483</guid>
      <dc:creator>AxelF_</dc:creator>
      <dc:date>2013-12-10T15:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325483#M12484</link>
      <description>&lt;P&gt;I don't know, I would need to see more detailed logs. But don't post them here but on a site like pastebin.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 16:18:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325483#M12484</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-12-10T16:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325484#M12485</link>
      <description>&lt;P&gt;Here the logs when attempting to logging in&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 09:23:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325484#M12485</guid>
      <dc:creator>AxelF_</dc:creator>
      <dc:date>2013-12-11T09:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325485#M12486</link>
      <description>&lt;P&gt;I tried to restart the server with a clean database. Here are the whole logs&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 10:03:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325485#M12486</guid>
      <dc:creator>AxelF_</dc:creator>
      <dc:date>2013-12-11T10:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325486#M12487</link>
      <description>&lt;P&gt;Ok. Each time the server is starting after several minutes it says&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 13:50:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325486#M12487</guid>
      <dc:creator>AxelF_</dc:creator>
      <dc:date>2013-12-12T13:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325487#M12488</link>
      <description>&lt;P&gt;Ok we managed solve some exceptions. But the "starting process is taking to long" is still here. And when we're trying to logging in&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 14:44:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325487#M12488</guid>
      <dc:creator>AxelF_</dc:creator>
      <dc:date>2013-12-12T14:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325488#M12489</link>
      <description>&lt;P&gt;It's happening in the Jena code (used for relations on old Nuxeo versions and still checked for compatibility reasons in recent versions) so the tables must be some of the &lt;CODE&gt;JENA_*&lt;/CODE&gt; tables.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 16:13:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325488#M12489</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-12-12T16:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325489#M12490</link>
      <description>&lt;P&gt;The problem could be that I don't have any table containing JENA in table_name. There are 153 tables.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2013 09:48:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325489#M12490</guid>
      <dc:creator>AxelF_</dc:creator>
      <dc:date>2013-12-13T09:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Connection with SQL Server Azure</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325490#M12491</link>
      <description>&lt;P&gt;We're still stucked with this Azure SQL database problem. We can't get it...&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2013 10:57:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/connection-with-sql-server-azure/m-p/325490#M12491</guid>
      <dc:creator>AxelF_</dc:creator>
      <dc:date>2013-12-18T10:57:07Z</dc:date>
    </item>
  </channel>
</rss>

