Thanks Wilson for your valuable inputs. The issue has been resolved!
However customer says that it throws an exception "The driver is not configured for integrated security” sometimes.
Below is the update from the customer:
The only issue now is that once I have made a successful connection, if I then try to connect again I get the error “The driver is not configured for integrated security” which is strange as it worked just 20 seconds ago. If I close eclipse and start it up again it works. Is there some kind of timeout error, or anything else that would limit the connection?
Could you please advice on this.
Steps followed by Customer to resolve the issue
Downloaded the sqljdbc_4.1.5605.100_enu.exe from
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774 and ran the executable.
Extracted the file to the root of C:
That gives the following path: C:\sqljdbc_4.1\enu
Added sqljdbc4.jar from that directory into Eclipse (Windows – Preferences – Avaya Aura – Orchestration Designer – Database
Checked my Java version. Mine was installed in C:\Program Files (x86) so I know it’s a 32bit version
Added the path C:\sqljdbc_4.1\enu\auth\x86 to the Path variable (My Computer – Properties – Advanced – Environment variables)
Reboot! (this is important as the Path change won’t take effect until after a reboot)
On the SQL Server, check the port it is listening on. Open SQL Server Configuration Manager, expand the databases, find the one you want to connect to, double click the TCP/IP string, IP Addresses, TCP Port. Mine was set to 1416.
In My application, created the Database connection string (Project – Properties, Orchestration Designer – Pluggable Connectors – Database)
Driver Class Name: com.microsoft.sqlserver.jdbc.SQLServerDriver
Connection URL: jdbc:sqlserver://”servername”:1416;integratedSecurity=true;
Username: DOMAIN\user_name
Password: Password
Thanks,
Sandeep.