November, 2002

Steps to build and deploy EAServer SPECjAppServer2001 EAR.
**********************************************************

1. Copy build.xml to SPECjAppServer2001 install directory ($SPEC).

2. Setup your path to include ant.bat in $SPEC/ant/bin directory. 

3. Copy all DTD files from FDA's deploy/eas directory to $SPEC/src/deploy/eas 
   directory.

4. Edit $SPEC/bin/appserver file and change it to "eas."

5. Copy eas.env included in this fda archive (config directory) to the 
   $SPEC/config directory. Please make appropriate changes to various
   variables.

6. Go to $SPEC directory.

7. Type "ant" and enter
   This will build SPECjAppServer2001 EAR (without recompiling any code).

8. To build the load driver, you can do "ant load". 

9. In $SPEC/jars directory, you will find two ears

       SPECjAppServer.ear
       Emulator.ear

10. Change directory to your EAServer installtion ($JAGUAR).

11. Goto $JAGUAR/bin and enter following command (for windows).

    start serverstart.bat  -jvmtype server -jdk14 

    Assumption: Your EAServer installation is complete and you have 
    required license. 

12. From $JAGUAR/bin directory, start Jaguar Manager GUI.
    
    start jagmgr.bat

13. Connect to Jaguar Server and then click on applications folder.
    Right-click application and choose deploy->J2EE EAR. On next window
    unselect "Use Interoperable Naming" and enter the path to the ears
    mentioned in step (9). After deployment is successful, expand the
    "Jaguar" folder under Server folder. Right click on 
    "Installed Applications" folder and choose "Install Application".
    On next window choose "Install an Existing Application". 

    Repeat this step for both EARs.

    Once both ears are deployed, please restart your Jaguar server.

14. This should complete your SPECjAppServer2001 installation. Using Jagmgr
    you may need to setup your JavaCache" connection cache with appropriate
    database server connection URL and database login/password.

15. Additionally, you will need to manuall append/replace following 
    properties in property of the EAServer in which the Emulator is running.

    com.sybase.jaguar.server.maxconnections=2000
    com.sybase.jaguar.server.maxthreads=2000
    com.sybase.jaguar.server.minHeapSize=868M
    com.sybase.jaguar.server.http.maxconnections=1000
    com.sybase.jaguar.server.http.maxthreads=1000

Thanks,

Sybase EAServer Engineering
