Sun Java Enterprise System 5 Installation Guide for Microsoft Windows

Application Server Postinstallation Configuration

After a Configure automatically during installation operation, Application Server requires no postinstallation configuration but you need to configure Application Server load balancing plug-in after Configure automatically during installation and Configure manually after installation operations.

ProcedureTo Configure Application Server After a Configure Manually After Installation Operation

  1. Locate the accessory DVD for Application Server.

    Accessory contents can also be downloaded from the Sun Download Center at http://www.sun.com/download/index.jsp.

  2. Refer to the README file in the Addon folder on the DVD and follow the procedures detailed there.

  3. Modify the ApplicationServer-base\samples\common.properties file.

    Modify the following properties in the common.properties file. If you do not know the paths for some properties, you can copy them from the ApplicationServer-base \config\asenv.conf file.

    • com.sun.aas.derbyRoot=JavaDB-base

    • com.sun.aas.webServicesLib=ApplicationServer-base/lib

    • com.sun.aas.imqHome=ApplicationServer-base/domains/domain1/imq

    • com.sun.aas.imqBinDir=MessageQueue-base/bin

    • com.sun.aas.imqUserMgr=MessageQueue-base/bin/imqusermgr

    • com.sun.aas.imqLib=MessageQueue-base/lib

    • com.sun.aas.installRoot=ApplicationServer-base

    • com.sun.aas.javaRoot=J2SE-base

    • com.sun.aas.domains.dir=ApplicationServer-base/domains

    • #admin.password=

      The admin password is not saved as the default. You can type the password and save it manually.

    • admin.host=jws-v210-4

    • appserver.instance=server

      By default the value of appserver.instance is AppServer1. Replace AppServer1 with server. For more information, see bug id 6485254.

    • appserver.instance.port=8080

    • admin.user=admin

    • admin.port=4849

    • derby.port=1527

    • domain.name=domain1

    • server.cert.alias=s1as

    • keystore=${com.sun.aas.domains.dir}/${domain.name}/config/keystore.jks

    • keystore.password=changeit

    • trustStore=${com.sun.aas.domains.dir}/${domain.name}/config/cacerts.jks


    Note –

    To configure Application Server for load balancing, refer to the “Configuring Web Servers for HTTP Load Balancing” section in the Chapter 5, Configuring HTTP Load Balancing, in Sun Java System Application Server Enterprise Edition 8.2 High Availability Administration Guide.


ProcedureTo Configure Application Server Load Balancing Plug-in

  1. Set value of IS_LB to true and Cfgr_LB to false in the registry.

    Windows 2000

    HKEY_LOCAL_MACHINE > Software > Sun Microsystems > EntSys5 > Installer > Application Server

    Windows 2003 x64 edition

    HKEY_LOCAL_MACHINE > Software > Wow6432node > Sun Microsystems > EntSys5 > Installer > Application Server

  2. Edit the ApplicationServer-base\setup\ASConfigurator.properties file.

    Set the value for AS_WSINSTANCEDIR and AS_WSINSTANCENAME properties. For example, type:

    AS_WSINSTANCEDIR=C:\\Sun\\JavaES5\\WebServer7\\https-jws-winpc-1.red.iplanet.com

    AS_WSINSTANCENAME=https-jws-winpc-1.red.iplanet.com

  3. Run the ApplicationServer-base\setup\ASConfigure.bat command.