We\'ve never tryed with glassfish.
It could be possible to run on other application server, but you\'ll need to do some changes, major depencies on OpenKM are tomcat, seems not problem at glassfish, problems sure it\'ll be :
1- Authentication ( jaas based )
2- xml descriptor ( jboss-web.xml )
3- other problem could be webservices ( we\'ve got java 1.5 annotations for it and I don\'t know about glassflish compliance ? )
I don\'t suggest you working on that direction, althought I think it could be possible to run on a glassfish, I\'m not sure the problems we\'ll found.
More important question, you might not use OpenKM on the same server with other aplication, I don\'t recomend, althought could run well with other applications, is good practice for any DMS to set on a dedicated server to OpenKM.
Really some question we\'ve got on mind is to be dependant only with tomcat ( remove EJB definitivally, really we\'re not using ), we\'ve got on discussion during last year.
-------------------------------------------------
OpenKM Team ( be open my friend )
http://www.openkm.com