$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Glassfish 3 App Server Quick Getting Started on Linux Ubuntu

September 10, 2012 | By Duchateaux.

The Guide Presents a Step-by-Step Glassfish 3 Application Server Quick Start for Ubuntu Distro.

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

The content of the Guides give Focus only to the Essentials Instructions and Commands for an easier understanding. ;)

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

    How-Install Glassfish 3 on Ubuntu
  2. Open a Terminal Window
    (Press “Enter” to Execute Commands)

  3. Start Glassfish 3 Server

    asadmin start-domain domain1

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

    Glassfish Start-Server Little Troubleshooting:

    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 Howto Locate Command
    2. Modify System Variables and Path:
      nano ~/.bashrc

      Insert:

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

      Load System Set-Up:

      bash
  4. Download the HelloWorld.war Example File.

    Java HelloWorld.war Example

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

  5. Deploy HelloWorld.war

    sudo asadmin deploy /hello.war

  6. View HelloWorld.war

    On Browser Go To URL:

    http://localhost:8080/hello

    Make Correction If you Changed the Default Glassfish Port.