Magnolia on Glassfish

By default magnolia-cms is working on Tomcat, but it is easy to run it on Glassfish v2.

You only need to deploy magnolia in glassfish and after that add default JAAS login configuration into login.conf, which is place in conf directory of your domain:

Also check that “Default Principal To Role Mapping” flag is not checked for your domain (you’ll find it on Configuration -> Security page of glassfish Admin Console).