The tasks described in this section apply to all J2EE agent installations.
This procedure is not required. The agent profile is created and updated in Access Manager Console. The agent profile should originally be created prior to installing an agent. However, after you install a J2EE agent, you can update the agent profile at anytime. If you do update the agent profile in Access Manager Console, you must then configure the J2EE agent accordingly as described in this section.
Change the agent profile in Access Manager using Access Manager Console. For more information about the agent profile, see Creating a J2EE Agent Profile.
Change the password in the password file to match the new password you just created in Access Manager Console as a part of the agent profile.
The password file should originally have been created as a J2EE agent pre-installation task. For more information about pre-installation, see Preparing to Install Agent for JBoss Application Server 4.0.
In the command line, issue the agentadmin --encrypt command to encrypt the new password.
For more information on this command, see agentadmin --encrypt.
Access the J2EE agent AMAgent.properties configuration file at the following location:
In this configuration file, edit the property for the agent ID to match the new ID in the agent profile as follows:
com.sun.identity.agents.app.username = agentID
where agentID represents the new agent ID that you created for the agent profile in Access Manager Console.
Edit the property for the agent password as follows:
com.iplanet.am.service.secret = encryptedPassword
where encryptedPassword represents the new encrypted password you created when you issued the agentadmin --encrypt command.
Restart the J2EE agent container.
The container needs to be restarted because neither property that you edited in this task is hot-swap enabled.