Creating a Custom SAP Connection Pool from a Template

Modify existing connection pool properties in a templated ANT script to suit the requirements for your SAP deployment.

For information on ANT, see http://ant.apache.org/.

Production versions of Unwired Servers must use the ANT scripts to create these pools. Only development versions can use the Deployment wizard to create the pools developers need.

  1. Copy the ANT script used to create endpoints in Unwired Server:
    1. Locate sap-data-sources.xml in <UnwiredPlatform_InstallDir>\servers\UnwiredServer\config\.
    2. Rename the file to my-sap-data-sources.xml.
  2. Change dataSource=EndpointName to a unique name. If you do not change the name, you could inadvertently overwrite a datasouce already being used by Unwired Platform.
  3. Change properties for the renamed endpoint, so that values define the name, location, authentication credentials.
  4. Save these changes.
  5. Run the configure command from the UnwiredPlatform-install-directory\servers\UnwiredServer\bin\ directory. Use the name of your ANT script as the sole argument. For example:

    configure my-sap-data-sources.xml

  6. If you have changed an existing endpoint definition, restart the Unwired Server for the changes to take effect. Existing connections are not closed.
Related tasks
Preparing the Unwired Platform Environment for SAP Connections
Adding a New Connection Pool
Related reference
Sybase JCO Connection Pool Properties for SAP


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com