Perform the tasks in this section if you are configuring Agent for SAP Portal 6.0/Server 6.40 on SAP Web Application Server 6.40. This section includes a variety of short configuration tasks that are required for the agent to work on this specific deployment container. Complete all the tasks described in this section before performing the applicable tasks described in Conditional Post-Installation Steps for J2EE Agents in Policy Agent 2.2.
This is one of the post-installation tasks required when Agent for SAP Portal 6.0/Server 6.40 has been installed on SAP Web Application Server 6.40.
The following file is the Software Delivery Archive for this agent: AMSAPAgent2.2.sda.
For this task, you must provide the full path name to this Software Delivery Archive, as such:
PolicyAgent-base/etc/AmSAPAgent2.2.sda
Therefore, locate this file and record the full path name for use as part of the task.
(Conditional) If the SAP Web Application Server 6.40 is not running, start it now.
Start the Software Deployment Manager (SDM) Remote GUI.
The following example provides the path to the SDM Remote GUI on UNIX systems:
/usr/sap/SID/instanceName/SDM/program/RemoteGui.sh
represents the SAP system ID.
represents the SAP Web Application Server 6.40 instance.
Log in to the GUI.
Select the Deployment tab.
Add the full path name to the following file:
PolicyAgent-base/etc/AmSAPAgent2.2.sda
Click the icon of the clipboard with the plus sign.
Click Next until you reach the deployment Start button.
Click Start.
(Conditional) If using the agent with Access Manager 6.3, configure the appropriate library.
This step is similar to the steps required for the general configuration of the agent for Access Manager 6.3. For more information, see To Configure a J2EE Agent With Access Manager 6.3.
By default, the AmSAPAgent2.2.library library is configured specifically for Access Manager 7. To use the agent with Access Manager 6.3, perform the following substeps.
Stop the J2EE Engine.
Change to the following directory:
/usr/sap/SID/instanceName/j2ee/cluster/server0/bin/ext/AmSAPAgent2.2 |
represents the SAP system ID.
represents the SAP Web Application Server 6.40 instance.
Create a backup copy of the Access Manager 7 amclientsdk.jar file, giving the copy a name such as amclientsdk70.jar
Copy the amclientsdk63.jar file to the same directory, which is as follows:
/usr/sap/SID/instanceName/j2ee/cluster/server0/bin/ext/AmSAPAgent2.2 |
The following is the full path to the amclientsdk63.jar file:
PolicyAgent-base/etc/amclientsdk63.jar
Restart the J2EE engine.
This is one of the post-installation tasks required when Agent for SAP Portal 6.0/Server 6.40 has been installed on SAP Web Application Server 6.40.
Start the J2EE engine deploy tool by issuing the following command:
/usr/sap/SID/instanceName/j2ee.deploying/DeployTool
represents the SAP system ID.
represents the SAP Web Application Server 6.40 instance.
Create a subdirectory for the agent application in DeployContainer-base. In this scenario, DeployContainer-base represents the directory within which the SAP Web Application Server 6.40 instance was installed. Creating a subdirectory ensures that no other directories are affected by the agent application. If you undeploy the agentapp.war file without creating this subdirectory, DeployTool removes other critical content in the DeployContainer-base directory.
Create a new project.
Load the agentapp.war file using the following full path name:
PolicyAgent-base/etc/agentapp.war
This is one of the post-installation tasks required when Agent for SAP Portal 6.0/Server 6.40 has been installed on SAP Web Application Server 6.40.
This task description explains how to add a library reference from the sap.com/irj application to the newly deployed AmSAPAgent2.2 library.
Use the command line for this task.
Telnet to the J2EE telnet port by issuing a command such as the following:
$ telnet j2ee-engine-host instance-port
represents the machine that hosts the SAP Web Application Server 6.40 instance.
represents the port number of the SAP Web Application Server 6.40 instance.
The following example demonstrates the format of the telnet command to issue:
telnet saphost.example.com 50008 |
After you issue a command similar to the preceding command, a message such as the following appears:
Telnet Administration [SAP J2EE Engine] Login: Password:
Log in using Administrator as the user and the corresponding Administrator password.
Issue the following command:
$ jump 0
A message such as the following appears:
You jumped on node 56457550
Issue the following command:
$ add deploy
Issue the following command:
$ CHANGE_REF -m sap.com/app-context library:AmSAPAgent2.2
The following message appears:
The reference between application sap.com/irj and library:AmSAPAgent2.2 was made!
This is one of the post-installation tasks required when Agent for SAP Portal 6.0/Server 6.40 has been installed on SAP Web Application Server 6.40.
This task description explains how to add the new login module to the J2EE engine list of login modules.
(Conditional) If the SAP Web Application Server 6.40 is not running, start it now.
Start the Visual Administration tool.
The following example provides the path to the Visual Administration tool on UNIX systems:
/usr/sap/SID/instanceName/j2ee/admin/go
represents the SAP system ID.
represents the SAP Web Application Server 6.40 instance.
Log in to the Visual Administration tool.
Select the Security Provider service.
Select the User Management tab.
Click Manage Security Stores.
Click Add Login Module.
A dialog box appears.
Click OK.
In the Class Name text field, enter the following:
com.sun.identity.agents.sap.v640.AmSAPWASLoginModule
In the Display Name text field, enter the following:
AmSAPWASLoginModule
This is one of the post-installation tasks required when Agent for SAP Portal 6.0/Server 6.40 has been installed on SAP Web Application Server 6.40.
This task description explains how to use the new login module that you just added to the J2EE engine list of login modules.
If necessary, start and log in to the Visual Administration tool as detailed in the preceding task description.
Select the Security Provider service.
Select the User Management tab.
In the Components list, select the application you want to configure.
In the right pane, remove BasicPasswordLoginModule.
Ensure that no other authentication template is being used at this point.
Click Add New.
From the list of modules, select AmSAPWASLoginModule.
Save the configuration.
This is one of the post-installation tasks required when Agent for SAP Portal 6.0/Server 6.40 has been installed on SAP Web Application Server 6.40.
This task description explains how to add a library reference from the sap.com/agentapp application to the newly deployed AmSAPAgent2.2 library.
Use the command line for this task.
Telnet to the J2EE telnet port by issuing a command such as the following:
$ telnet j2ee-engine-host instance-port
represents the machine that hosts the SAP Web Application Server 6.40 instance.
represents the port number of the SAP Web Application Server 6.40 instance.
The following example demonstrates the format of the telnet command to issue:
telnet saphost.example.com 50008 |
After you issue a command similar to the preceding command, a message such as the following appears:
Telnet Administration [SAP J2EE Engine] Login: Password:
Log in using Administrator as the user and the corresponding Administrator password.
Issue the following command:
$ jump 0
A message such as the following appears:
You jumped on node 56457550
Issue the following command:
$ add deploy
Issue the following command:
$ CHANGE_REF -m sap.com/agentapp library:AmSAPAgent2.2
The following message appears:
The reference between application sap.com/agentapp and library:AmSAPAgent2.2 was made!
Stop and start the SAP Enterprise Portal 6.0 instance.