Diese Seite (Version-1) wurde zuletzt am 28-März-2017 14:37 von UnbekannterAutor geändert.

Du bist nicht autorisiert, diese Seite umzubenennen.

Du bist nicht autorisiert, diese Seite zu löschen.

Versionsgeschichte der Seite

Version Zuletzt geändert Größe Autor Änderungen Kommentar

Links

Eingehende Links Ausgehende Links

Versionsunterschiede

Unterschiede zwischen Version und .

Zeile 1: 77 Zeilen hinzugefügt.
[{ALLOW view All}]
[{ALLOW edit Markus}]
[Glassfish V3.0.1 on 24.09.2010|Glassfish301]
!Glassfish V3, 06.01.2010
|Docu|[http://docs.sun.com/app/docs/coll/1343.9]
|Sun Download|[http://developers.sun.com/downloads/]
|Community Download|[https://glassfish.dev.java.net/downloads/v3-final.html]|
Note: Put mySql connector jars under %J2EE_HOME%\domains\domain1\lib\ext\,
see [here|http://www.innoq.com/blog/gs/2007/10/howto_get_jsasglassfish_with_m.html]
* You can use the Zip Packages or the [Installer|http://docs.sun.com/app/docs/doc/820-7690/ghufl?a=view] like this without GUI:
** Create Installation simulation, which creates an answer file
{{{
glassfish-v3-unix.sh -n answer.txt
}}}
** Run hidden installation
{{{
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
** reduce JVM heap to 64MB (with less Glassfish V3 did not start)
** reduced JVM PermSize to 64MB
** tried to analyse the JVM with [jvmstat|http://java.sun.com/performance/jvmstat/]
** tried to delete most jar files under glassfish\modules, even with cleaning the following folders between restarts
*** ../glassfish/domains/domain1/osgi-cache
*** ../glassfish/domains/domain1/generated
** tried ZIP packages
** tried Installler packages
** tried "WEB" bundle (both ZIP + Installer)
** make settings in domain.xml or with asadmin or with gui frontend (port 4848)
** list all asadmin [commands|http://fisheye5.cenqua.com/browse/~raw,r=1.4/glassfish/www/v3/admin/planning/j109/list-of-commands.html] with "list-commands"
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!