Adam Bien's Weblog

Sunday Apr 08, 2012

Enabling Remote Administration For Glassfish

GlassFish 3.1.2+ does not allow remote administration out-of-the-box. To activate remote administration you will have to set an admin password before performing the actual enabling:


asadmin change-admin-password --domain_name [DOMAIN_NAME]
asadmin enable-secure-admin --port [PORT_NAME]


NEW workshop: Microservices with Java EE 7 and Java 8, January 26th, 2015, Airport Munich

A book about rethinking Java EE Patterns

Comments:

Another thing I found (at least for version 3.1.1) is that to enable secure admin access for additional domains, one refers to the port number the domain is using for admin access:

http://stackoverflow.com/questions/8619063/glassfish-3-1-1-how-to-enable-secure-admin-for-different-domains

Posted by Dave on April 08, 2012 at 12:57 PM CEST #

Adam, it's Easter. Stopp working. ;)

Posted by Jens on April 08, 2012 at 02:33 PM CEST #

@Jens,

I only had to implement some Easter Eggs before Easter :-)

But: why you are reading technical blogs during Easter? :-)

adam

Posted by Adam Bien on April 09, 2012 at 01:13 PM CEST #

And, once you do that, how often do you have to provide authentication details to NetBeans once you've registered that remote instance in the ide? ie: does it ask you every time you start NetBeans, or is it storing the password for you?

Posted by Peter Belbin on April 09, 2012 at 11:28 PM CEST #

Thanks :)

Posted by Ehsun on April 01, 2014 at 06:38 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
...the last 150 posts
...the last 10 comments
License