Designing with Sun JCA Adapters

ProcedureConfiguring Connector Pools for File Adapter

  1. To create an Outbound Connector Connection Pool for the File Adapter, navigate to the Application Server Admin Console at htt://localhost:4848.

  2. Select the Resources > Connectors > Connector Connection Pools tree node, and click New.

  3. Enter a name for the pool name, and select GRfileadapter as the Resource Adapter type.

    Resource Adapter type
  4. Click Next, and then Finish.

  5. Create an Outbound Connector Resource from the Resource Pool above. In the Admin Console, select Resources > Connectors > Connector Resources, and click New.

  6. Fill in the JNDI Name for the Resource, and select the name of the Resource Pool created previously, and click OK.

    Enter JNDI Name
  7. To configure the File outbound pool, navigate to the web-based configuration editor at htt://localhost:4848/Configurator.

  8. Select filepool from tree.

    Configure File Outbound Pool
  9. Modify the Output file name, Add EOL, Multiple records per file, Encoding, and Directory as required for your project.