Deployment Example 2: Federation Using SAML v2

ProcedureTo Deploy the Sample Agent Application on Application Server 3

  1. As a root user, log into the Protected Resource 3 host.

  2. Go to the following directory:


    /export/j2ee_agents/am_as81_agent/sampleapp/dist
  3. 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.
  4. 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.