Configure Java 2 Connector connection factories
Perform these steps in the WAS administrative console:
Click Resources.
Click Resource Adapters.
Select a resource adapter under Resource Adapters.
Click J2C Connection Factories under Additional Properties.
Click New.
Specify General Properties.
Select the authentication preference.
Select aliases for component-managed authentication, container-managed authentication, or both. If none are available, or you want to define a different one, click Apply --> J2C Authentication Data Entries under Related Items.
Click J2C Auth Data Entries under Related Items.
Click New.
Specify General Properties.
Click OK.
Click OK.
Click the J2C connection factory you just created.
Under Additional Properties click Connection Pool.
Change any values desired by clicking the property name.
Click OK.
Click Custom Properties under Additional Properties.
Click any property name to change its value. Note that UserName and Password if present, are overridden by the component-managed authentication alias you specified in a previous step.
Click Save.