GlassFish¶
Startup¶
Glassfish must be started with local user glassfish
both on bibdev
and bibweb
servers.
bibdev
ssh glassfish@bibdev /usr/local/glassfish/startGlassFish.sh
bibweb
ssh glassfish@bibweb /usr/local/glassfish/startGlassFish.sh
Memory issue with v3¶
We obviously have Classloader leaks in our apps. Some link to try to fix it :
- http://stackoverflow.com/questions/7683434/permgen-space-error-glassfish-server
- http://stackoverflow.com/questions/5509378/permgen-space-issue-with-glassfish-hibernate
blank screen in Web Admin Console after update (> v3)¶
command performed to restore Web Admin Console :
[glassfish@bibdev ~]$ ./startGlassFish.sh Waiting for domain1 to start ................................ Successfully started the domain : domain1 domain Location: /usr/local/glassfish/glassfishv3/glassfish/domains/domain1 Log File: /usr/local/glassfish/glassfishv3/glassfish/domains/domain1/logs/server.log Admin Port: 5848 Command start-domain executed successfully. [glassfish@bibdev ~]$ glassfishv3/bin/asadmin -p 5848 --user admin --passwordfile glassfishv3/glassfish/domains/domain1/config/admin-keyfile --secure=false Use "exit" to exit and "help" for online help. asadmin> enable-secure-admin You must restart all running servers for the change in secure admin to take effect. Command enable-secure-admin executed successfully. asadmin> Command multimode executed successfully. [glassfish@bibdev ~]$ ./stopGlassFish.sh Waiting for the domain to stop ..... Command stop-domain executed successfully. [glassfish@bibdev ~]$ ./startGlassFish.sh