Glassfish, Ubuntu

Installing Glassfish 3.1 on Ubuntu

Download Glassfish

Get Glassfish from here. Download the file glassfish-3.1.2.zip.

 

Install JDK

sudo apt-get install openjdk-7-jdk

 

Unzip Archive

unzip /home/username/Downloads/glassfish-3.1.2.zip

 

Start Server

Change directory to bin folder and execute the following command:

./asadmin start-domain

The command starts the default domain, domain1.

 

Start the Java DB Server

./asadmin start-database --dbhome ../javadb

 

Open Administration panel

Open a browser and visit the url:

http://localhost:4848/

Don’t forget to change the password.