With JDK version 1.6.0_19, and above, Glassfish admin console is not accessible with Liferay Portal.
Steps to Reproduce
- Download Liferay Portal 6.1 EE GA3 or Portal 6.2 Glassfish 3 bundle.
- Unzip.
- Run server, wait while it will be started.
- Try to access Glassfish Admin Panel.
Resolution
For Liferay Portal 6.1GA3, setting the following properties will resolve the issue:
portal.security.manager.strategy=default
portal.security.manager.strategy=none
For Liferay Portal 6.2.x, the following should resolve the issue:
- Edit glassfish-3.1.2.2\domains\domain1\config\server.policy and DELETE default content:
grant { permission java.security.AllPermission; };
- Start Glassfish and go to admin console:http://localhost:4848/.>The console should now appear.
For more information about security management in Glassfish and the potential side effects of java.security.AllPermission you can search for information on the Oracle Blog.
Additional Information
See LPS-43871 for more information.