Glassfish 2.1 and MySQL 5.1 AMI on OpenSolaris 2008.11
By Prateek Parekh on Apr 24, 2009
Announcing availability of new GlassFish AMIs based on OpenSolaris 2008.11 AMI.
OpenSolaris + GlassFish + MySQL
32-bit AMI: ami-a87b9cc1 aki-6552b60c ari-6452b60d
This 32bit AMI is based on OpenSolaris 2008.11 AMI and MySQL AMI. It contains Glassfish 2.1 binaries with MySQL Connector/J 5.1. Glassfish 2.1 is deployed from JAR distribution in Developer profile. By default Glassfish 2.1 administartion required SSL mode, is enables only from CLI and localhost. Users should check /export/home/gf21 README files for post configurations (securing) directions. An existing user 'gf21' is authorized to manage the Glassfish 2.1 server.
Note: Default Glasfish admin user password can be obtained from /root/ec2sun/README file
You need to reset default admin password by following procedure in /export/home/gf21 README files
It is highly recommended to secure your Glassfish 2.1 server by following the guidelines mentioned within Glassfish 2.1 server documentation - :
Sun GlassFish Enterprise Server 2.1 Administration Guide >> Chapter 9 Configuring Security
Administering Glassfish 2.1
Glassfish 2.1 installation is located under /opt/gf21 directory and is managed by gf21 user with home at /export/home/gf21
NOTE: You need to be user gf21 when administering Glassfish
Start Service svcadm enable glassfish/domain1
Stop Service svcadm disable glassfish/domain1
Check status svcs glassfish/domain1
su - mysql;
svcadm enable mysql
For more information and details on this AMI please refer /export/home/gf21/glassfish.README, /export/home/mysql/mysql.README and Rudolf's Blog. As always, please feel free to contact us at ec2-solaris-support [at] sun [dot] com.