You will use Admin Console Resources -> Connectors -> Connector Connection Pools to add a new pool for sun-hl7-adapter.
If you have not already done so, start GlassFish and log in to Admin Console.
In the Common Tasks pane on the left, expand Resources -> Connectors -> Connector Connection Pools.
In the Connector Connection Pools pane, click the “New” button.
In step 1 of the wizard, supply the following information and then click Next.
Name: Supply a name for the HL7 pool, such as poolHL7.
Resource Adapter: Choose sun-hl7–adapter.
Connection Definition: Retain the default provided when you choose the adapter.
In step 2 of the wizard, retain or change the settings provided and then click Finish.
Result: The new pool appears in the tree. You can see it in the NetBeans IDE under Servers -> GlassFish V2 -> Resources -> Connectors -> Connector Connection Pools: