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 05:13 AM
Ok we changed the connection string and we are using JDBC instead of JTDS driver. Now we have another problem
12-10-2013 07:35 AM
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.
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 10:49 AM
ok actually i have something like 30-40 exceptions... ie
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.
12-11-2013 04:23 AM
Here the logs when attempting to logging in
12-11-2013 05:03 AM
I tried to restart the server with a clean database. Here are the whole logs
12-12-2013 08:50 AM
Ok. Each time the server is starting after several minutes it says
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.