+

Search Tips   |   Advanced Search

Data source (WAS V4) settings


To create a V4.0 style data source. This data source uses the WAS V4.0 connection manager architecture. All of the EJB1.x modules must use this data source.

We can access this admin console page in one of two ways:

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

JDBC provider that WAS uses for this data source.

The list shows all of the existing JDBC providers defined at the relevant scope. Select one from the list 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 creating, 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 admin console now displays the Data sources (WAS V4) configuration page again, where you see the new JDBC provider name in the Provider field.

Name

Display name for the resource.

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

Data type String

JNDI name

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 used to access the various naming and directory services.

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

If we 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, we can see this string when you run the dump name space tool.

Data type String

Description

Specifies a text description for the resource.

Data type String

Category

Category string that we can use to classify or group the resource.

Data type String

Database name

Name of the database that this data source accesses.

For example, we can call the database SAMPLE.

Data type String

Default user ID

User name to use for connecting to the database.

For example, we can use the ID db2admin.

Data type String

Default password

used for connecting to the database.

For example, we can use the password db2admin.

Data type String





Related concepts


JDBC providers
Data sources

 

Related tasks


Set a data source

 

Related


Administrative console scope settings