As a root user, log into the Protected Resource 3 host.
Go to the following directory:
/export/j2ee_agents/am_as81_agent/sampleapp/dist |
Run the deploy command:
//opt/SUNWappserver/appserver/bin/asadmin deploy --host localhost --port 4849 --user admin --password 11111111 --contextroot /agentsample --name agentsample agentsample.ear Command deploy executed successfully. |
Restart Application Server 3.
# cd /opt/SUNWappserver/appserver/bin # ./asadmin stop-domain Domain domain1 stopped. # ./asadmin start-domain --user admin --password 11111111 Domain domain1 started. |