Glassfish_V3

Glassfish V3.0.1 on 24.09.2010

Glassfish V3, 06.01.2010#

Docuhttp://docs.sun.com/app/docs/coll/1343.9
Sun Downloadhttp://developers.sun.com/downloads/
Community Downloadhttps://glassfish.dev.java.net/downloads/v3-final.html

Note: Put mySql connector jars under %J2EE_HOME%\domains\domain1\lib\ext\, see here

glassfish-v3-unix.sh -n answer.txt
glassfish-v3-unix.sh -s -a answer.txt

Answer file example:

#Antwortdatei für openInstaller-Testlauf.  Diese Datei kann mit der Option "-a" als Eingabe für das openInstaller-Modul verwendet werden.
#Wed Jan 06 21:31:51 CET 2010
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=false
RegistrationOptions.regoptions.SKIP_REGISTRATION=SKIP_REGISTRATION
updatetool.Configuration.PROXY_HOST=
SOAccountCreation.accountinfo.COUNTRY=
InstallHome.directory.INSTALL_HOME=/markus/glassfishv3
RegistrationOptions.regoptions.USE_EXISTINGACCT=USE_EXISTINGACCT
SOAccountCreation.accountinfo.FIRSTNAME=
updatetool.Configuration.ALLOW_UPDATE_CHECK=false
glassfish.Administration.ADMIN_USER=admin
JDKSelection.directory.JDK_LIST=/usr/lib/jvm/java-6-openjdk
SOAccountCreation.accountinfo.PASSWORD=
SOAccountCreation.accountinfo.COMPANYNAME=
JDKSelection.directory.HIDDEN_JDK=
SOAccountCreation.accountinfo.COUNTRY_DROP_DOWN=
SOAccountCreation.accountinfo.REENTERPASSWORD=
License.license.ACCEPT_LICENSE=1
RegistrationOptions.regoptions.USERNAME=
updatetool.Configuration.BOOTSTRAP_UPDATETOOL=false
SOAccountCreation.accountinfo.LASTNAME=
glassfish.Administration.ADMIN_PORT=4848
RegistrationOptions.regoptions.USERPASSWORD=
JDKSelection.directory.JDK_TYPED_IN_CHOICE=true
SOAccountCreation.accountinfo.EMAIL=
JDKSelection.directory.JDK_TYPE_IN=/usr/lib/jvm/java-6-openjdk
RegistrationOptions.regoptions.DUMMY_PROP=

Memory consumption#

The installation requirements say, that you need at least 500 MB RAM, recommended 1 GB, but I didn't manage to make Glassfish V3 use less than around 1,1 GB. I did

So I gave up and stay with Tomcat, just add the JPA libs there to use ORM. The problem is, that my rented virtual server garantees only 700MB memory. An installtion with 500-600MB for Glassfish V3 would be great, but maybe I find someday a solution ...
Please give comments here if you know!