Attachment contains script is used by me - please note - this script started both - JavaDB & Glassfish Itself. Also, since asadmin required passwords to perform any actions, admin password were stored in "password" file and passed into asadmin during starting and stopping server.
Password file should contains line like:
AS_ADMIN_PASSWORD=xxx
Attachment contains script is used by me - please note - this script started both - JavaDB & Glassfish Itself. Also, since asadmin required passwords to perform any actions, admin password were stored in "password" file and passed into asadmin during starting and stopping server.
Password file should contains line like: PASSWORD= xxx
AS_ADMIN_
where xxx is your glassfish admin password