background image

Sun GlassFish Enterprise Server
v3 Installation Guide

Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054
U.S.A.

Part No: 820–7690–11
December 2009

Summary of Contents for GlassFish 3

Page 1: ...Sun GlassFish Enterprise Server v3 Installation Guide Sun Microsystems Inc 4150 Network Circle Santa Clara CA 95054 U S A Part No 820 7690 11 December 2009 ...

Page 2: ...a technologie incorporée dans le produit qui est décrit dans ce document En particulier et ce sans limitation ces droits de propriété intellectuelle peuvent inclure un ou plusieurs brevets américains ou des applications de brevet en attente aux Etats Unis et dans d autres pays Cette distribution peut comprendre des composants développés par des tierces personnes Certaines composants de ce produit ...

Page 3: ...ng Enterprise Server GUI Installation 14 To Install Enterprise Server Using the Self Extracting File 14 Using Enterprise Server Silent Mode Installation 18 Creating the Installation Answer File 18 Reviewing the Installation Answer File 21 Installing in Silent Mode 23 Installation Setup Options 24 2 Uninstalling Sun GlassFish Enterprise Server v3 25 Removing an Enterprise Server Installation 25 To ...

Page 4: ...4 ...

Page 5: ...e to the development of the Enterprise Server The GlassFish project is designed to encourage communication between Sun engineers and the community The following topics are addressed here Enterprise Server Documentation Set on page 5 Related Documentation on page 7 Typographic Conventions on page 8 Symbol Conventions on page 8 Default Paths and File Names on page 9 Documentation Support and Trainin...

Page 6: ...ing Java EE programmers that explains the entire process for developing a simple enterprise application The sample application is a web application that consists of a component that is based on the Enterprise JavaBeansTM specification a JAX RS web service and a JavaServerTM Faces component for the web front end Application Development Guide Explains how to create and implement Java Platform Enterp...

Page 7: ...rtualization Support in Sun Java System Products Summarizes Sun support for Sun Java System products when used in conjunction with system virtualization products and features Related Documentation The Java EE 6 Tutorial Volume II https www sun com offers details java_ee6_tutorial xml contains all the topics in Java EE 6 Tutorial Volume I and adds advanced topics additional technologies and case st...

Page 8: ...nscreen computer output machine_name su Password AaBbCc123 A placeholder to be replaced with a real name or value The command to remove a file is rm filename AaBbCc123 Book titles new terms and terms to be emphasized note that some emphasized items appear bold online Read Chapter 6 in the User s Guide A cache is a copy that is stored locally Do not save the file Symbol Conventions The following ta...

Page 9: ...install Represents the base installation directory for Enterprise Server In configuration files as install is represented as follows com sun aas installRoot Installations on the SolarisTM operating system Linux operating system and Mac operating system user s home directory glassfishv3 glassfish Windows all installations SystemDrive glassfishv3 glassfish as install parent Represents the parent of ...

Page 10: ...e Sun is not responsible for the availability of third party web sites mentioned in this document Sun does not endorse and is not responsible or liable for any content advertising products or other materials that are available on or through such sites or resources Sun will not be responsible or liable for any actual or alleged damage or loss caused or alleged to be caused by or in connection with ...

Page 11: ...Enterprise Server v3 Release Notes Problems are likely to arise if you attempt to install on a platform that is not supported or on a system that in some other way does not meet release requirements Also see Known Issues in Sun GlassFish Enterprise Server v3 Release Notes for known issues related to installation Enterprise Server v3 requires JDKTM release 6 The minimum and certified version of the...

Page 12: ...g Enterprise Server GUI Installation on page 14 Enterprise Server v3 is also part of the Java EE 6 SDK distributions The SDK distributions are available from the Java EE downloads page http java sun com javaee downloads index jsp and are not described in this document Note After downloading the installation file set JAVA_HOME and JAVA_HOME bin in the PATH to point to the supported JDK version Usin...

Page 13: ...e GlassFish Community site glassfish v3 web zip Web Profile distribution from the GlassFish Community site Change to the directory where you downloaded the ZIP file Unzip the file Solaris Linux and Mac OS X systems unzip zip file name zip file name is the name of the file that you downloaded For example unzip sges v3 unix zip Windows systems Unzip using your favorite file compression utility Enter...

Page 14: ... http www sun com software products appsrvr GlassFish Community site http download java net glassfish v3 release Download the self extracting installer file Two distributions are available Full Platform Profile and Web Profile For more information about each profile see Support for Java EE Profiles in Sun GlassFish Enterprise Server v3 Release Notes Download files are as follows Solaris Linux and ...

Page 15: ...e command prompt type self extracting file name For example start the installer by typing the following sges v3 unix sh Windows systems a Double click the executable exe installation file For example double click sges v3 windows exe On Windows you can also start the installer by typing the file name at the command prompt Note Additional setup options are available See Installation Setup Options on...

