12-09-2013 05:53 AM
Hello.
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:
[http-bio-0.0.0.0-8080-exec-1] [org.nuxeo.wizard.RouterServlet] java.sql.SQLException: I/O Error: DB server closed connection.
It works on a local instance but not on an Azure instance. Here the wizard conf:
Database Type: MS SQL Server Database Name: MyDatabase Database user: user@myAzureSqlInstance Database Server host name: myAzureSqlInstance.database.windows.net Database server port: 1433
The port is openned.
12-09-2013 11:54 AM
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
12-10-2013 10:48 AM
First, for Azure the Microsoft JDBC driver (sqljdbc4.jar) should be used as the open source jTDS driver can't manage to authenticate with Azure.
The tables user2group (and maybe group2group if you use groups of groups) are indeed created without clustered indexes. You may want to recreate them with the proper clustered index:
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];
12-10-2013 11:18 AM
I don't know, I would need to see more detailed logs. But don't post them here but on a site like pastebin.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.