HOWTO: Install Sun Java System Application Server PE 8.2
(TEST Environment)




StrongKey makes the assumption that the J2EE Application Server is installed in the /usr/local/sjsas82 directory. You can, however choose to install it in another location. Whichever location you choose, this documentation will also refer to it as $APPSRV_HOME.

Make sure that JAVA_HOME is in your environment, pointing to the location of the JDK. If it is not, then you need to specify the -javahome parameter with the path to the JDK directory.




1)

Download the free Sun Java System Application Server Platform Edition 8.2 from Sun's website, into a temporary location.

2)

Install the Sun Application Server by executing the downloaded file using the following:



./sjsas_pe-8_2-linux.bin

or

./sjsas_pe-8_2-linux.bin -javahome /usr/local/jdk1.5.0_07



If the file is not executable, change its mode using:



chmod 755 sjsas_pe-8_2-linux.bin



This will bring up a graphical installation tool.

3)

Type in /usr/local/sjsas82 for the SJSAS82 installation directory.

4)

Type in the name of the directory where your previously installed JDK5 (J2SE5) is located. (It would be /usr/local/jdk1.5.0_07 if you used our suggestion).

5)

Type in an appropriate password for the admin user (this is your first administrator of the Application Server)

6)

Select Prompt for username for the admin security setting

7)

Use the following (default) port numbers for the server:


Admin Port: 4848
HTTP Port: 8080
HTTPS Port: 1043

8)

If you wish to register your use of the Application Server with Sun Microsystems, you may do so.

9)

After exiting from the install tool, start the Application Server using:



/usr/local/sjsas82/bin/asadmin start-domain domain1

10)

Startup a browser window, and type in http://localhost:4848 in the browser's address bar.



You will see a login screen for the Application Server.

11)

Type in the user ID and the password you chose for the Admin User during the installation of the Application Server in step 5.



If your ID and password were correct, you will see the Application Server's administrative interface.

12

At this point, you have successfully installed the Application Server.