Application Server 2 must not be running when you install J2EE Policy Agent 2.
You must stop both the Application Server 2 instance and the administration server before installing J2EE Policy Agent 2.
# cd /usr/local/bea/user_projects/domains/ProtectedResource-2/bin/ # ./stopManagedWebLogic.sh ApplicationServer-2 t3://localhost:7001 # cd /usr/local/bea/user_projects/domains/ProtectedResource-2/bin # ./stopWebLogic.sh |
Unpack the J2EE Policy Agent bits.
cd /opt # /usr/sfw/bin/gtar -xvf /export/software/SJS_Weblogic_9_agent_2.2.tar # gunzip ../SJS_Weblogic_9_agent_2.2.tar.gz # /usr/sfw/bin/gtar -xvf ../SJS_Weblogic_9_agent_2.2.tar |
Start the J2EE Policy Agent installer.
# cd /opt/j2ee_agents/am_wl9_agent/bin # ./agentadmin --install
When prompted, provide the following information:
|
Press Enter to continue. Continue to press Enter until you reach the end of the License Agreement. |
||
|
Enter
. |
||
|
Enter ApplicationServer-2. |
||
|
Enter LoadBalancer-3.example.com. |
||
|
Enter 90. |
||
|
Enter http. |
||
|
Accept the default value. |
||
|
ProtectedResource-2.example.com |
||
|
Enter /usr/loca/bea/weblogic91. |
||
|
Enter 1081. |
||
|
Accept the default value. |
||
|
Accept the default value. |
||
|
Accept the default value. |
||
|
Enter j2eeagent-1. |
||
|
Enter
. |
||
|
Accept the default value. |
||
|
Accept the default value. |
Check the installation log to make sure there are no problems reported.