skip to main content
Testing Your Application : Configuring DataDirect Test
 

Try DataDirect Cloud Now

Configuring DataDirect Test

The default DataDirect Test configuration file is:
install_dir/testforjdbc/Config.txt
where:
install_dir
is your product installation directory.
You can edit the DataDirect Test configuration file for your environment using a text editor. All parameters are configurable, but the most commonly configured parameters are listed here:
Drivers
is a list of colon-separated JDBC driver classes.
DefaultDriver
is com.ddtek.jdbcx.ddcloud.DDCloudDriver.
Databases
is a list of comma-separated JDBC URLs. The first item in the list appears as the default in the database selection window. You can use one of these URLs as a template when you make a JDBC connection.
InitialContextFactory
is com.sun.jndi.fscontext.RefFSContextFactory if you are using file system data sources, or com.sun.jndi.ldap.LdapCtxFactory if you are using LDAP.
ContextProviderURL
depends on whether you are using file system data sources or using LDAP. If you are using file system data sources, specify the location of the .bindings file. If you are using LDAP, specify your LDAP Provider URL.
Datasources
is a list of comma-separated JDBC data sources. The first item in the list appears as the default in the data source selection window.
To connect using a data source, DataDirect Test needs to access a JNDI data store to persist the data source information. By default, DataDirect Test is configured to use the JNDI File System Service Provider to persist the data source. To download the JNDI File System Service Provider, go to:
http://www.oracle.com/technetwork/java/javasebusiness/downloads/
java-archive-downloads-java-plat-419418.html#7110-jndi-1.2.1-oth-JPR
Make sure that the fscontext.jar and providerutil.jar files from the download are on your classpath.