Configuring Database Connection
Using a Data Source
This is the recommended method of connecting to the database if you are using a WebSphere or WebLogic application server. If you are using a Tomcat application server, see Using an EclipseLink Connection Pool.
Once the data source is set up, you only need to know the name of the data source in order to deploy TeamConnect, rather than all of the database connection parameters.
To use a data source as your method of database connection for TeamConnect, you must first configure a JDBC data source in your application server. For details about how to configure a data source, consult your application server documentation, and see driver information in Application and Web Servers.
The following table provides the recommended settings for configuring your data source in WebLogic. For WebSphere settings, see the WebSphere Data Source Configuration Settings table.
WebLogic Data Source Configuration Settings
Setting |
Recommended values |
---|---|
Database Driver |
See driver information in Application and Web Servers. |
Data source name |
The data source name defaults to TeamConnect. |
JNDI name |
where
|
The following table provides the recommended settings for configuring your data source in WebSphere.
WebSphere Data Source Configuration Settings
Setting |
Recommended values |
---|---|
Database Driver |
See driver information in Application and Web Servers. |
Data source name |
The data source name defaults to TeamConnect. |
Using an EclipseLink Connection Pool
Connection pools can be used with Tomcat application servers. You can use EclipseLink's internal connection pool to connect TeamConnect directly to the database. When using this method, you must know your database connection parameters and write them on your Installer Form. The Installer, which runs prior to deployment, places those parameters into the TeamConnect properties file. You must ensure that your database server's configuration matches the parameters that were entered into the Installer earlier.
Depending on your database server, you must also put a JDBC driver file in the /lib directory for Tomcat. See Application and Web Servers for driver information.
After you have configured the database connection, the TeamConnect application is ready to be installed on an application server by using the administrative console.