You must be deploying to WebSphere® Portal server 5.1.
- Deploy the SAP JCA adapter in the WebSphere Portal.
- Ensure that the WebSphere Portal server's Administration
Server service is running.
- Start the WebSphere Portal Administrator's Console.
- Click Resources in the navigation tree.
- Click Resource Adapters.
- In the console workspace area, click Install RAR.
- Specify the path and the file name of the RAR file by doing
one of the following steps:
- Entering the path and file name of wpai.sap.rar which
is located in <wps_root>/installableConnectors, where <wps_root> is
the installation directory of WebSphere Portal.
- Clicking Browse to locate the local file.
- Select the node where you want to deploy the resource adapter.
Click Next.
- Enter a name for the resource adapter. To make the resource
adapter work with the WPAI mediators correctly the name of the resource adapter
must be the same as the EIS type, namely "SAP". Click OK.
- Save the configuration changes.
- Define a connection factory for the SAP JCA adapter.
- Click on Resource Adapters in the navigation tree.
- Click on the resource adapter you just deployed in Step 4. For
example, SAP.
- Under Additional Properties, click J2C Connection
Factories; then click New. There must be exactly one
J2C connection factory created for each connection used to connect to the
SAP server.
- Enter the following information:
- A name for the connection factory, such as SAP Connection Factory.
The name for the connection factory must be the same as the connection name
which was defined in the SAP wizard.
- The JNDI binding path. The convention for this value is eis/SAP/, which
is based on the connection name defined by the SAP wizard. The name is comprised
of the prefix "eis/SAP/" and the connection name, such as eis/SAP/mySAPConnection1.
If
the JNDI binding path names do not follow the naming convention, they must
be mapped to the internal JNDI names used by the SAP portlets. For additional
information on mapping resource references for web applications please refer
to the topic adding resource manager connection factory references.
- Click OK; then click on the connection factory you just
created.
- Under Additional Properties, click Custom Properties.
- Specify the properties for the SAP system you want to connect
to by selecting the property from the list and entering a value in the entry
field:
- hostName: The host name of the SAP server to which you want to
connect (For example, mysap.mycompany.com). The Type is java.lang.String
- clientNumber: Enter the SAP client number. The Type is java.lang.String
- systemNumber: Enter the SAP system number. The Type is java.lang.String
- language: Enter the two letter country code. The default value
is EN for English. The Type is java.lang.String.
- traceLevel: Enter the trace level (valid values are 0, 1, 2, 3).
The default value is 1. The Type is java.lang.Integer
- Click OK.
- Restart the WebSphere Portal server.