Configure connection factories for resource adapters within applications

 

Procedure

  1. Click Applications.

  2. Click Install New Application.

  3. Browse to find the appropriate EAR file, which contains an RAR file.

  4. Click Next.

  5. Select resource ref mapping to a J2C Connection Factory, then click Next.

  6. After the application installs, click Applications.

  7. Select the application just installed.

  8. Click Connector Modules under Related Items.

  9. Select an RAR file name on the Connector Modules page.

  10. Click Resource Adapter under Additional Properties.

  11. Click J2C Connection Factories under Additional Properties.

  12. Click New.

  13. Specify General Properties.

  14. Select a Component-managed authentication alias if any application components with Application or Per connection factory authentication specified in the resource reference are going to be getting connections from this connection factory using the empty-argument getConnection() method. For resources supporting XA, one can optionally specify an Authentication alias for XA recovery. If a desired alias is not available, or you want to define a different one, click Apply > J2C Authentication Data Entries under Related Items.

    1. Click J2C Auth Data Entries under Related Items.

    2. Click New.

    3. Specify General Properties.

    4. Click OK.

  15. Click OK.

  16. Click the J2C connection factory you just created.

  17. Click Connection Pool under Additional Properties .

  18. Change any values desired by clicking on the property name.

  19. Click OK.

  20. Click Custom Properties under Additional Properties.

  21. 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.

  22. Click Save.


 

See Also


Resource adapter
Connection pooling
Security of lookups with component managed authentication

 

Related Tasks


Configuring new J2C connection factories using scripting

 

See Also


CMP Connection Factories collection
Connection pool settings
Custom properties collection
J2C Connection Factories collection