Glassfish 3 Server Quick Getting Started on Linux Mint Distro Easy Visual-Guide

September 10, 2012 | By Regaz.

The Guide Presents a Step-by-Step Quick Start Glassfish3 Java JEE6 Application Server on Linux Mint Distro.

To Make the Entire Easy to Understand and Visualize the Posts Includes the Basic Screenshots of All GUI Steps involved.

The Contents and Details of Guides are Essentials and Give Focus only to Instructions and Commands.

Glassfish and Linux Penguin
  1. Installing Glassfish 3.X JEE6 Server.

    How-Install Glassfish 3 on Mint
  • Open a Terminal Window
    (Press “Enter” to Execute Commands)

  • Start Glassfish 3 Server

    asadmin start-domain domain1

    If you Changed the Default Domain Name then Adapt Consequently the Command…

    If Do Not Find asadmin:

    Try to Locate the asadmin Utility.

    which asadmin

    If No Result then:

    1. Search for asadmin with Locate Command
      locate asadmin

      How to Easy Find/Search Files/Directories/Images on Linux.

      Linux How to Use locate Command
    2. Modify System Variables and Path:
      nano ~/.bashrc


      export GLASSFISH3_HOME=glassfish3
      export PATH=$GLASSFISH3_HOME/bin:$PATH

      Load System Set-Up:

  • Download the HelloWorld.war Example File.

    Java HelloWorld.war Example

    Link to the .war Example for Glassfish Quick Start Tutorial.

  • Deploying HelloWorld.war on Glassfish3

    sudo asadmin deploy /hello.war
  • View HelloWorld.war

    On Browser Go To URL:


    Make Correction If you Changed the Default Glassfish Port.

  • Tags: , , , , , , , , , ,