+

Search Tips   |   Advanced Search

Data source (WAS V4) settings

Use this page to create a V4.0 style data source. This data source uses the WAS V4.0 connection manager architecture. All of your EJB1.x modules must use this data source. You can access this console page in one of two ways:

 

Configuration tab

Scope

Scope of the JDBC provider that encapsulates the driver implementation classes to support this data source. Only applications that are installed within this scope can use this data source.

Provider

Specify the JDBC provider that WAS uses for this data source.

The list shows all of the existing JDBC providers that are defined at the relevant scope. Select one from the list if you want to use an existing JDBC provider as Provider.

Create New Provider

Provides the option of configuring a new JDBC provider for the new data source.

Create New Provider is displayed only when you create, rather than edit, a data source.

Clicking Create New Provider causes the Create a new JDBC provider wizard to launch. Complete all of the wizard panels, then click Finish. The console now displays the Data sources (WebSphere Application Server V4) configuration page again, where you see the new JDBC provider name in the Provider field.

Name

Specify the display name for the resource.

For example, you can set this field to Test Data Source.

Data type String

JNDI Name

Specify the Java Naming and Directory Interface (JNDI) name.

Distributed computing environments often employ naming and directory services to obtain shared components and resources. Naming and directory services associate names with locations, services, information, and resources.

Naming services provide name-to-object mappings. Directory services provide information on objects and the search tools required to locate those objects.

There are many naming and directory service implementations, and the interfaces to them vary. JNDI provides a common interface that is used to access the various naming and directory services.

For example, you can use the name jdbc/markSection.

If you leave this field blank a JNDI name is generated from the name of the data source. For example, a data source name of markSection generates a JNDI name of jdbc/markSection.

After you set this value, save it, and restart the server, you can see this string when you run the dump name space tool.

Data type String

Description

Specify a text description for the resource.

Data type String

Category

Specify a category string used to to classify or group the resource.

Data type String

Database Name

Name of the database that this data source accesses.

For example, you can call the database SAMPLE.

Data type String

Default User ID

User name to use for connecting to the database.

For example, you can use the ID db2admin.

Data type String

Default Password

Password used for connecting to the database.

For example, you can use the password db2admin.

Data type String




 

Related concepts


JDBC providers
Data sources

 

Related tasks


Configure a data source using the console

 

Related Reference


Administrative console scope settings

 

Reference topic