Deployment Example: SAML v2 Using Sun OpenSSO Enterprise 8.0

ProcedureTo Deploy the OpenSSO Enterprise WAR File as OpenSSO Enterprise 2

Before You Begin

This procedure assumes you have just completed To Copy the OpenSSO Enterprise WAR to the OpenSSO Enterprise 2 Host Machine and are still logged into the osso2.sp-example.com host machine

  1. On the osso2.sp-example.com host machine, switch to the non-root user osso80adm.


    # /bin/su osso80adm
    
  2. Start the ossodomain domain.


    # cd /export/osso8/domains/ossodomain/bin
    # ./startserv
    
    admin username:domain2adm
    
    admin password:domain2pwd
    
    master password:domain2master
    
    Redirecting output to /export/osso80adm/domains/ossodomain/logs/server.log
  3. Run asadmin deploy to deploy the OpenSSO Enterprise WAR file.


    # cd /opt/SUNWappserver91/bin
    # ./asadmin deploy --user domain2adm --host osso2.sp-example.com 
    --port=8989 --contextroot opensso --name opensso --target server 
    /export/osso80adm/opensso.war
    
    Please enter the admin password> domain2pwd
    
    Command deploy executed successfully.
  4. List the contents of the j2ee-modules directory to verify that the WAR file was successfully deployed.


    # cd /export/osso80adm/domains/ossodomain/applications/j2ee-modules
    # ls -al
    
    total 6
    drwxr-xr-x   3 osso80adm staff      512 Sep 5 14:01 .
    drwxr-xr-x   6 osso80adm staff      512 Sep 5 14:55 ..
    drwxr-xr-x  21 osso80adm staff     1024 Sep 5 14:01 opensso
    

    opensso exists in the directory and is owned by the non-root user osso80adm.

  5. Log out of the osso2.sp-example.com host machine.