Using the Sun TCP/IP JCA Adapter

ProcedureTo Add a Connector Resource for the TCP/IP JCA Adapter

  1. If you have not already done so, start GlassFish and log in to Admin Console.

  2. In the Common Tasks pane on the left, expand Resources -> Connectors -> Connector Resources.

  3. In the Connector Resources pane on the right, click the “New” button.

  4. Supply the following information and then click OK.

    • JNDI Name: Supply a name, such as caps/poolTCPIP by which applications will reference the TCPIP pool.

    • Pool Name: Choose a connector connection pool for TCPIP, such as the one created in the previous procedure.

    • Description: Optionally, supply a meaningful description of this particular JNDI resource.

    Admin Console creating a new connector resource
for the TCP/IP JCA Adapter

    Result: The new resource appears in the tree. You will be able to see it in the NetBeans IDE under Servers -> GlassFish V2 -> Resources -> Connectors -> Connector Resources:

    NetBeans IDE tree showing new connector resource
for the TCP/IP JCA Adapter