GlassFish installation

From Oxxus Wiki

Jump to: navigation, search

Oxxus offers the following preconfigured installation packages of GlassFish application server.

  • GlassFish 2
  • GlassFish 3

We are consistently working on updating existing and providing new packages.

Contents

Installing packages

Depending on your distribution, you will either be working with yum or apt-get.

CentOS and Fedora

[root@test ~]# yum install eroute-glassfish2
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirrors.igsobe.com
 * base: mirror.umoss.org
 * extras: mirror.highspeedweb.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.steadfast.net
addons                                                   |  951 B     00:00     
base                                                     | 1.1 kB     00:00     
eroute                                                   |  951 B     00:00     
extras                                                   | 2.1 kB     00:00     
rpmforge                                                 | 1.1 kB     00:00     
updates                                                  | 1.9 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package eroute-glassfish2.i386 0:2ur2-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                    Arch          Version         Repository       Size
================================================================================
Installing:
 eroute-glassfish2          i386          2ur2-1          eroute          109 M

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 109 M
Is this ok [y/N]: y
Downloading Packages:
eroute-glassfish2-2ur2-1.i386.rpm                        | 109 MB     00:48     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : eroute-glassfish2                                        1/1 

Brought to you by: www.webhostingcustomersupport.com - Web Hosting Specialists

Your default username: admin  password:adminadmin
For more details about glassfish please go to: https://glassfish.dev.java.net/downloads/quickstart/index.html


Installed:
  eroute-glassfish2.i386 0:2ur2-1                                               

Complete!

Debian and Ubuntu

For installation on Debain and Ubuntu systems use apt-get install.

Starting and stopping GlassFish

Starting GlassFish service is easy:

service glassfish3 start

To stop the service, use either of the two commands:

service glassfish3 stop
killall -9 java

Restarting the service can be achieved by combining the above commands or using:

service glassfish3 restart

Changing GlassFish version

At any point, you can change or reinstall GlassFish. Before changing or reinstalling, first stop the running service:

service glassfish3 stop

Remove the current installation, but make sure to backup any files you may want to keep.

yum remove eroute-glassfish3

In case of Ubuntu or Debian system you will use apt-get remove instead.

After existing installation has been removed you can proceed with reinstall or setting up a different version.

Contact About Us Support Network Servers Java Hosting Oxxus.net Order Now! Dedicated Servers VPS Hosting Tomcat Hosting Java Hosting Money Back Guarantee Privacy Policy Oxxus.net Terms of 
Service Contact About Us Servers Networks Support Domain Names SSL Certificates Java Wiki Tutorials E-learning 
Platforms