Sun Java System Access Manager 2005Q4 
Sample 
 

Main Page

REDEPLOY INSTRUCTIONS ON DIFFERENT CONTAINERS

  • This document explains how to redeploy amserver.war on different containers.

    Edit <PRODUCT_DIR>/bin/amsamplesilent file to set variable DEPLOY_LEVEL=21

    Redeploy on Sun(tm) Java System Webserver 6.1 :

    • Make sure the <PRODUCT_DIR>/bin/amsamplesilent has the following WebServer specific environment variables set :

      • SERVER_HOST=<server host>

      • SERVER_PORT=<server port>

      • SERVER_PROTOCOL=<http or https>

      • SERVER_DEPLOY_URI=<amserver deploy uri e.g /amserver>

      • WEB_CONTAINER=WS6

      • WS61_INSTANCE=https-$SERVER_HOST

      • WS61_HOME= <webserver home>

      • WS61_PROTOCOL=$SERVER_PROTOCOL

      • WS61_HOST=$SERVER_HOST

      • WS61_PORT=$SERVER_PORT

      • WS61_ADMINPORT=<container admin port>

      • WS61_ADMIN=<container admin user name>

      • If Webserver is SSL Enabled then set the following


        • WS61_IS_SECURE=true
        • SSL_PASSWORD=<ssl password>

    • Redeploy the “services” web application by running the command:                             
                         <PRODUCT_DIR>/bin/amconfig -s <PRODUCT_DIR>/bin/amsamplesilent

    • Restart webserver instance (e.g /<WS-home-dir>/https-<WS-instance-name>/restart

    Redeploy on Sun(tm) Java System Application Server 7.0:

    • Make sure the <PRODUCT_DIR>/bin/amsamplesilent has the following Application Server specific environment variables set :

      • SERVER_HOST=<application server host>

      • SERVER_PORT=<application server port>

      • SERVER_PROTOCOL=<http or https>

      • SERVER_DEPLOY_URI=<sever deploy uri eg. /amserver>

      • WEB_CONTAINER=AS7

      • AS70_HOME=/opt/SUNWappserver7

      • AS70_PROTOCOL=$SERVER_PROTOCOL

      • AS70_HOST=$SERVER_HOST

      • AS70_PORT=$SERVER_PORT

      • AS70_ADMINPORT=4848

      • AS70_ADMIN=admin

      • AS70_ADMINPASSWD=<admin password>

      • AS70_INSTANCE=server1

      • AS70_DOMAIN=domain1

      • AS70_INSTANCE_DIR=/var/opt/SUNWappserver7/domains/${AS70_DOMAIN:-domain1}/${AS70_INSTANCE:-server1}

      • AS70_DOCS_DIR=/var/opt/SUNWappserver7/domains/${AS70_DOMAIN:-domain1}/${AS70_INSTANCE:-server1}/docroot

      • if Application Server is SSL Enabled then set the following :

        • AS70_IS_SECURE=true
        • SSL_PASSWORD=<ssl password>
    • Redeploy the “services” web application by running the command:

      <PRODUCT_DIR>/bin/amconfig -s <PRODUCT_DIR>/bin/amsamplesilent

    • Restart Application Server Instance (e.g  /<var/opt/SUNWappserver7/domains/${AS70_DOMAIN:-domain1}/${AS70_INSTANCE:-server1}/bin/restartserv

    Redeploy on other supported platforms:

    • Make sure the <PRODUCT_DIR>/bin/amsamplesilent file platform specific variables set.
    • Redeploy the “services” web application by running the command:
                <PRODUCT_DIR>/bin/amconfig -s <PRODUCT_DIR>/bin/amsamplesilent
    • Restart the container.