background image

Copyright 2009 Sun Microsystems, Inc.

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

All rights reserved.

Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without
limitation, these intellectual property rights may include one or more U.S. patents or pending patent applications in the U.S. and in other countries.

U.S. Government Rights – Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions
of the FAR and its supplements.

This distribution may include materials developed by third parties.

Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other
countries, exclusively licensed through X/Open Company, Ltd.

Sun, Sun Microsystems, the Sun logo, the Solaris logo, the Java Coffee Cup logo, docs.sun.com, Enterprise JavaBeans, EJB, GlassFish, J2EE, J2SE, Java Naming and
Directory Interface, JavaBeans, Javadoc, JDBC, JDK, JavaScript, JavaServer, JavaServer Pages, JMX, JRE, JSP, JVM, MySQL, NetBeans, OpenSolaris, SunSolve, Sun
GlassFish, Java, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the U.S. and other countries. All SPARC
trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing
SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.

The OPEN LOOK and Sun

TM

Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts

of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun holds a non-exclusive license from Xerox to
the Xerox Graphical User Interface, which license also covers Sun's licensees who implement OPEN LOOK GUIs and otherwise comply with Sun's written license
agreements.

Products covered by and information contained in this publication are controlled by U.S. Export Control laws and may be subject to the export or import laws in
other countries. Nuclear, missile, chemical or biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export
or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially
designated nationals lists is strictly prohibited.

DOCUMENTATION IS PROVIDED “AS IS” AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO
THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Copyright 2009 Sun Microsystems, Inc.

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

Tous droits réservés.

Sun Microsystems, Inc. détient les droits de propriété intellectuelle relatifs à la 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 peuvent être dérivées du logiciel Berkeley BSD, licenciés par l'Université de Californie. UNIX est une marque déposée aux
Etats-Unis et dans d'autres pays; elle est licenciée exclusivement par X/Open Company, Ltd.

Sun, Sun Microsystems, le logo Sun, le logo Solaris, le logo Java Coffee Cup, docs.sun.com, Enterprise JavaBeans, EJB, GlassFish, J2EE, J2SE, Java Naming and
Directory Interface, JavaBeans, Javadoc, JDBC, JDK, JavaScript, JavaServer, JavaServer Pages, JMX, JRE, JSP, JVM, MySQL, NetBeans, OpenSolaris, SunSolve, Sun
GlassFish, Java et Solaris sont des marques de fabrique ou des marques déposées de Sun Microsystems, Inc., ou ses filiales, aux Etats-Unis et dans d'autres pays.
Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc. aux Etats-Unis et dans
d'autres pays. Les produits portant les marques SPARC sont basés sur une architecture développée par Sun Microsystems, Inc.

L'interface d'utilisation graphique OPEN LOOK et Sun a été développée par Sun Microsystems, Inc. pour ses utilisateurs et licenciés. Sun reconnaît les efforts de
pionniers de Xerox pour la recherche et le développement du concept des interfaces d'utilisation visuelle ou graphique pour l'industrie de l'informatique. Sun détient
une licence non exclusive de Xerox sur l'interface d'utilisation graphique Xerox, cette licence couvrant également les licenciés de Sun qui mettent en place l'interface
d'utilisation graphique OPEN LOOK et qui, en outre, se conforment aux licences écrites de Sun.

Les produits qui font l'objet de cette publication et les informations qu'il contient sont régis par la legislation américaine en matière de contrôle des exportations et
peuvent être soumis au droit d'autres pays dans le domaine des exportations et importations. Les utilisations finales, ou utilisateurs finaux, pour des armes nucléaires,
des missiles, des armes chimiques ou biologiques ou pour le nucléaire maritime, directement ou indirectement, sont strictement interdites. Les exportations ou
réexportations vers des pays sous embargo des Etats-Unis, ou vers des entités figurant sur les listes d'exclusion d'exportation américaines, y compris, mais de manière
non exclusive, la liste de personnes qui font objet d'un ordre de ne pas participer, d'une façon directe ou indirecte, aux exportations des produits ou des services qui
sont régis par la legislation américaine en matière de contrôle des exportations et la liste de ressortissants spécifiquement designés, sont rigoureusement interdites.

LA DOCUMENTATION EST FOURNIE

"

EN L'ETAT

"

ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES OU TACITES

SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT TOUTE GARANTIE
IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.

091224@23031

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: