OpenAM 10.0.0 supports GlassFish v2 as a container.
Before You Deploy
- Install GlassFish v2. I found a file called glassfish-installer-v2-b58g.jar on the download site, and installed it on Linux.
- Start GlassFish and login to the admin console (default port: 4848).
- Under Application Server > JVM Settings > JVM Options, adjust at least the heap and permanent generation sizes, and use the server option. The following list shows changes for evaluation:
- Restart GlassFish for your changes to take effect.
- OpenAM needs an FQDN at configuration time.
To get started quickly, fake an FQDN on your laptop or desktop by giving the system an alias such as
desktop.example.com. If you have never done so before, it’s not too hard. See the Wikipedia entry on the
- Login to the GlassFish admin console.
- Under Common Tasks > Deployment, select Deploy Web Application (.war).
- Deploy the OpenAM .war. (I usually rename this one to openam.war.)
- Launch OpenAM after deployment, and configure OpenAM.