Page 16: ...ise Server v3 installation Update Tool can be installed during Enterprise Server installation or at a later time For more information about Update Tool see Update Tool in Sun GlassFish Enterprise Server v3 Administration Guide If you are not installing Update Tool deselect the Install Update Tool check box If you are installing Update Tool and your system accesses the Internet through a proxy spec...

Page 17: ...rovide your user name and password Your user name is the email address that you specified when you created the account If you do not want to register Enterprise Server at the time of installation select Skip Registration and click Next You can register later through the Enterprise Server Administration Console Review the summary page that displays after registration and click Exit to exit the inst...

Page 18: ...en used to install Enterprise Server You can use the answer file as it is or you can modify the file before using it To Create the Installation Answer File The installation wizard is used to create the answer file Actual installation does not take place Ensure that your system meets the requirements listed in Hardware and Software Requirements in Sun GlassFish Enterprise Server v3 Release Notes Al...

Page 19: ... site Start the installation in trial mode a Change to the directory where you downloaded the self extracting file b On Solaris Linux and Mac OS X systems grant execute permissions to the self extracting file if necessary chmod x self extracting file name c From the command line type self extracting file name n answer file self extracting file name is the name of the file that you downloaded in St...

Page 20: ...Server v3 installation Update Tool can be installed during Enterprise Server installation or at a later time For more information about Update Tool see Update Tool in Sun GlassFish Enterprise Server v3 Administration Guide If you are not installing Update Tool deselect the Install Update Tool check box If you are installing Update Tool and your system accesses the Internet through a proxy specify ...

Page 21: ...openInstaller engine using the a option Tue Nov 10 19 25 05 PST 2009 RegistrationOptions regoptions CREATE_NEWACCT CREATE_NEWACCT glassfish Administration HTTP_PORT 8080 updatetool Configuration PROXY_PORT glassfish Administration ADMIN_PASSWORD JDKSelection directory JDK_FROM_LIST_CHOICE true RegistrationOptions regoptions SKIP_REGISTRATION SKIP_REGISTRATION updatetool Configuration PROXY_HOST SO...

Page 22: ...ory name for Enterprise Server v3 installation files glassfish Administration ADMIN_PASSWORD Provide a password for access to the Administration Console This password is case sensitive glassfish Administration ADMIN_PORT 4848 Assign another port number to the Administration Console glassfish Administration ADMIN_USER admin Provide another user name for the administrator This name is case sensitive...

Page 23: ...the Installation Answer File on page 18 Verify that the parameters in the answer file are set to the values that you want to use for silent installation Navigate to the directory that contains the self extracting installer file and the installation answer file From the command line type self extracting file name a answer file s self extracting file name is the name of the file that you downloaded ...

Page 24: ...mand prompt For example sges v3 unix sh a v3 answer l log directory s The options are as follows a answer file Run the installation program in silent mode using the answer file specified Use this option with the s option l log directory Write log information to this directory q Set logging level to WARNING v Set logging level to FINEST s Run the installation program in silent mode j javahome Use t...

Page 25: ...or when you install a new version Note To uninstall a ZIP installation manually remove the contents of the installation directory after making sure that there are no files that you want to keep To Uninstall Enterprise Server Software Stop all domains and other related processes including command prompts using the installation directory or its subdirectories the Update Tool notifier process if pres...

Page 26: ...rant execute permissions to the uninstall file chmod x uninstall sh b At the command prompt type uninstall sh Windows systems a Double click the uninstall exe file On Windows you can also start the uninstaller by typing the file name at the command prompt Note To uninstall in silent non interactive mode use the s option after the file name For example uninstall sh s or uninstall exe s Review the s...

Page 27: ...irectories are automatically removed by the uninstallation program Remove the remaining contents as desired including hidden directories prefixed with a dot It is safe to remove uninstallation and installation log files after you have examined them 4 Removing an Enterprise Server Installation Chapter 2 Uninstalling Sun GlassFish Enterprise Server v3 27 ...

Page 28: ...28 ...

Page 29: ... 27 download locations 12 E execute permissions 15 F files answer 18 installation 12 self extracting GUI 12 14 silent mode 12 18 size of 12 ZIP 12 13 Full Platform profile 13 G getting started with Enterprise Server 17 GlassFish Community downloads 12 graphical installation 14 H hardware requirements 11 I installation default directories 16 log files 17 requirements 11 types 12 installing using si...

Page 30: ... options Continued multi platform 12 Solaris 12 Windows 12 platforms supported 11 processes stopping 25 profiles Full Platform and Web 13 Q Quick Start Guide 17 R registering Enterprise Server 17 removing an installation 25 requirements 11 S self extracting file installation 14 setup options 24 silent mode uninstalling in 26 silent mode installation answer file 18 overview 18 running 23 software r...

Page 31: ... Update Tool 16 Update Tool notifier process 25 updating components 16 Upgrade Tool 16 W Web profile 13 Windows installation graphical interface and 14 multi platform file and 12 silent mode and 18 uninstalling 25 27 wizard installation 14 Z ZIP file installation 12 Index 31 ...

Page 32: ...32 ...

Reviews: