SAP JRA Configuration: Procedure
Procedure
To configure the SAP JRA, proceed as follows:
-
Open NW Administrator in a browser window by entering the URL http://<Servername>:<Portname>.
-
Log on to the SAP NetWeaver Administrator.
-
Choose the SAP NetWeaver Administrator link.
-
On the upper menu bar, choose the and Application Resources links.
Server Configuration
The server functionality of the SAP Java Resource Adapter receives calls from an AS ABAP and forwards them to the Message Driven Beans that are registered for this JRA instance.
For the server configuration, proceed as follows:
-
In the Application Resources area upper selection field ("Show"), choose All Resource Adapters .
-
Select a suitable resource adapter. The SAPJavaResourceAdapter15 instance is always available.
-
Maintain the required values in the Properties area. The following values however must be maintained :
-
MaxReaderThreadCount =<Number of servers that can receive calls>
-
ProgramID =<Program ID as defined in transaction SM59>
-
GatewayServer = <Name of Gateway Server> (only required if the client was configured for Load Balancing or if dealing with an external (non-SAP) client).
-
-
Once you have made all the required settings, choose Save .
Client Configuration
Configuring Existing Connection Factory
Proceed as follows when configuring an existing Connection Factory :
-
In the upper selection field (" Show "), choose All Connection Factories .
-
Select a suitable Connection Factory ( eis/SAPJRAFactory is delivered as standard).
-
In the Configuration Properties area, define the required parameters for client calls.
-
SAPClient=XXX
-
UserName=<username>
-
Password=<password>
-
ServerName=<name of target machine>
-
PortNumber=XX
-
Once you have made all the required settings, choose Save .
Cloning the Connection Factory
If you want to create (clone) a new Connection Factory for another destination, follow the steps below:
-
Choose All JCA Resources in the Show <All Resources> selection menu.
-
Choose
Copy & Add New JCA Connection Factory.
-
Enter a JNDI name for your new Connection Factory , for example, system name 'BCE'.
-
Save your entries.
-
More Information
For detailed information on SAP JRA Programming, see:
-
SAP JRA Development Guidelines (EN)

