Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 224 lines (156 sloc) 7.998 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224
======================================================
Apache Geronimo v2.1 (February 7, 2008)

http://geronimo.apache.org/
------------------------------------------------------


______________________
Release Notes
======================

 Please read the RELEASE_NOTES-2.1.txt for a complete list of new features
 available in this release.
 
  
______________________
Documentation
======================
 
 This README serves as quick introduction to Geronimo. More complete documentation
 can be found here:
 
   - http://cwiki.apache.org/GMOxDOC21/documentation.html


______________________
Installing Geronimo
======================

 To install Geronimo, simply unpack the .zip (Windows) or tar.gz (Unix) file containing
 Geronimo.

 Note for Windows platforms:
 The maximum path length for a directory path is 255 characters. Installing
 Geronimo into a long directory path may cause the installation or server start up to fail.
 It is recommended that you use a short directory name, such as "c:\g\".


______________________
Starting Geronimo
======================

 There are three general techniques for starting Geronimo (assuming the current directory
 is <geronimo_home>):

 1. GShell -- "./bin/gsh geronimo/start-server"
 2. Script -- "./bin/geronimo.sh run" (Must first set the JRE_HOME or JAVA_HOME environment variable)
 3. Java -- "java -Djava.endorsed.dirs=lib/endorsed -javaagent:bin/jpa.jar -jar bin/server.jar"


Additional information on command environments can be found below.


______________________
Application Deployment
======================

 Applications can be deployed to a Geronimo server in several ways:

 1. Administrative commands -- "./bin/gsh deploy/deploy MyApp.war MyDeploymentPlan.xml"
 2. Admin console -- login to the admin console and click "Deploy New" under Applications
 3. Hot deploy -- copy your archive(s) into the "<geronimo-home>/deploy" directory. The
    hot deploy service will automatically deploy these artifacts.
 4. maven -- applications can be installed as part of a maven build

 When you deploy an application using an administrative command, you will need
 to supply an administrator's username/password. If you do not specify the username
 and password, you will be prompted for them.


______________________
Configuration
======================

 Commonly modified configuration parameters, such as port numbers, can be set by
 editing the file:

 <geronimo_home>/var/config/config-substitutions.properties
 
 Additional configuration attributes can be updated in the file:

 <geronimo_home>/var/config/config.xml

 Once the server has started, you can access the Geronimo Administration Console
 at http://localhost:8080/console/ . The default user name is "system" and the
 default password is "manager".

 
______________________
Security Configuration
======================

 The default administration user/password for the Geronimo Administration Console
 and command line deployment tool is system/manager. You can change these defaults
 directly from the Geronimo Administration Console by accessing Security -> Console
 Realm and change the user name and password from the Console Realm Users portlet.

 As an alternative, you can make the same changes by editing the
 <geronimo_home>/var/security/users.properties and
 <geronimo_home>/var/security/groups.properties files.

 Access to the var/security directory should be appropriately secured on systems where
 you install Geronimo.

 Passwords in users.properties are encrypted by the server. Passwords can be changed
 using the Geronimo Administration Console. They can also be changed using a text
 editor. While the server is stopped, simply edit the users.properties file. The
 password(s) will be encrypted the next time the server is started.

 To prevent potential security exposures, we strongly recommend you update the
 default user names and passwords on your system.


______________________
GShell
======================

 Geronimo provides a command shell environment for executing commands, called GShell.

 To start a GShell environment, from the <geronimo_home> directory, execute "./bin/gsh" (unix)
 or "bin\gsh" windows. This will start a GShell command environment. From here,
 you can execute Geronimo administrative commands as well as general GShell commands.
 Alternatively, you can invoke a GShell command at the same time that you invoke gsh, for
 example:
  
   ./bin/gsh geronimo/stop-server

 A list of common gsh commands are:

   help
   geronimo/start-server
   geronimo/stop-server
   deploy/deploy
   deploy/undeploy
   deploy/list-modules
   deploy/install-plugin
   deploy/assemble

 Usage information for any command can be obtained by using the --help option. For example:

   geronimo/start-server --help

 For more information on GShell and GShell commands, see the Geronimo 2.1 documentation.

______________________
Script
======================

 Geronimo provides a number of .sh or .bat scripts that can be used to administer Geronimo
 servers. To use most of these scripts, you must first set either the JAVA_HOME
 or JRE_HOME environment variable:

   export JAVA_HOME=<path-to-JDK>
  or
   export JRE_HOME=<path-to-JRE>

 Unix scripts provided by Geronimo (there are .bat equivalents):

   geronimo.sh -- used to start and stop servers; either as a foreground or background process.
   startup.sh -- start a Geronimo server running as a background process
   shutdown.sh -- stop a running Geronimo server
   deploy.sh -- deploy, list, and undeploy plugins and applications
   jaxws-tools.sh -- used to generate wsdl from java code or java code from wsdl

 For example, "./bin/deploy.sh list-modules"

 The geronimo.sh and shutdown.sh scripts have multiple sub-commands. Executing the scripts without
 any arguments will generate usage information. Executing "help <sub-command>" will generate
 usage information for that particular command.


______________________
Support
======================
 
 Any problems with this release can be reported to the Geronimo user mailing list
 or Jira issue tracker.

 Mailing list archive:
 http://mail-archives.apache.org/mod_mbox/geronimo-user/

 User mailing list:
 user@geronimo.apache.org

 User mailing list subscription:
 user-subscribe@geronimo.apache.org

 Jira:
 https://issues.apache.org/jira/browse/GERONIMO


 _______________________________________
 Notice Regarding Cryptographic Software
 =======================================
 This distribution includes cryptographic software. The country in
 which you currently reside may have restrictions on the import,
 possession, use, and/or re-export to another country, of
 encryption software. BEFORE using any encryption software, please
 check your country's laws, regulations and policies concerning the
 import, possession, or use, and re-export of encryption software, to
 see if this is permitted. See <http://www.wassenaar.org/> for more
 information.

 The U.S. Government Department of Commerce, Bureau of Industry and
 Security (BIS), has classified this software as Export Commodity
 Control Number (ECCN) 5D002.C.1, which includes information security
 software using or performing cryptographic functions with asymmetric
 algorithms. The form and manner of this Apache Software Foundation
 distribution makes it eligible for export under the License Exception
 ENC Technology Software Unrestricted (TSU) exception (see the BIS
 Export Administration Regulations, Section 740.13) for both object
 code and source code.

 The following provides more details on the included cryptographic
 software:
   
   Software related to cryptographic functionality is located in
   an artifcact referred to as geronimo-util. The source code for
   this functionality can be reviewed at:
   
   http://svn.apache.org/repos/asf/geronimo/server/
   
   The URL above is a reference to the Apache Geronimo Server source
   tree for all development (and released) source trees.
Something went wrong with that request. Please try again.