ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Configuring DEVTEST to use an External SQL Server Database (also with integratedSecurity)


Article ID: 209432


Updated On:


Service Virtualization


When upgrading to 10.6 or 10.7 version and trying to set up DEVTEST to use an External SQL Server Database (with integrated Security), what are the necessary steps you need to take?




Release: 10.6 and later

Component: CA Service Virtualization


Here is what you need to do to change your IAM or DEVTEST to use a SQL Server database instead of the Embedded database:

  1. Your DBA will have to create a new database without any tables for IAM and DevTest components ( ED and Registry)
  2. For 10.6 IAM, Create a new folder DEVTEST_HOME/IdentityAccessManager/database/drivers. Copy  sqljdbc4-4.0.jar from DEVTEST_HOME/lib/shared folder.  For 10.7, the jars are available in DEVTEST_HOME/IdentityAccessManager/database/drivers folder. 
  3. Update DEVTEST_HOME/IdentityAccessManager/ file to point to the jars.
  4. Add these lines to the file: (USER must have db_owner to create the tables) file 



 iam.db.jdbc.driver.path=${IAM_HOME}/database/drivers/sqljdbc4-4.0.jar  for 10.6

 iam.db.jdbc.driver.path=${IAM_HOME}/database/drivers/mssql-jdbc-8.2.0.jre8.jar  for 10.7


Note: If you are using Windows Integrated Security the URL should look like: jdbc:sqlserver://[HOSTNAME]:1433;integratedSecurity=true;databaseName=[DatabaseName].  


*** When using Integrated Security, do not comment out  'iam.db.password'  , just provide a dummy password 


5. For Enterprise Dashboard,  the jar file is available in DEVTEST_HOME/lib/dradis/sqljdbc4-4.0.jar folder or mssql-jdbc-8.2.0.jre8.jar (10.7). 

Here is an example of database details for the Enterprise Dashboard:  (
## ==================================================================================
## MS SQL Server using Windows Authentication
## ==================================================================================

6. For Registry, the jar file is available in DEVTEST_HOME/lib/Shared  sqljdbc4-4.0.jar or or mssql-jdbc-8.2.0.jre8.jar (10.7). 

Details for the Registry:  (

## ==================================================================================
## MS SQL Server using Windows Authentication
## ==================================================================================

The dll you use depends on the JVM you are running, 32-bit or 64-bit.  The dll needs to be copied to DEVTEST_HOME/jre/bin folder

For DevTest 10.6 do the below:
- Download sqljdbc_auth.dll from any Microsoft site. 
- Copy sqljdbc_auth.dll into the java library classpath:  (i.e. java.library.path = c:\program files\ca\devtest\jre\bin => Identified based on server.log)
For DevTest 10.7 do the below:
- Download mssql-jdbc-8.2.0.jre8.dll from any Microsoft site. 
- Copy mssql-jdbc-8.2.0.jre8.dll into the java library classpath:  (i.e. java.library.path = c:\program files\ca\devtest\jre\bin => Identified based on server.log)


7. Stop all DevTest components.
8. Delete all the log files in DEVTEST_HOME/IdentityAccessManager/standalone/log  and DEVTEST_HOME/lisatmp10.x folder
9. Start all DevTest components.
10. Login to IAM ,ED and Portal  to verify.  

Where DEVTEST_HOME is the home folder of where DevTest is installed.

If the variable ${IAM_HOME} is not recognized, replace it with the direct patch of DEVTEST_HOME, where sqljdbc4-4.0.jar/mssql-jdbc-8.2.0.jre8.jar are the SQL Server JDBC drivers we deliver with DevTest.

Additional Information

There is no version of the integrated authentication dll that will work from Linux. Currently integrated authentication is Windows only.  Will have to do Server Authentication only.