Legacy Knowledge Base
Published Jul. 2, 2025

Glassfish Admin Console Is Not Accessible

Written By

Liferay Support

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How to articles!

While we make every effort to ensure this Knowledge Base is accurate,it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

With JDK version 1.6.0_19, and above, Glassfish admin console is not accessible with Liferay Portal.

Steps to Reproduce

  1. Download Liferay Portal 6.1 EE GA3 or Portal 6.2 Glassfish 3 bundle.
  2. Unzip.
  3. Run server, wait while it will be started.
  4. 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:

  1. Edit glassfish-3.1.2.2\domains\domain1\config\server.policy and DELETE default content: grant { permission java.security.AllPermission; };
  2. 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.

Did this article resolve your issue ?

Legacy Knowledge Base